gems mini_magick 4.9.0

latest releases: 5.2.0, 5.1.2, 5.1.1...
6 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 bar
    end
  • Add pango creation operator

    MiniMagick::Tool::Magick.new do |magick|
      magick.pango("...") # pango:...
      # ...
    end
  • Handle GraphicsMagick returning unknown in EXIF data

Don't miss a new mini_magick release

NewReleases is sending notifications on new releases.