convert a tiff image to jpeg or load into a timage

easy, question:

convert a tiff image to jpeg or load into a timage

i asked in other forum too but by moment not good answers, i know that exist efgs webpages and other.....

but by moment, not code for try convert..

Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

bernaniConnect With a Mentor Commented:

TIFF in Delphi, pre-compiled LibTiff for Borland Delphi - See

look at the thread wich gives you:

Unit LibTiffDelphiHigherLevel;


uses Windows, SysUtils, Classes, Graphics, Controls, Forms, LibTiffDelphi; {uses LibTiffDelphi, download it here: }

function ReadTIFFFileIntoBitmap(Filename: String): TBitmap;
procedure VisualizeTIFFFileInImage(Filename: String; Image: TImage);


procedure VisualizeTIFFFileInImage(Filename: String; Image: TImage);
m: TBitmap;

Create a TJpegImage and assign before saving as jpg.

Sample to read and write a tiff :

See also:
and : Typical conversion problem JPEG to TIFF...

and maybe also:

Version 1.16, 2005-10-09
Freeware, full C++ and Delphi source included
Download from
With this library, Delphi programs can read and write BMP, JPEG, JPEG 2000, PNG, MNG, TIFF, ICO, CUR and PCX images. RAS, PNM, PGM, PPM, HIPS images can be loaded, but not created. This version was tested with Delphi 7, but should also work with 5, 6 and 2005. It is based in part of my own code and implementation of some of the file formats, and in part on other freeware image processing libraries.


Hope this can help to read, write and convert from one format to other

Wim ten BrinkConnect With a Mentor Self-employed developerCommented:
Basically, load the TIFF image in a graphic class that can handle TIFF images, create a new JPG graphic object with the same width and height as the TIFF image and then draw the TIFF file on the JPG canvas. Basically, that's one way to convert a TIFF to a JPG.
Then again, depending on the graphics classes used in your code, you might even use something like TJPeG.Assign(TTIFFGraphic) which might do the convertion for you. Or not. It's just that there are quite a few options for this and all of them have their pro's and cons. is a good library...
All Courses

From novice to tech pro — start learning today.