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

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


Branch: CURRENT, Version: 5.0.1, Package name: ruby32-mini-magick-5.0.1, 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:

Filesize: 20.5 KB

Version history: (Expand)


CVS history: (Expand)


   2023-01-15 16:38:07 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
graphics/ruby-mini-magick: update to 4.12.0

4.12.0 (2022-12-06)

* Added new tmpdir configuration, which defaults to Dir.tmpdir (#541)

	MiniMagick.configure do |config|
	  config.tmpdir = File.join(Dir.tmpdir, "/my/new/tmp_dir")
	end

* Don't leave temporary files lying around when MiniMagick::Image#format
  failed (#547)
* Replace File.exists? with File.exist?, which should fix Ruby 3.2
  compatibility (#550)
* Fixed a case where the log could not be parsed correctly when there were
  multiple lines (#540)
* Added status to the exception message when the ImageMagick command fails
  (#542)
* Allow passing format to Image#get_pixels so we can request "RGBA" pixels
  (#537)
* Suppress warning to ambiguous argument (#529)
* Use Thread#join with a timeout argument instead of the Timeout standard
  library (#525)
   2021-10-26 12:47:26 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   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)
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)
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.