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

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


Branch: CURRENT, Version: 4.8.0, Package name: ruby23-mini-magick-4.8.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:
[lang/ruby23-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 1bcb0c28315b40917284a4d243ac81a7130e427e
RMD160: fb38a6907d7f58b25d4dd07c7d3243cc62b76ef5
Filesize: 17.5 KB

Version history: (Expand)


CVS history: (Expand)


   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)
   2016-10-15 15:48:02 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-mini-magick to 4.5.1.

v4.5.1

* Fixed MiniMagick logging commands by default

v4.5.0

New features

* Added the ability for ImageMagick commands to accept standard input:

	identify = MiniMagick::Tool::Identify.new
	identify.stdin # adds "-"
	identify.call(stdin: image_content)

* Added ability to capture stdout, stderr and exist status by passing a block
  to MiniMagick::Tool#call:

	compare = MiniMagick::Tool::Compare.new
	# build the command
	compare.call do |stdout, stderr, status|
	  # ...
	end

* Added ability to assign MiniMagick.logger to Rails.logger

Bug fixes

* The value of MiniMagick.whiny configuration option is now respected
* The new filename when calling #format is now generated better when calling
  on a layer
* Delete *.cache files generated by .mpc files when deleting MiniMagick::Image

Deprecations

* Whiny option should now be passed as a keyword argument:

	MiniMagick::Tool::Identify.new(false) # deprecated
	MiniMagick::Tool::Identify.new(whiny: false) # good

* Passing the whiny argument to MiniMagick::Tool#call is deprecated, it should
  now always be passed to MiniMagick::Tool.new
   2016-02-17 16:02:44 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-mini-magick to 4.4.0.

4.4.0

* Using MiniMagick::Image#format now works when the image instance is a
  layer/frame/page.
* Calling MiniMagick::Tool#clone as a way of adding the -clone CLI option now
  works properly (before it would call Object#clone).
* Badly encoded lines in identify -verbose don't cause an error anymore in
  MiniMagick::Image#details.
* MiniMagick::Image#details doesn't hang anymore when clipping paths are
  present
* Added MiniMagick::Image#tempfile for accessing the underlying temporary
  file.
   2015-12-02 15:41:57 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-mini-magick to 4.3.6.

* Restore the old behaviour of MiniMagick::Image#respond_to? by looking
  at mogrify -help and finding the method. This restores compatibilty
  with CarrierWave.
   2015-11-03 22:34:36 by Alistair G. Crooks | Files touched by this commit (610)
Log message:
Add SHA512 digests for distfiles for graphics category

Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.