2008/8/12 Brian Dunning <[EMAIL PROTECTED]>:

> I'm using GD to crop & save an uploaded image, and then embedding it into a
> PDF made with FPDI. It works great when the image is small or low-res. When
> the uploaded file is bigger, more than a couple hundred K or so, it fails. I
> think that the image is not done writing yet by the time I try to do the
> $pdf->Image. Any suggestions? Some way to force it to hang out and pause
> until the image is done writing?

It's more likely you're hitting a memory limit in your script. Pare
your script down to just the resize action, and turn error reporting
on.

What function are you calling to do the resize? It shouldn't return
until it's finished processing.

BTW, ImageMagick produces smoother results than GDLib when resizing.

-- 

http://www.otton.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to