You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2006/02/24 21:44:43 UTC
DO NOT REPLY [Bug 38782] New: - BridgeException when transcoding particular svg file...
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38782>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38782
Summary: BridgeException when transcoding particular svg file...
Product: Batik
Version: 1.6
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Bridge
AssignedTo: batik-dev@xmlgraphics.apache.org
ReportedBy: steveshaw@ca.ibm.com
Executing the following code causes a BridgeException:
InputStream in = new FileInputStream("c:\\3d.svg");
ImageTranscoder transcoder = new ImageTranscoder() {
public BufferedImage createImage(int w, int h) {
return new BufferedImage(w, h,
BufferedImage.TYPE_INT_ARGB);
}
public void writeImage(BufferedImage img, TranscoderOutput
arg1)
throws TranscoderException {
// do nothing
}
};
TranscoderInput input = new TranscoderInput(in);
TranscoderOutput output = new TranscoderOutput();
try {
transcoder.transcode(input, output);
} catch (TranscoderException exp) {
// TODO Auto-generated catch block
exp.printStackTrace();
}
See attachment for particular svg file.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org
DO NOT REPLY [Bug 38782] - BridgeException when transcoding particular svg file...
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38782>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38782
deweese@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From deweese@apache.org 2006-03-05 04:22 -------
You don't say exactly what the BridgeException is but I
assume it is:
An I/O error occured while processing the URI:
"batikLogo.svg#Batik_Squiggle"
The problem is that when you use a FileInputStream it
has no idea what the location of the source document
is (it just sees an InputStream), hence it has no way
to resolve relative paths.
I would suggest providing the URL of the document being
transcoded.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org
DO NOT REPLY [Bug 38782] - BridgeException when transcoding particular svg file...
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38782>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38782
------- Additional Comments From steveshaw@ca.ibm.com 2006-02-24 21:45 -------
Created an attachment (id=17795)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=17795&action=view)
SVG file that demonstrates the problem
attached problem svg file
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org