Hi Pieter,

"Pieter Jansen" <[EMAIL PROTECTED]> wrote on 08/09/2006 09:09:29 AM:

> On 8/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >         This is really a problem with the JPEG codec we use (it needs
> > the entire source image at once).
> 
> Is this issue related to printing as well, then? When trying to print
> a document, I have the exact same symptoms. 

    I wouldn't think so, printing in most JDK's is done 'strip wise'
so high res shouldn't be an issue.  Also normally the spool file 
contains vector data not raster (although this depends a bit on
what is used in the file, fill, stroke and definitely group opacity
can cause problems).

> > If you get the source distribution
> > of Batik in the contrib directory there is a 'tiledTranscoder' that
> > will encode an SVG to a tiled Tiff image.  It doesn't support all the
> > bells and whistles of the normal transcoders but it works.
> 
> I'm afraid this won't be a working solution with pictures of a
> resolution this high, but I will give it a try anyway.

    Why won't this be a solution?  Among other things the tiles
in the Tiff file can be JPEG compressed.  Tiff is _very_ often used
as a container for very high resolution raster image data.

    Also you might consider output to PDF, which can often
keep much of the data as vector as well...

> >         For large outputs this is _much_ faster than the normal
> > encoders.  This of course gives you a Tiff not a JPEG but you can
> > probably chain another tool to convert the Tiff to JPEG (also it's
> > likely that the code can be adapted to work with the javax.imageio
> > package in Java 5 to write JPEG's progressively.
> 
> And then there's always Imagemagick/JMagick to the rescue :-)
> 
> Thanks for your advice.
> 
> Regards,
> 
> Pieter
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to