Log In
Support
New Account
This forum
This project's trackers
This project's forums
This project's tasks
This project's releases
This project's documents
This project's news
Software/Group
People
Skill
Advanced search
Home
My Page
Project Tree
Code Snippets
Project Openings
MiniMagick
Summary
Forums
Tracker
Lists
Tasks
Docs
Surveys
News
SCM
Files
Forums
|
Admin
Discussion Forums:
open-discussion
Start New Thread
Nested
Flat
Threaded
Ultimate
Show 25
Show 50
Show 75
Show 100
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!