How to change dpi of image from 72 to 300 ?

Reply

Join Date: Nov 2006
Posts: 1
Reputation: snowby is an unknown quantity at this point 
Solved Threads: 0
snowby snowby is offline Offline
Newbie Poster

How to change dpi of image from 72 to 300 ?

 
0
  #1
Nov 11th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 1,050
Reputation: digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice 
Solved Threads: 65
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Veteran Poster

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

 
0
  #2
Nov 11th, 2006
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...
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC