Releases: minimagick/minimagick
Releases · minimagick/minimagick
v4.12.0
- Added new
tmpdir
configuration, which defaults toDir.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?
withFile.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 atimeout
argument instead of the Timeout standard library (#525)
v4.11.0
v4.10.1
v4.10.0
v4.9.5
- Fixed
MiniMagick::Image.open
not working with non-ASCII filenames anymore after previous version (thanks to @meganemura)
v4.9.4
v4.9.3
v4.9.2
v4.9.1
v4.9.0
New features
-
Support ImageMagick 7
MiniMagick::Tool::Convert
will now generatemagick convert
commands (and the same for others)MiniMagick::Tool::Magick
was added for generatingmagick
commands
-
MiniMagick.cli_prefix
was added to configure a prefix for commandsMiniMagick.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 optionsMiniMagick::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 operatorMiniMagick::Tool::Magick.new do |magick| magick.pango("...") # pango:... # ... end
-
Handle GraphicsMagick returning
unknown
in EXIF data