• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 589
  • Last Modified:

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

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.
1 Solution

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.


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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now