Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 22nd, 2007, 10: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, 10: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, 11: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

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 network members.
Post your question now . . .
It's fast and it's free

Popular Articles