How to change the resolution of a JPEG or TIFF file by programming?

Posted on 2003-03-13
Medium Priority
Last Modified: 2013-11-19
Hi, does anyone know how to change the resolution of a JPEG or TIFF file by programming? For example, my JPEG's resolution is 72DPI. I want to change it to 144DPI.
Question by:chcw
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

BTecho earned 1000 total points
ID: 8134162

You mean resolution by the picture dimension? like you want to stretch the image.

Delphi's TJpegImage deosn't support any DPI settings, neither reading or setting. But really, making a higher DPI won't really increase the image quality since you can't make something out of nothing.

Any how, this site below has bunch of examples on working with images, resizing, printing, etc. Im sure you can find what you need there.



Expert Comment

ID: 9316788
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
In this tutorial viewers will learn how to create blended and gradiated shapes in Illustrator using the blend tool Draw two shapes, one of them in a different color: Select both and create a blend by going to Object > Blend > Make: Blends can also b…
Add visuals to your Prezi to keep your audience engaged. Learn how to embed images, edit them, and more in this video micro tutorial. Select "Insert" from the top menu in your Prezi editor: Select "Image": A toolbar will pop in from the right …
Suggested Courses
Course of the Month11 days, 5 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question