Solved

Resizing images with GraphicsMagick

Posted on 2004-08-19
1
1,014 Views
Last Modified: 2008-02-26
Hello.

I recently installed GraphicsMagick ( http://GraphicsMagick.org ) and although I have figured out how to convert images, I haven't figured out how to resize them.

Here is how I convert a GIF image to a JPG image:
         gm convert image.gif image.jpg

I want to resize large.jpg (1000 px by 500 px) to small.jpg (100 px by 50 px)

How can I do that?

Thanks!
0
Comment
Question by:hankknight
1 Comment
 
LVL 4

Accepted Solution

by:
chipple earned 400 total points
ID: 11848758
This should work:

gm convert -size 100x50 image.gif -resize 100x50 image.jpg

Both -size and -resize options should be given the same destination size.

Good luck!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read about why website design really matters in today's demanding market.
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question