MiniMagick v4.9.0 Release Notes

Release Date: 2018-09-21 // about 3 years ago
  • 🆕 New features

    👌 Support ImageMagick 7

    • MiniMagick::Tool::Convert will now generate magick convert commands (and the same for others)

    - 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 barend
    

    ➕ Add pango creation operator

    MiniMagick::Tool::Magick.new do |magick| magick.pango("...") # pango:...# ...end
    

    🖐 Handle GraphicsMagick returning unknown in EXIF data