Solved

Resizing images with GraphicsMagick

Posted on 2004-08-19
1
994 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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Uploading files to the web server has become common part of almost any kind of web application. People use different technologies to solve this, but regardless of the technology used, it is always useful to have some kind of progress indicator shown…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
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…

762 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

13 Experts available now in Live!

Get 1:1 Help Now