Do you want one file with the jpegs layered in the tiff, or do you want to make it one big image, single layer?
Jpeg is a format that uses blocks of 16x16 pixels. You can manipulate these blocks without affecting the quality of the image. Thus it is possible to create one big jpg image from these without quality loss in a process that's probably not that resource intensive. Layers are not possible though. I know this is not what you asked, but maybe it's a useful alternative.
Main Topics
Browse All Topics





by: epasquierPosted on 2009-10-14 at 02:53:29ID: 25568654
There are few TIFF components
agelib/ind ex.html
omFile('Sa mple.Bmp') ; TifFile('S ample.TIFF ',False);
raphics/ti ff/tiffins t.zip
raphics/ti ff/ LibTiff Delphi_Ful l.zip
ImageLib is the best since a while, but not freeware. It's a collection of all image format components and tools.
old site http://www.imagelib.com redirected to http://skylinetools.com/im
You can also try with a freeware TTIFFBitmap , I've been able to load a BMP and save it to TIFF but I don't know if you can add multiple images. It's a TBitmap descendant so I guess no, but maybe there is a trick somewhere. Code to use it is easy at this stage, though
TIFFBitmap.MapField.LoadFr
TIFFBitmap.MapField.SaveTo
I found it there : http://www.torry.net/vcl/g
And last option, free also : Pre-compiled LibTiff for Delphi v3.7.0.00
It's a C library compiled and encapsulated in a Delphi wrapper. Unfortunately they didn't go as far as creating an object, like a TPicture descendant in order to use it easily. So you have to manage it with function calls, and I haven't look deeply enough to tell you how to do what you want. Still, I believe you should be able to find what you need.
http://www.torry.net/vcl/g