Page 1 of 1

How to create pyramid tiff files with JMagic

Posted: 2007-10-24T07:01:58-07:00
by emilian.utma
Hello

I would like to see a complete example in order to create a pyramid encoded TIFF image.
I have tried the following code but in some programs the image is not recognized as .ptif:

//get the image//
ImageInfo info = new ImageInfo(calePoza);
MagickImage image = new MagickImage(info);
image.setFileName("image.ptif");
image.writeImage(info);
//

Best regards
Emil

Re: How to create pyramid tiff files with JMagic

Posted: 2007-10-24T07:27:30-07:00
by magick
Its possible your version of ImageMagick does not include TIFF support. Type
  • identify -list format
Does the TIFF tag have a mode of rw+?

Re: How to create pyramid tiff files with JMagic

Posted: 2007-10-24T23:32:13-07:00
by emilian.utma
Hello

I think it does. Here is the result of "identify -list format" command:
...
PTIF* TIFF rw- Pyramid encoded TIFF
...
TIFF* TIFF rw+ Tagged Image File Format (LIBTIFF, Version 3.8.2)
...

Also I'm using: ImageMagick-6.3.6-Q16-windows-dll.exe and JMagick 6.2.6. (ImageMagick-6.2.9-4-Q16-windows-dll.exe - I could not found it).

Any other suggestion?

Best regards,
Emil