Solved

Resizing images with GraphicsMagick

Posted on 2004-08-19
1
1,004 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help to run a simple query in PHP 17 52
Asp/Net Validation date Issue 9 52
Drop down button NAMES disappear 1 61
.php tree directory? 5 54
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
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…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now