[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Resizing images with GraphicsMagick

Posted on 2004-08-19
1
Medium Priority
?
1,069 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
chipple earned 1600 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Ready to get certified? Check out some courses that help you prepare for third-party exams.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses

656 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