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

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


Branch: CURRENT, Version: 4.6.1, Package name: ruby23-mini-magick-4.6.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/ruby23-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 3c04c2f0a4eb2785ab061da174db3fe92b929799
RMD160: e8b40b9bca77479ca9892a88d3e4baec0d444d6c
Filesize: 16.5 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2015-10-04 14:35:29 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-mini-magick to 4.3.5.

v4.3.5

* mini_magick/version.rb is now properly required in the main file (previously
  MiniMagick.version was throwing a NoMethodError unless you explicitly
  required mini_magick/version.rb)

v4.3.4

* Fix MiniMagick::Tool#tile method being applied as a creation operator
  (tile:) instead of an option (-tile)
   2015-09-13 16:32:27 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-mini-magick to 4.3.3.

v4.3.3

* Fixed a bug where, if you would reference any image info inside Image#format
  {} or Image#combine_options {}, this info would be cached even after these
  methods were executed, leaving the MiniMagick::Image instance with stale
  data.

v4.3.2

* Fixed MiniMagick::Image.new("...").format("<ext>") \ 
not working if the image
  didn't have an extension.

v4.3.1

* Reverted making MiniMagick configuration thread safe, until we figure out
  what caused #328.

v4.3.0

* Fixed early reportings of ImageMagick/GraphicsMagick not being installed by
  removing the automagically generated methods (commit)
* MiniMagick.with_cli is now thread-safe, as well as other configuration
  options

v4.2.10

* Make GraphicsMagick's mogrify support the "-gravity" option.

v4.2.9

* Fixes MiniMagick::Image#size to properly return filesize in bytes
* Added MiniMagick::Image#human_size which holds ImageMagick's human-readable
  size string.

v4.2.8

This version has been yanked as it holds a backwards incompatibility which
breaks CarrierWave.

* MiniMagick.with_cli will now restore the old CLI even when errors occur.
* Fixed race condition which caused the MiniMagick::Tool methods not to be
  defined yet (can happen in multithreaded environments)

Backwards compatibility

* MiniMagick::Image#size now returns a string with the filesize unit included
   2015-06-07 12:43:50 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-mini-magick to 4.2.7.

4.2.7

* Fix Ruby 1.9.3

4.2.5

* Fixed MiniMagick::Image#details parsing

4.2.4

* Fixed detecting MiniMagick version
* Fix the private method 'format' called on mogrify for real

4.2.3

* Fixed a rush mistake

4.2.2

* Raise proper error in #cheap_info on invalid image
* Improved MiniMagick::Image#details parsing
* Attempt to solve private method 'format' called on mogrify

4.2.1

* Attempt to fix #279

4.1.1

* Fix MiniMagick::Image#composite defaulting to JPG extension. The default is
  now the extension of the base image, the one on which composite is called.