Solved

Resizing images with GraphicsMagick

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

726 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