modify the picture resolution

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi there,
I tried to reduce the resolution of an image from 300dpi to 72dpi but I  
didn't succeed ...
I can use the imagecopyresampled() function to modify the width and height  
of my image but I can't modify the resolution.
Any help ??

Re: modify the picture resolution

I've never used the GD library, but on quick look, it doesn't appear to
handle any file formats that maintain a "resolution".   There is no
DPI... only dimensions: X pixels, by Y pixles.    You can resize the
image though.

Re: modify the picture resolution

Frédéric Vailleau wrote:

Quoted text here. Click to load it

if you are on linux, the 'convert' command is super-cool.  do convert --help
to see the options.  
Kenneth Downs
Secure Data Software, Inc.

Site Timeline