Monday, March 28, 2011

How to merge tiff images with Delphi?

I have 4 small tiff images and I would like to generate a big one by merging the 4 single one. Does anyone know how to do it directly with Delphi or some good component that could do it?

From stackoverflow
  • You could use GraphicEx by Mike Lischke to load the Tiff images:
    http://www.soft-gems.net/index.php?option=com_content&task=view&id=13&Itemid=33

    Name : Good but it doesn't seem to be able to save tiff files. It just can read them.
    PetriW : Ah, you're right. I've never actually needed to save a tiff image so never noticed. :(
  • Another excellent graphics library for Delphi is Graphics32

    Edit: As Vegar said, it looks that Graphics32 cannot be used to load TIFF format.

    Vegar : It's a good library, yes, but AFIK you want be able to load tiff-files with it. You would need other code, e.g. GraphicsEX, to load your graphic files.
    zendar : Yeah, it looks that you are right. I used Graphics32 for jpg files, and I did not check if it supports TIFF.
    Vegar : And the jpg-support don't come from Graphics32, but from Delphi itself. But its still a good library :-)
  • ImageMagick is a command line application that can do such kind of operations on different image file formats including tiff.

    The API seems to be usable from Delphi, see PascalMagick.

    PetriW : Oooo, this looks very nice! +1! ;)
  • Another library you can use is FreeImage. It supports loading and writing of TIFF files. Beware: the Delphi wrapper is not actively maintained, but it works. We use it in our software to display previews of images.

  • ImageEn one of the best Image libraries for Delphi, and it's native VCL ;-)

0 comments:

Post a Comment