DPI and libGD
am 22.08.2007 11:24:05 von vincent.margueritHi,
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,
Is it possible to change the DPI of an JPG image by using the libGD ?
I would prefer using it than imagemagick...
Thanks,
Vincent.
Defacta wrote:
> 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
Defacta wrote:
> 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
\<_)
^^