Menu

#5 Thumbnail creation problems

open
nobody
None
5
2002-06-30
2002-06-30
Anonymous
No

I had problems with the automatic thumnail creation. I
have very big files ~1MB (2048x1536 Pixels). The
creation of the thumbnails took very long because of the
CPU usage of the resizing.

I solved this problem with the following line in the image-
magick.class.php file. I replaced the line with the
following code.

$params_line = "-size " . $params["resize_width"] . "x" .
$params["resize_height"] . " -resize " . $params
["resize_width"] . "x
" . $params["resize_height"] . " +profile '*'";

now the resizing time is about 80% faster as before and
the files are smaller, because the icm profiles aren't
saved to the thumbnail.

to see it go to http://handball.marcsoft.org

marcsoft@gmx.net

Please inform me about your opinion...

Discussion


Log in to post a comment.