Page 1 of 1
reducing JPGE file size
Posted: 2009-11-09T22:29:34-07:00
by peterbradd
I need my JPEG's to be less than 3mb, remaining 300DPI and 4x6.
I have 132 JPEG's
I entered:
peter-bradds-powerbook-g4-15:/users/peter/desktop/temp peter$ mogrify -density 300 jpg -quality 98 *.jpg
mogrify: unable to open image `jpg': No such file or directory @ blob.c/OpenBlob/2480.
What am i doing wrong?
Re: reducing JPGE file size
Posted: 2009-11-09T22:40:12-07:00
by fmw42
try
mogrify -format jpg -density 300 -quality 98 *.jpg
adjust -quality to reach the filesize you need.
Also recommend that you use -path to some other directory, so you don't overwrite your original images.
make a new directory (say test2), cd to the first directory containing your images (say test1)
mogrify -path /pathto/test2 -format jpg -density 300 -quality XX *.jpg
Note mogrify is dangerous if used wrong, you can lose all your originals
see
http://www.imagemagick.org/Usage/basics/#mogrify
Re: reducing JPGE file size
Posted: 2009-11-09T22:48:48-07:00
by peterbradd
Hi this is what I received
peter-bradds-powerbook-g4-15:/users/peter/desktop/temp peter$ mogrify -path /pathto/test2 -format jpg -density 300 -quality 98 *.jpg
mogrify: unable to open image `/pathto/test2/0566CKCS 4"x6" Postcards_EURW-5.jpg': No such file or directory @ blob.c/OpenBlob/2480.
Thanks in advance.
Re: reducing JPGE file size
Posted: 2009-11-10T10:56:10-07:00
by fmw42
"pathto" was just a placeholder for you to put your actual path to whatever new directory you build