Re: resize image and memory limits



Bob Bedford wrote:
"none" <""arjen\"@(none)"> a écrit dans le message de news: 4684f2a2$0$23724$dbd45001@xxxxxxxxxxxxxxxxxx
Bob Bedford wrote:
Hi all,

I've to resize uploaded images with the "imagecopyresampled" but when I've images quite large (common those days) I reach the 16mb limits of the ISP.

How can I fix this ? I absolutely need to resize such images.

Bob
Iirc Imagemagick handles these resizes more memory efficiently

Check Imagick in php>5

Thanks for replying Arjen,

for what I've readed, it needs to install something on the server. I've no access to the server neither command line or exec functions.
It's there any way to use it or maybe I'm wrong (I've checked the site http://www.imagemagick.org/ and http://www.magickwand.org/)

Bob


see phpinfo() and check for imagick and on the shell try #locate convert to see if imagemagicks convert has been installed.

Otherwise tell your provider he's an idiot and ask for imagemagick :-)

Arjen
.



Relevant Pages

  • Re: Ruby & Images
    ... i would better say with ruby on rails! ... Now I want to maipulate some pictures (resize for first)! ... source image processing field, ImageMagick (and its fork, ... how big are the images you're wanting to resize? ...
    (comp.lang.ruby)
  • Re: Resizing pictures
    ... I am looking for a software that would allow me to resize ... automatically a bunch of JPEG pictues, ... An X application for displaying and manipulating images. ... ImageMagick also includes command line programs for creating ...
    (Fedora)
  • Re: Imagemagick converting horizontal images
    ... I have about 30 images and would like to resize only the horizontal ... How could I do this with ImageMagick -resize option? ... a bash script. ...
    (Ubuntu)
  • Re: resize image and memory limits
    ... Bob Bedford wrote: ... I've to resize uploaded images with the "imagecopyresampled" but when I've images quite large I reach the 16mb limits of the ISP. ...
    (comp.lang.php)
  • Help! ImageMagick is changing dpi for some reason
    ... I had used an earlier version of ImageMagick to batch resize images to use on the web, ... Although both of these commands do resize all the images in a directory, they both alter the dpi from 72 to 180. ...
    (comp.graphics.apps.gimp)