./graphics/ruby-mini-magick, Ruby wrapper for ImageMagick command line

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.11.0, Package name: ruby27-mini-magick-4.11.0, Maintainer: pkgsrc-users

MiniMagick gives you access to all the command-line options ImageMagick
has (found at http://www.imagemagick.org/script/mogrify.php). Using
MiniMagick as an alternative to RMagick allows the Ruby processes memory
to remain small because it spawns ImageMagick's mogrify program, which
has much lower memory usage than RMagick.


Required to run:
[graphics/ImageMagick] [lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

RMD160: 00d3a356c6a1fa5f00ec5bab45cf470a2bd0cbfb
Filesize: 18.5 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-07 16:13:27 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Remove SHA1 hashes for distfiles
   2021-01-11 14:49:37 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
graphics/ruby-mini-magick: update to 4.11.0

4.11.0 (2020-11-06)

* Fix fetching metadata when there are GhostScript warnings (#522)
* Fixed some method redefined warnings (#505)
* Added MiniMagick::Image.get_image_from_pixels (#516)
* extend MiniMagick::Tool#stack to support arguments so that it can be
  used with Active Storage
   2020-03-08 17:00:38 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
graphics/ruby-mini-magick: update to 4.10.1

Update ruby-mini-magick to 4.10.1.

4.10.1 (2020-01-06)

* Still pick up ImageMagick over GraphicsMagick if both are installed

4.10.0 (2020-01-06)

* Prioritize discovery of ImageMagick 7 over 6 if both are installed (@drnic)
* Add MiniMagick::Image#landscape? and #portrait? methods for checking
  orientiation (@theomarkkuspaul)
* Fix Ruby 2.7 warnings (@kamipo)

4.9.5 (2019-07-18)

* Fixed MiniMagick::Image.open not working with non-ASCII filenames anymore
  after previous version (thanks to @meganemura)

4.9.4 (2019-07-11)

* Fixed a remote shell execution vulnerability when using
  MiniMagick::Image.open with URL coming from unsanitized user input (thanks
  to @rootxharsh)
* Fixed some Ruby warnings (thanks to @koic)

4.9.3 (2019-04-08)

* make MiniMagick::Tool not respond to everything
   2018-09-23 17:28:23 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
graphics/ruby-mini-magick: update to 4.9.2

4.9.2 (2018-09-21)

* Fix breakage for MRI 2.3 and below

4.9.1 (2018-09-21)

* Properly handle EXIF parsing with ImageMagick 7
* Show an informative exception message on Timeout::Error
* Wait for the MiniMagick command to terminate after sending SIGTERM with
  open3

4.9.0 (2018-09-210

New features

* Support ImageMagick 7

  o MiniMagick::Tool::Convert will now generate magick convert commands (and
    the same for others)

  o MiniMagick::Tool::Magick was added for generating magick commands

* MiniMagick.cli_prefix was added to configure a prefix for commands

  MiniMagick.cli_prefix = "firejail"

  MiniMagick::Tool::Magick.new { |magick| ... } # executes `firejail magick ...`

Other Improvements

* Fix deadlocks when using posix-spawn as a shell backend

* Fix Errno::ESRCH sometimes being raised when the ImageMagick command would
  time out

* #label and #caption will now generate regular options

	MiniMagick::Tool::Convert.new do |convert|
				 # BEFORE:       NOW:
	  convert.label("foo")   # label:foo    -label foo
	  convert.caption("bar") # caption:bar  -caption bar
	end

* Add pango creation operator

	MiniMagick::Tool::Magick.new do |magick|
	  magick.pango("...") # pango:...
	  # ...
	end

* Handle GraphicsMagick returning unknown in EXIF data
   2017-09-10 16:01:18 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-mini-magick to 4.8.0.

v4.8.0								2017/07/06

* Add options to MiniMagick::Image.open which are forwarded to open-uri when
  URL is used (@acrogenesis)

* Fixed MiniMagick::Image#get_pixels not returning all pixels for images that
  have first or last bytes that could be interpreted as control characters in
  their RGB output (@LAndreas)
   2017-06-21 15:59:38 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-mini-magick to 4.7.2.

v4.7.2						2017/06/20

Avoid defining methods at runtime whenever a processing method is invoked,
which means that Ruby can keep its method cache, instead of having to clear it
on each processing invocation (thanks to @printercu).

v4.7.1						2017/06/15

Fix errors when calling MiniMagick::Image.open with URLs like
https://pbs.twimg.com/media/DCOD2DXVwAI4xsL.jpg:large, where the : would get
included in the file extension and cause errors with some ImageMagick commands
due to : being a special character to ImageMagick.
   2017-04-22 18:33:23 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-mini-magick to 4.7.0.

4.7.0								2017/03/28

* Added MiniMagick::Image#get_pixels, which returns a matrix where each member
  is a 3-element array of numbers between 0 and 255, one for each of the RGB
  channels.

* When MiniMagick.timeout is set and the command times out, previously the
  command would still continue running in the background. Now when
  Timeout::Error is raised, we also kill the subprocess running the command
  with SIGTERM.

* Implementation of posix-spawn has been improved, where now both stdout and
  stderr are read from at the same time, stdin pipe is closed immediately
  after writing the input, and stdout and stderr pipes are closed once the
  command finishes. This now has essentially the same behaivour as
  Open3.popen3 with a block.
   2017-03-20 14:15:42 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-mini-magick to 4.6.1.

v4.6.1							12 Feb 2017

* Fixed MiniMagick::Image#data to be work for multilayer images where array is
  returned as the JSON representation (@bytheway875)

* Fixed stdout and stderr buffer overload that can happen when processing many
  images using posix-spawn (@lest)

v4.6.0							3 Dec 2016

* Fix Image#exif raising an error when an exif value contains a "=" \ 
chracter
* Fix Image#exif raising an error when an exif value spans on multiple lines
* Introduced Image#data as an alternative to Image#details, which uses
  ImageMagick's ability to retrieve identify -verbose output in JSON
  format. This eliminates possibility of any parsing errors. It is available
  on ImageMagick 6.8.8-3 or above.
* Allow Image#format to accept a hash of options as a third argument, which
  will be added to the convert command before original path is added
* Support Pathname in Image.new, as we already supported Pathname in
  Image.open
* Added Tool#stdout which adds - to the command (the same as Tool#stdin does)