Web Hosting Talk







View Full Version : PHP GD: problem with larger image dimension


aashx
08-14-2005, 01:57 PM
Hello everyone,

I'm using PHP's GD library to manipulate image sizes. Everything works fine untill i tried with larger image dimensions ie. when i use the images over approx. 2000px then it return nothing.

How can i adjust to get it working for larger image dimensions?


regards,
AashX

ethereality
08-14-2005, 03:16 PM
why would you want an 2000px image? My computer would take forever to load that, and I'm on a high-speed connection.

aashx
08-15-2005, 02:26 AM
Well i have some specific requirements so i need to work on large dimension of jpg images using GD of php.

Dashbox
08-16-2005, 07:45 AM
;) Don't be afraid to go over 32M if you need to... but that should do fine.

<?php
// Increase memory limit to support larger files
ini_set('memory_limit', '32M');
?>

aashx
08-16-2005, 01:30 PM
Thank you very much.

:)