Connecting Tech Pros Worldwide Help | Site Map

DPI and libGD

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 22nd, 2007, 09:25 AM
Defacta
Guest
 
Posts: n/a
Default DPI and libGD

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.


  #2  
Old August 22nd, 2007, 09:55 AM
Erwin Moller
Guest
 
Posts: n/a
Default 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
  #3  
Old August 22nd, 2007, 10:55 AM
Ulf Kadner
Guest
 
Posts: n/a
Default 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
\<_)
^^
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.