[magick-users] Square thumbnails

Noel da Costa noel.dacosta at magharl.co.uk
Wed Oct 17 08:28:43 PDT 2007


Hi there,

Looooove this library.. IM rocks!.. Having some trouble though:


Problem:
I seem to be getting "fuzzy" or out-of-focus thumbnails.

I'm using the technique here:
http://www.imagemagick.org/Usage/thumbnails/#cut

Here's the code:
<code>
$default_option = "-thumbnail x".($params['square']*2)." -resize '". 
($params['square']*2)."x<' -resize 50% -gravity center -crop ".$params 
['square']."x".$params['square']."+0+0 +repage ";
</code>

This is done in PHP, so the please excuse the variables.



Any ideas how to keep my thumbnails looking crisp?




Thanks in advance,



Noel da Costa

Lead Developer
Magnet Harlequin

T: 01895 432400
F: 01895 432444
E: noel.dacosta at magharl.co.uk
W: http://www.magharl.co.uk

This e-mail is intended solely for the addressees named above and any  
other
use is prohibited. Access to this email by anyone else is  
unauthorised. It
may contain confidential information. If you have received this e- 
mail in
error, please contact the sender by return e-mail. We do not accept  
legal
responsibility for the contents of this message if it has reached you  
via
the internet. Any opinions expressed are those of the author and are not
necessarily endorsed by the company. Recipients are advised to apply  
their
own virus check to this message and all incoming e-mail on delivery.





More information about the Magick-users mailing list