By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,405 Members | 1,531 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,405 IT Pros & Developers. It's quick & easy.

modify the picture resolution

P: n/a
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 ??
TIA
Fred
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.

Jul 17 '05 #2

P: n/a
Frédéric Vailleau wrote:
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 ??
TIA
Fred


if you are on linux, the 'convert' command is super-cool. do convert --help
to see the options.
--
Kenneth Downs
Secure Data Software, Inc.
(Ken)nneth@(Sec)ure(Dat)a(.com)
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.