[xep-support] Re: Problem with images embedded in Postscript docs

Kevin Brown kevin at renderx.com
Fri Sep 7 15:09:39 PDT 2018


So for your three images:

PNG: The image is 99 inches tall @ 120dpi, being scaled down and Postscript cannot handle it. This image in PS looked like most of the lines in the text are missing (as one would expect). Zooming in to 600 percent and it looks fine.
PNG: The image is a transparent PNG which is not supported in Postscript (and it comes out with black boxes because of this).
JPG: Has bad base64 data which included %3D at the end, removing that and it formats correctly at the same size in both PS and PDF.

Kevin Brown
RenderX

-----Original Message-----
From: François Yergeau [mailto:francois at xcential.com] 
Sent: Friday, September 07, 2018 2:10 PM
To: kevin at renderx.com
Subject: Re: [xep-support] Re: Problem with images embedded in Postscript docs

Le 2018-09-07 à 16:43, Kevin Brown a écrit :
> Can you send me directly the same ZIP file please ... 
> kevin at renderx.com
>
> Also, is it ALL images or only some?

It varies ;-)  In the distilled PDF all 3 images come out wrong, but 2 distinct ways.  In GSView, 2 out of 3 are OK, but the 3rd is wrong in yet another way (mostly black).

--
François

>
> Kevin
>
> -----Original Message-----
> From: François Yergeau [mailto:francois at xcential.com]
> Sent: Friday, September 07, 2018 7:19 AM
> To: kevin at renderx.com; RenderX Community Support List 
> <xep-support at renderx.com>
> Subject: Re: [xep-support] Re: Problem with images embedded in 
> Postscript docs
>
> Le 2018-09-06 à 21:23, Kevin Brown a écrit :
>> You should post a sample source to support at renderx.com with the images.
>> Maybe zip and also post the Postscript itself.
> Done.
>
>
>> Also, you say distilled to PDF for viewing ... what about viewing in Postscript like gsview?
>> Maybe the issue is in distilling and has nothing to do with RenderX.
> Good point.  I just tried GSView, the results are different but still not OK (whereas they are with PS obtained by exporting from the PDF in Acrobat).  I've also asked our customer what happens when they actually print it, which is the ultimate goal.
>
> Regards,
>
> --
> François
>
>> Kevin
>>
>> -----Original Message-----
>> From: Xep-support [mailto:xep-support-bounces at renderx.com] On Behalf 
>> Of François Yergeau
>> Sent: Thursday, September 06, 2018 4:13 PM
>> To: xep-support at renderx.com
>> Subject: [xep-support] Problem with images embedded in Postscript 
>> docs
>>
>> Hello all,
>>
>> We create Postscript and PDF documents from the same FO using XEP (4.21 if that matters, soon to be updated).  Recently we have started embedding images in our docs, and the following problem has shown up:
>> the images show up fine in the PDFs, but are defective in the Postscript versions, created in the same run with the exact same FO.
>>
>> The images are PNG and JPEG and are embedded using 
>> <fo:external-graphic>.  In the XEP-generated Postscript (distilled to 
>> PDF for viewing), some images come out as if grossly magnified 
>> (enormous
>> pixels) but cropped to their normal sizes. Another one appears almost normal, but somehow blurred as if seen through a mesh.
>>
>> As an experiment, I loaded a XEP-generated PDF in Acrobat and exported it to Postscript.  Re-distilling that doc to PDF for viewing, the images were all correct!  Obviously the FO has all it takes to generate a correct rendering, but somehow XEP doesn't mange when going direct to Postscript, but does perfectly well to PDF.
>>
>> Any hint as to what causes that and how to fix it would be very welcome.
>>
>> --
>> François Yergeau
>>
>>
>> _______________________________________________
>> (*) To unsubscribe, please visit
>> http://lists.renderx.com/mailman/options/xep-support
>> (*) By using the Service, you expressly agree to these Terms of 
>> Service http://w ww.renderx.com/terms-of-service.html
>>
>> _______________________________________________
>> (*) To unsubscribe, please visit
>> http://lists.renderx.com/mailman/options/xep-support
>> (*) By using the Service, you expressly agree to these Terms of 
>> Service http://w ww.renderx.com/terms-of-service.html
>
>




More information about the Xep-support mailing list