LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 02-05-2006, 11:46 PM   #1
BaltikaTroika
Member
 
Registered: Sep 2004
Distribution: Debian 4.0, Ubuntu 6.10, Ubuntu Server 6.06
Posts: 134

Rep: Reputation: 15
Resize and change quality level with mogrify?


I've got to resize a lot of .jpg photos for my online shop, so I use the following command while in a directory filled with the photos to resize:

mogrify -resize 150x200 *.*

This leaves me with the desired sized pictures, but they're too big in terms of file size. If I go into Gimp, I can reduce the quality to 40 and it's not noticeable, yet the file size is many times smaller.

So my question is: Is there some other switch for mogrify that I can use to change the quality level of my jpgs?

I've read the man and help for it, but I can barely understand about half the options. As far as I understand, convert will do what I'm looking for, but I was curious if it's possible with mogrify.

Thanks for any info,
Baltika
 
Old 02-06-2006, 11:42 AM   #2
BaltikaTroika
Member
 
Registered: Sep 2004
Distribution: Debian 4.0, Ubuntu 6.10, Ubuntu Server 6.06
Posts: 134

Original Poster
Rep: Reputation: 15
I'm going to reply to myself (wouldn't be the first time! I'm my own favorite conversation partner).

It's, as I feared, extremely simple. Just add the -quality xx switch to change it's quality.

Sheesh.

Baltika
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
resize / change inode size for partition? tinksmartbstupi Linux - Software 2 05-24-2009 08:54 AM
change sound level masood_mj Linux - Newbie 2 11-02-2005 06:05 PM
Change security level via console? jdupre Fedora 6 03-10-2005 09:24 AM
how do you change the security level? chr3681 Linux - Newbie 0 11-02-2004 02:52 PM
mogrify: Unable to create temporary file. steelgrave Linux - Software 5 05-31-2003 05:46 PM


All times are GMT -5. The time now is 02:58 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration