You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by guttustand <gu...@yahoo.com> on 2009/11/17 22:39:26 UTC
Post Script file is not getting processed by FOP 9.4
Hi,
I have a PS file which is not getting processed by FOP. This is what I am
doing, I have an XSL , Postscript file . The intend is to give the PS and
XSL to FOP . The FOP will embed the PS file at the co-ordinates given in the
XSL file.
I am able to open my input PS file using GhostView, but when after passing
the PS through FOP, the output of FOP is blank ie it is not having any image
I have attached the PS file which I give as an Input
Can you tell me http://old.nabble.com/file/p26396487/input.eps input.eps
--
View this message in context: http://old.nabble.com/Post-Script-file-is-not-getting-processed-by-FOP-9.4-tp26396487p26396487.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Post Script file is not getting processed by FOP 9.4
Posted by Chris Bowditch <bo...@hotmail.com>.
guttustand wrote:
> Hello Chris
Hi,
>
> Thanks a lot for the response
>
> I am not aware of the Image experts group , do you have any mail ID for the
> group whom I can request
There isn't an image experts group. I was simply referring to a couple
of guys on here who have extensive knowledge of how images are handled
in FOP. They haven't answered yet, so I guess they must be busy.
Sorry I can't help further.
Chris
>
>
>
>
> cbowditch wrote:
>> guttustand wrote:
>>> Hi,
>> Hi,
>>
>>> I have a PS file which is not getting processed by FOP. This is what I am
>>> doing, I have an XSL , Postscript file . The intend is to give the PS and
>>> XSL to FOP . The FOP will embed the PS file at the co-ordinates given in
>>> the
>>> XSL file.
>>> I am able to open my input PS file using GhostView, but when after
>>> passing
>>> the PS through FOP, the output of FOP is blank ie it is not having any
>>> image
>>>
>>> I have attached the PS file which I give as an Input
>>>
>>> Can you tell me http://old.nabble.com/file/p26396487/input.eps input.eps
>> FOP claims to support EPS for PS output [1] But when I try this in trunk
>> I get the following error:
>>
>> [ERROR] FOUserAgent - Image not available. URI: input.ps. Reason:
>> org.apache.xml
>> graphics.image.loader.ImageException: The file format is not supported.
>> No Image
>> Preloader found for input.ps (See position 10:55)
>>
>> Perhaps one of the image experts can elaborate.
>>
>> Chris
>>
>> [1] http://xmlgraphics.apache.org/fop/trunk/graphics.html#eps
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Post Script file is not getting processed by FOP 9.4
Posted by guttustand <gu...@yahoo.com>.
Hello Chris
Thanks a lot for the response
I am not aware of the Image experts group , do you have any mail ID for the
group whom I can request
cbowditch wrote:
>
> guttustand wrote:
>> Hi,
>
> Hi,
>
>>
>> I have a PS file which is not getting processed by FOP. This is what I am
>> doing, I have an XSL , Postscript file . The intend is to give the PS and
>> XSL to FOP . The FOP will embed the PS file at the co-ordinates given in
>> the
>> XSL file.
>> I am able to open my input PS file using GhostView, but when after
>> passing
>> the PS through FOP, the output of FOP is blank ie it is not having any
>> image
>>
>> I have attached the PS file which I give as an Input
>>
>> Can you tell me http://old.nabble.com/file/p26396487/input.eps input.eps
>
> FOP claims to support EPS for PS output [1] But when I try this in trunk
> I get the following error:
>
> [ERROR] FOUserAgent - Image not available. URI: input.ps. Reason:
> org.apache.xml
> graphics.image.loader.ImageException: The file format is not supported.
> No Image
> Preloader found for input.ps (See position 10:55)
>
> Perhaps one of the image experts can elaborate.
>
> Chris
>
> [1] http://xmlgraphics.apache.org/fop/trunk/graphics.html#eps
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
--
View this message in context: http://old.nabble.com/Post-Script-file-is-not-getting-processed-by-FOP-9.4-tp26396487p26421471.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Post Script file is not getting processed by FOP 9.4
Posted by Chris Bowditch <bo...@hotmail.com>.
guttustand wrote:
> Hi,
Hi,
>
> I have a PS file which is not getting processed by FOP. This is what I am
> doing, I have an XSL , Postscript file . The intend is to give the PS and
> XSL to FOP . The FOP will embed the PS file at the co-ordinates given in the
> XSL file.
> I am able to open my input PS file using GhostView, but when after passing
> the PS through FOP, the output of FOP is blank ie it is not having any image
>
> I have attached the PS file which I give as an Input
>
> Can you tell me http://old.nabble.com/file/p26396487/input.eps input.eps
FOP claims to support EPS for PS output [1] But when I try this in trunk
I get the following error:
[ERROR] FOUserAgent - Image not available. URI: input.ps. Reason:
org.apache.xml
graphics.image.loader.ImageException: The file format is not supported.
No Image
Preloader found for input.ps (See position 10:55)
Perhaps one of the image experts can elaborate.
Chris
[1] http://xmlgraphics.apache.org/fop/trunk/graphics.html#eps
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Post Script file is not getting processed by FOP 9.4
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Your EPS file is not detected as EPS file because of the "%%BoundingBox: (atend)"
is not properly handled in PreloaderEPS.java (in XML Graphics Commons).
When I move the respective entries from the trailer to the header, FOP
processes the EPS file, but GhostScript complains about a stack
underflow. That could be a problem in the wrapper code for the EPS, but
I don't have enough time right now to investigate that. Sorry. I'd
appreciate if you could open a Bugzilla ticket [1] and attach the EPS
file there. That way, this issue doesn't get forgotten.
You could try to run your EPS through GhostScript to rewrite it (epswrite
device [2]). Maybe that's a work-around to get it to work with FOP.
[1] https://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop
[2] http://pages.cs.wisc.edu/~ghost/doc/svn/Devices.htm#EPS
On 17.11.2009 22:39:26 guttustand wrote:
>
> Hi,
>
> I have a PS file which is not getting processed by FOP. This is what I am
> doing, I have an XSL , Postscript file . The intend is to give the PS and
> XSL to FOP . The FOP will embed the PS file at the co-ordinates given in the
> XSL file.
> I am able to open my input PS file using GhostView, but when after passing
> the PS through FOP, the output of FOP is blank ie it is not having any image
>
> I have attached the PS file which I give as an Input
>
> Can you tell me http://old.nabble.com/file/p26396487/input.eps input.eps
> --
> View this message in context: http://old.nabble.com/Post-Script-file-is-not-getting-processed-by-FOP-9.4-tp26396487p26396487.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org