jpg image quality

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
David Pitts
Posts: 4
Joined: Sat 3. Apr 2004, 15:44

jpg image quality

Post by David Pitts »

I cannot figure out where to change the settings that will get imagemagick to leave the jpgs uploaded through the file system alone.

Image

The "good" image shows much less "artifacts" from compression than the bad image. Where can I make changes that will leave the image unmolested?
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

you could play with the settings here...
in_lib/imagik.convert.inc.php

Code: Select all

function imagick_converting ($img,$ext="jpg",$ttxt="",$imgdir="",$tdir="",$mw=150,$mh=150,$qual=75,$prfl=0,$dens=72,$addcmd="") 
argos
Posts: 135
Joined: Mon 15. Mar 2004, 20:02

Post by argos »

yes, I had the same problem recently. After changing the "qual=75" part to "qual=100" they are not compressed anymore.

BTW, does anyone know what the "$prfl=0" part does?
Regards,
Jurgen Nijhuis
http://www.argosmedia.nl
Post Reply