944,004 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 26375
  • PHP RSS
Nov 11th, 2006
0

How to change dpi of image from 72 to 300 ?

Expand Post »
Dear All,

I want to make image from 72 dpi to 300 dpi with PHP. So do you know which function or how to do that.
Please guide me urgently.

Thanking you,

Dhaval Dave
Similar Threads
Reputation Points: 10
Solved Threads: 0
Unverified User
snowby is offline Offline
1 posts
since Nov 2006
Nov 11th, 2006
0

Re: How to change dpi of image from 72 to 300 ?

Wouldn't to get a larger DPI from a smaller one, would it?
Probably go from 300 - 72 DPI?

Take a look at this page: http://www.codecomments.com/archive2...-5-193544.html

PHP image functions: http://php.net/image

Heres how DPI can be changed with Imagemagick: http://de3.php.net/image#55955

With GD Lib it seems you'll have to just resize the image, resize it to 72/300 of its original dimensions. Then resize it back?

Hope that helps...
Last edited by digital-ether; Nov 11th, 2006 at 9:14 pm. Reason: Imagemagick not Imagemagic i believe...
Moderator
Reputation Points: 457
Solved Threads: 101
Nearly a Posting Virtuoso
digital-ether is offline Offline
1,250 posts
since Sep 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: I need some help!
Next Thread in PHP Forum Timeline: CMS....php





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC