Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Big images upload and manipulating

Status
Not open for further replies.

petersJazz

Programmer
Jan 28, 2002
222
EU
hi,

refering to thread434-1484443

still havent fixed this on the site Does anyone know of some custom php code for loading into memory just a part of an jpg file?
 
Hi

I would try an alternative image manipulation library, for example Imagick ( or other ImageMagick API ).

This means to completely rewrite the image manipulation part. And there is no guaranty that the alternative library can and will efficiently do swapping to temporary file.

Feherke.
 
hi,

i tried this:

<?
$thumb = new Imagick();
$thumb->readImage('test.gif');
$thumb->writeImage('test.jpg');
$thumb->clear();
$thumb->destroy();
?>

and got:

Fatal error: Cannot instantiate non-existent class: imagick in /hsphere/local/home/petersja/cmsone.se/test1/php/apa.php on line 2

so I guess this class is not installed on the web hotell Im using.
 
hi,

thank you anyway, its not a very big problem. Its ok to resize on PC and then upload to site.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top