Releases: minimagick/minimagick
Releases · minimagick/minimagick
v4.6.0
- 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 toImage#details
, which uses ImageMagick's ability to retrieveidentify -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 theconvert
command before original path is added - Support Pathname in
Image.new
, as we already supported Pathname inImage.open
- Added
Tool#stdout
which adds-
to the command (the same asTool#stdin
does)
v4.5.1
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
toRails.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 deletingMiniMagick::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 toMiniMagick::Tool.new
v4.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 callObject#clone
). - Badly encoded lines in
identify -verbose
don't cause an error anymore inMiniMagick::Image#details
. MiniMagick::Image#details
doesn't hang anymore when clipping paths are present- Added
MiniMagick::Image#tempfile
for accessing the underlying temporary file.