Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: Corey J
RE: Change FIle Type? [ reply ]  
2006-06-07 17:11
The methods in minimagic are exactly the same as the mogrify program (Found here http://www.imagemagick.org/script/mogrify.php)

so if you want to resize just so this

image.resize "50x60"

if you want to change the format to jpg do this

image.format "jpg"

By: Erik Gregg
Change FIle Type? [ reply ]  
2006-06-06 23:39
Hi. I found how to resize, and that's working beautifully:

image.combine_options do |i|
i.resize "50x60"
end

But now I need to convert a BMP to a JPG. is it i.convert? i.type? Do I just change the extension on the file? Please help!