Re: High-Res Images
| From: | Marek Kilimajer | Date: | Sat, 12 Oct 2002 21:37:57 +0000 |
| Subject: | Re: High-Res Images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119744@lists.php.net to get a copy of this message | ||
You might have memory limit problem, try setting it higher. And as far as I know, there is no function in gd to tell you DPI, try imlib extension.
Oscar F wrote:
Hello, I have a script that process images sent by users, but I'm having some problems here. 1) Does anybody know if there is any problem with hi-res images (300 DPI), because when I try to use them with PHP to resize/copy them, all I get is a black box. 2) Is there any way, with GD/PHP to get the DPI value of an image, because the image they submit has to be 300 dpi. In short, I need the user to upload the file, and the script to verify it is 300 DPI and to resize it to its equivalent size with 72 DPI. ANY help would be really appreciated. Oscar F.-