minimagick

mini replacement for RMagick

MIT License

Downloads
233.4M
Stars
2.8K
Committers
121

Bot releases are hidden (Show)

minimagick -

Published by janko about 9 years ago

  • 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)
minimagick -

Published by janko about 9 years ago

  • Fix MiniMagick::Tool#tile method being applied as a creation operator (tile:) instead of an option (-tile)
minimagick -

Published by janko about 9 years ago

  • 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.
minimagick -

Published by janko about 9 years ago

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

Published by janko about 9 years ago

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

Published by janko about 9 years ago

  • 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
minimagick -

Published by janko about 9 years ago

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

Published by janko about 9 years ago

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

Published by janko about 9 years ago

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

Published by janko over 9 years ago

  • Fix Ruby 1.9.3
minimagick -

Published by janko over 9 years ago

  • Fixed MiniMagick::Image#details parsing
minimagick -

Published by janko over 9 years ago

  • Fixed detecting MiniMagick version
  • Fix the private method 'format' called on mogrify for real
minimagick -

Published by janko over 9 years ago

  • Fixed a rush mistake
minimagick -

Published by janko over 9 years ago

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

Published by janko over 9 years ago

  • Attempt to fix #279
minimagick -

Published by janko over 9 years ago

  • Added MiniMagick::Image#details, which parses the output of identify -verbose and returns it as a Hash.
minimagick -

Published by janko over 9 years ago

  • 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.
minimagick -

Published by janko over 9 years ago

  • Added MiniMagick::Tool#stack for building ImageMagick stacks:

    MiniMagick::Tool::Convert.new do |convert|
      convert << "wand.gif"
      convert.stack do |stack|
        stack << "wand.gif"
        stack.rotate(30)
      end
      convert << "images.gif"
    end
    
    convert wand.gif \( wand.gif -rotate 90 \) images.gif
    
minimagick -

Published by janko over 9 years ago

  • Allow filenames with colon in their names (thanks to @agorf)
minimagick -

Published by janko over 9 years ago

  • When dealing with very large images, it can happen that your process runs our of memory (by raising Errno:: ENOMEM). You can now tell MiniMagick to use posix-spawn for executing shell commands, which uses much less memory:

    MiniMagick.configure do |config|
      config.shell_api = "posix-spawn"
    end