Tuesday 13 September 2005 9:07:09 am
Ok i finally found the problem !!! The blurry bad quality problem in image compression with EZP was not due to the image handler (GD or IMageMagick - even if IMGMGK is a lot better than GD). The problem was due to the Filters[] entrie in the siteaccess image.ini. For exemple i had a 'large' alias then a 'small' alias detailed as follow :
[large]
MIMEType=image/jpeg
Filters[]=geometry/scale:600;480
[small]
MIMEType=image/jpeg
Filters[]=geometry/crop:40;40;0;0
With this setting compression was blurry/dirty because filters seems to add to each other (i don't know what this mecanism is supposed to do) so large was scaled up from a 300;xxx alias that i didn't ordered. As the image was scaling up, the image was dirty. Now this setting is working :
[large]
MIMEType=image/jpeg
Filters[]
Filters[]=geometry/scale:600;480
[small]
MIMEType=image/jpeg
Filters[]=geometry/crop:40;40;0;0
In a resume, try to put a empty 'Filters[]' line somewhere because otherwise Filters are stacking as an array (well it is an array) thus cumulating their effects in a way i couldn't explain. Thanx to everyone for the help. Martin
EZP is Great
|