David Blevins wrote:

Multithreaded access isn't a requirement, so we are in the clear there.
The requirements are simple:

1. TIFFs must use comp group 3x or greater
2. Must be able to set (or even hardcode) the width and height.
3. Must be able to split each "page" of the XSL-FO doc into separate
TIFF files.
Well, FOP and TIFFRenderer support 1 and 2, but number 3 requires specialized TIFFRenderer. That's quite easy actually, all one has to do is to override stopRenderer() method and instead of encoding every page images into the same output stream create new output stream for each one. Look at TIFFRenderer sources, that's easy. May be I can find a time to make it myself this weekend.

2. XSL-FO to TIFF using your TIFFRenderer.  Meets requirement 1, though
still getting black backgrounds.  Using Photoshop and QuickTime to view
the output.
Hmm, it's ok for me in Adobe Photoshop, are you sure it's inverted in Photoshop?

This might be an easy thing to reverse if I knew which
section of the code needed changing.
It's hardcoded in TIFF encoder code now, a volunteer is needed to make it parametrizable, I'll try probably.

If that were resolved, I would
still need a solution for requirements 2 and 3.
Well, requirement 2 is just XSL-FO's page-height/page-width properties I think.

--
Oleg Tkachenko
Multiconn Technologies, Israel


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to