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

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/archive227-2004-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...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.