Connecting Tech Pros Worldwide Forums | Help | Site Map

DPI and libGD

Defacta
Guest
 
Posts: n/a
#1: Aug 22 '07
Hi,

Is it possible to change the DPI of an JPG image by using the libGD ?
I would prefer using it than imagemagick...

Thanks,
Vincent.


Erwin Moller
Guest
 
Posts: n/a
#2: Aug 22 '07

re: DPI and libGD


Defacta wrote:
Quote:
Hi,
>
Is it possible to change the DPI of an JPG image by using the libGD ?
I would prefer using it than imagemagick...
>
Thanks,
Vincent.
>
Hi Vincent,

I think you can't.
72 dpi is the 'webstandard', and imagejpeg() defaults to it.
Sorry.

Regards,
Erwin Moller
Ulf Kadner
Guest
 
Posts: n/a
#3: Aug 22 '07

re: DPI and libGD


Defacta wrote:
Quote:
Is it possible to change the DPI of an JPG image by using the libGD ?
I would prefer using it than imagemagick...
Dont know if PHPs gd lib can do. May you will compile your PHP with the
imagemagick PECL Extension:

pecl install channel://pecl.php.net/imagick-2.0.0RC1 for easy access
imagemagick

Ulf

--
_,
_(_p Ulf [Kado] Kadner
\<_)
^^
Closed Thread