Class MiniMagick::Image
In: lib/mini_magick.rb
Parent: Object

Methods

<<   []   combine_options   format   format_option   from_blob   method_missing   new   open   run_command   to_blob   windows?   write  

External Aliases

open -> from_file

Attributes

output  [R] 
path  [R] 
tempfile  [R] 

Public Class methods

Use this if you don‘t want to overwrite the image file

Public Instance methods

Sends raw commands to imagemagick‘s mogrify command. The image path is automatically appended to the command

You can use multiple commands together using this method

This is a ‘special’ command because it needs to change @path to reflect the new extension Formatting an animation into a non-animated type will result in ImageMagick creating multiple pages (starting with 0). You can choose which page you want to manipulate. We default to the first page.

Outputs a carriage-return delimited format string for Unix and Windows

If an unknown method is called then it is sent through the morgrify program Look here to find all the commands (www.imagemagick.org/script/mogrify.php)

Give you raw data back

Check to see if we are running on win32 — we need to escape things differently

Writes the temporary image that we are using for processing to the output path

[Validate]