Re: multipage postscript files

2003-06-17 Thread Leonid Kleiner
Using Ghostscript you can merge 2 or more pdf files.

- Original Message - 
From: Torsten Erler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 2:05 PM
Subject: RE: multipage postscript files


 Ok Thanx Jeremias, U'r suggestions were very helpful for me.
 
 cu Torsten
 
  -Original Message-
  From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
  Sent: Dienstag, 17. Juni 2003 13:54
  To: [EMAIL PROTECTED]
  Subject: Re: multipage postscript files
  
  
  
  On 17.06.2003 13:47:58 Torsten Erler wrote:
   The last one sounds good...
   
   Any other Idea (don't know whether it works):
   I've tried to distill the postscript file by GhostScript 
  and the result
   looks good.
   It creates a pdf site for each postcript page.
   Can I append/insert the created pdf into the original one, 
  created by FOP?
  
  Yep. A PDF postprocessor like iText can do that. See here:
  http://xml.apache.org/fop/resources.html#products-pdf
  
  That functionality is on the todo list for FOP's PDF library, 
  too, but I
  guess it'll take a while until someone implements it.
  
  Jeremias Maerki
  
  
  -
  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]


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



Re: FOP output to TIFF

2003-02-23 Thread Leonid Kleiner
By the way.
It is possible to transform to TIFF and many other formats from PDF format
using ghostscript.

Though it's not strictly Java solution.

http://www.cs.wisc.edu/~ghost/doc/AFPL/get800.htm

- Original Message -
From: Oleg Tkachenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, February 23, 2003 10:09 AM
Subject: FOP output to TIFF



 X-MIMETrack: Itemize by SMTP Server on XENA/MCN(Release 5.0.9a |January 7,
2002) at 23/02/2003
  10:11:12,
 Serialize by Router on XENA/MCN(Release 5.0.9a |January 7, 2002) at
23/02/2003
  10:11:13,
 Serialize complete at 23/02/2003 10:11:13
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain; charset=us-ascii; format=flowed

 Hello!

 David Blevins david.blevins () visi ! com wrote:
  Now I have my first question, so here goes.  What is the recommended
  approach to generate a TIFF output: using the SVGRenderer then
  transcoding to TIFF with batik; using the TIFFRenderer written by Oleg?
 Hard question. TIFFRenderer has some flaws: it is not thread-safe, because
 AWTRenderer isn't. Another its problem is that all generated page images
are
 held in memory. Both issues I hope will be fixed in FOP 1.0dev. So may be
 SVGRenderer is a prefered approach at the moment.

  The TIFFRenderer works, however the outputted TIFF is white text on
  black background (should be the other way around).  Maybe there is
  something I need to configure correctly.
 Well, which TIFF viewer are you using? AFAIK, there is a great mess
amongst
 TIFF viewers what is white and what is black in b/w FAX compressed images,
 e.g. consider given black-and-white TIFF image, Adobe Photoshop and
Windows
 Imaging will show it differently black on white or white on black.
 TIFFRenderer uses JAI encoder, which seems to be agree with Adobe in this
 question, so I always rely on Photoshop and Alternatiff plugin and never
got
 inverted image.
 Actually I've been thinking about introducing such a parameter to
TIFFRenderer
 to allow control over that. Ok, granted, will try this week.

  There also doesn't seem to any new versions of the TIFFRenderer.  The
  latest I can find is 0.9 from May last year.  Is this there an updated,
  unreleased version somewhere?
 Well, I just don't see how can I make it better, it's quite simple
wrapper,
 which heavily rely on JAI encoder and AWTRenderer. Now, when I'm FOP
committer
 I'd better be focused on how to make FOP itself better, TIFFRenderer will
 benefit from it also.

 --
 Oleg Tkachenko
 Multiconn Technologies, Israel


 -
 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]



Which TIFF format is used in batik? How can I get TIFF Type 1?

2002-12-17 Thread Leonid Kleiner




Hi, all.

I try to transform XML using FOP to one of the following formats:

- TIFF Type 1

- TIFF Type 2

- TIFF Type 3

- TIFF Type 4

- TIFF PackBits

Which TIFF format is used in batik?

How can I get one of thepreviously listedformats?

Any ideas?






Best regards,
Leonid Kleiner


TIFF image from XML

2002-12-12 Thread Leonid Kleiner



Hi, all.

I'm trying to get TIFF image using FOP.
Succeded converting to SVG, using FOP, 
when I use batik to convert to TIFF I get error 
SVGConverter.error.while.rasterizing.file.
There are Hebrew characters in my file.

If you have ideas, please do share.

Leonid Kleiner