> I've got what I think is a simple task, splitting a multi-page TIF into
> separate files by page. I've found a few examples online, but only
[quoted text clipped - 6 lines]
>
> Does anyone have a better bit of code to do this, faster?
I think that this is a wrong approach.
There are no need to decode and encode TIFF to split it into separate files.
However I don't have currently a solution for this.
A little bit theorie - you schould be able to copy each ImageFileDirectory
into separate file,
but you have to adjust all offsets (!!!).

Signature
Andrey Kuznetsov
http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities
carl.manaster@gmail.com - 12 Oct 2005 23:29 GMT
Hi, Andrey,
Thanks for the help. I have solved it, as you suggest, by "just"
reading the TIFF directly, twiddling the values that represent offsets,
and streaming each IFD to its own file. This would have been easier if
Java had unsigned types, and if my TIFFs used the same byte ordering as
my language.
Peace,
--Carl