On 09/22/2010 09:42 PM, Nicholas Bamber wrote:
> I think I have been completely misunderstood.
>
> Please explain how you can dynamically resize an image without looking
> at the entire data in memory.

We use this imagemagick feature:

   convert 'image.jpg[120x120]' thumbnail.png

By pre-resizing on read, we save tons of cpu and ram usage per image. 
Works great even for huge 25mp images (if a bit slow).

rhesa

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to