This sounds somewhat similar to a bug I reported a while back: http://issues.apache.org/bugzilla/show_bug.cgi?id=40091
I added a comment to that bug pointing to this thread. On 9/25/07, Guillaume Rosauro <[EMAIL PROTECTED]> wrote: > > Hi, > > > I have got a strange problem while I try to transcode some svg files. > The SVG file is quite simple : it only contains an image tag. > > <svg contentScriptType="text/ecmascript" width="197" xmlns:xlink=" > http://www.w3.org/1999/xlink" zoomAndPan="magnify" > contentStyleType="text/css" height="301" preserveAspectRatio="xMidYMid meet" > xmlns=" http://www.w3.org/2000/svg" version="1.0"> > <g id="maing" transform="scale(0.08447684391080618)"> > <g id="imagebase"> > <image x="0" y="0" width="2332" xmlns:xlink=" > http://www.w3.org/1999/xlink" xlink:href="file:/d:/data/bigfileimage.jpg" > style="image-rendering:optimizeQuality;" xlink:type="simple" > xlink:actuate="onLoad" height="3492" preserveAspectRatio="xMidYMid meet" > xlink:show="embed"/> > </g> > </g> > </svg> > > > > I try to transcode the "bigfileimage.jpg" to change its size and its > pixels_per_unit value. I use the simple saveAsJPEG from > http://xmlgraphics.apache.org/batik/using/transcoder.html > . > > > The problem is that is not working on large images. The "bigfileimage.jpg" > is about 1,07 Mo. > Transcoder sends me back this error : > > The URI "file:/d:/data/bigfileimage.jpg" > on element <image> can't be opened because: > JPEG URL is corrupt or unsupported variant > > > If I decrease the size of the jpeg image at about 650-700ko everything > works fine. Above this value, transcoder fails. > Does anybody got the same result? > > It sounds like a bug but I'd like to be sure of this behaviour before > posting on the bugs mailing list. > > > Thanks > > > Guillaume > > > -- Archie L. Cobbs CTO, Awarix, Inc. http://www.awarix.com
