473,407 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

modify the picture resolution

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
2 1757
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Chris Coho, Jr. | last post by:
Ok, I'll explain the whole problem because there may be several ways to solve this and hopefully someone knows one. What I'm doing is creating a specialty template editor, similar to say a corel...
0
by: Jeff Goza | last post by:
Hi - Anyone had any experience using the "Picture-It!" file format for pictures? What I would like it to do is stop asking what resolution I want when I import it (i.e. I would rather set the...
0
by: Jeff Goza | last post by:
Hi - Anyone had any experience using the "Picture-It!" file format for pictures? What I would like it to do is stop asking what resolution I want when I import it (i.e. I would rather set the...
6
by: John Ortt | last post by:
Hi there everyone, I have a part info form which has a faded image of our company logo as a background. I want to replace the faded image with a bright red warning image on items which have run...
14
by: hamil | last post by:
I am trying to display an image in a picture box. The image is a group 4 fax black and white image of a piece of sheet music. The original resolution is 300 X 300 dpi. I want to have the picture...
3
by: Sivaswami Jeganathan | last post by:
Hi I created an asp page it looks different when looked from an 1024x768 than it looked on 800x600 resolution. how to control this any idea ??? --
8
by: Lad | last post by:
Is it possible to change a picture resolution with Python? Let's say I have a picture with a resolution of 96 dpi and I would like to increase to 256dpi or higher. Thank you for your reply. LL
2
by: Johny | last post by:
Is it possible to find out a picture resolution by using PIL package? Thanks for help L.
8
by: Louis | last post by:
Hello, My website is 910 pixels wide. The content area is 552 pixels wide. If I place a picture in the content area that is wider than 552 pixels my site becomes wider than 910 pixels. I do not...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.