Gergely Hajdu wrote:
Hi sorry for "mailbombing" this forum, but I am in real stress to accomplish
my task.
>
I have created a TIFF-image by converting a svg-file(called Image.xml)
to a TIFF :
My problem is that the image is WAY to big in bytesize (4GB..).
I would need to compress it to app. max 50 000 bytes.
How do I compress this image as MUCH as possible ?
I don't know that you will succeed in compressing by over 100 to 1!
But for these sorts of large images you really want to use the
'tiled image transcoder' that you can find in the contrib directory
of the Batik source dist.
I have looked at "org.apache.batik.ext.awt.image.codec.tiff",
where I can compress the image,but I don't know how to "glue" this together
with my created image ?
As a bonus the tiled Image transcoder exposes the TIFFImageEncoder
class directly so you can create TIFFEncodeParam. You could try using
deflate compression but I think you will only get close to the 100:1
compression using JPEG. But I really think your goal is totally
out of bounds.
Probably I have to do some manipulating with the transcoder before
transcoding the image ?
Thanks in advance !
/Gergely
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]