Thanks for the sample image. Let's see what we get: FOP 0.20.5: 6 0 obj <</Type /XObject /Subtype /Image /Name /Im1 /Length 49754 /Width 630 /Height 801 /BitsPerComponent 8 /ColorSpace /DeviceRGB /Filter [ /ASCII85Decode /FlateDecode ] >>
FOP 0.95: 10 0 obj << /Name /Im1 /Type /XObject /Length 13 0 R /Filter /FlateDecode /Subtype /Image /Width 630 /Height 801 /BitsPerComponent 1 /ColorSpace [/Indexed /DeviceRGB 1 <FFFFFF000000>] >> [..] 13 0 obj 18296 endobj So, with FOP 0.20.5 the bi-level image got converted to 24bit RGB, whereas in FOP 0.95 the image remains 1-bit. The PDF from 0.95 is also half as big because of that. Visually, I can't see a difference on screen and with two different PDF viewers. I wonder why some program would report "colorspace:gray" for the 0.20.5 PDF since it's actually using DeviceRGB. We could, in case of bi-level images, actually use DeviceGray instead of DeviceRGB but I don't think that would solve any problem, since the color lookup table is already clearly specifying black and white. In the end, it's unclear to me what problem you're actually seeing. Is that seen only on a printed or faxed page or already on screen in Acrobat? I've attached a manipulated PDF where I did the following change: From: /ColorSpace [/Indexed /DeviceRGB 1 <FFFFFF000000>] to: /ColorSpace [/Indexed /DeviceGray 1 <FF00> ] Can you check if that changes anything? On 23.04.2010 21:42:14 Isidora wrote: > I attached one sample of the black and white GIF. Thanks > > > ---------- Original Message ---------- > From: Jeremias Maerki <[email protected]> > To: [email protected] > Subject: Re: FOP 0.95 GIF=> PDF question > Date: Fri, 23 Apr 2010 15:51:19 +0200 > > Do you have a sample GIF file I could reproduce that with? Thanks. > > On 20.04.2010 23:02:43 Isidora wrote: > > Hi, > > > > I have used FOP-0.20.5 to convert B&W GIF images to PDF. The PDF images are > > sent via fax afterwards. > > When tested FOP-0.95 I found out that the faxed PDF images had dotted areas > > that were white on the versions of the same graphic obtained with 0.20.5. > > I noticed colorspace:gray in the PDF obtained with FOP-0.20.5 while it is > > RGB for the PDF obtained with FOP-0.95. > > > > Could dotted areas noted in the faxed graphics be caused by this differene > > in color space? > > If so, is there any way to create PDF with colorspace=gray using FOP-0.95? > > > > Thanks > > Jeremias Maerki
out095-mod.pdf
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
