Skip to main content

Splitting tiffs on os x

1 reply [Last post]
potato95
Offline
Joined: 2006-06-23

Hi
I am new to JAI Imageio and am trying to take a multipage tiff file and split it in single page files.

Unfortunately I am not able to get a reader for a tiff file using...

Iterator readers = ImageIO.getImageReadersByFormatName("tiff");
Also if I print..
ImageIO.getReaderFormatNames()
then tiff does not appear.

I believe the problem relates to the fact that I am using Mac OS 10.5.6. Am I correct in thinking that perhaps I cannot split tiffs using Imageio on a mac since there is not a plugin available??

If it is possible could I have a code snippet, I have spent way too long on this!

Thanks

Giles

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
lostinspace2011
Offline
Joined: 2007-08-01

I am having the same issue in 10.6.1. Were you able to resolve this on OS X. It seems that reading TIFF images in JAI on OS X is not supported. I found some posts suggestion to use TIFFImageReader, however the same posts suggest some endian issues with that class.