Sorry, I didn't catch that earlier but your URL is malformed. It is missing the ";base64" part before the comma. Without this, the content is interpreted as ASCII data. See: http://www.faqs.org/rfcs/rfc2397.html
Your URL needs to look like this: data:;base64,/9j/4AAQS...... On 26.04.2006 09:08:48 news wrote: > Hello, > Hello again. > I ve downloadet FOP 0.92 today and tryed to run my fo file with it. I still > get an error saying: > > C:\work\FOP092>fop ../bild.fo bild.pdf > 26.04.2006 09:06:39 org.apache.fop.fo.PropertyList handleInvalidProperty > SCHWERWIEGEND: property 'usage-context-of-suppress-at-line-break' ignored > 26.04.2006 09:06:39 org.apache.fop.image.ImageFactory loadImage > SCHWERWIEGEND: Unable to obtain stream from id 'null' > 26.04.2006 09:06:39 org.apache.fop.fo.flow.ExternalGraphic bind > SCHWERWIEGEND: Image not available: > data:,/9j/4AAQSkZJRgABAQEASwBLAAD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBw > > with best regards, > Jan > > > -----Ursprüngliche Nachricht----- > Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 11. April 2006 16:30 > An: [email protected] > Betreff: Re: external-grafic content - FOP 091 > > > Support for RFC2397 data URLs is built into FOP Trunk today and will be > available with FOP 0.92. Otherwise, use the solution pointed out by > Manuel. > > On 11.04.2006 10:15:22 news wrote: > > Hello List, > > > > I ve got a Formatting Object including a fo:external-grafic with binary > > content. If I want to convert this, I get the following exception: > > java.net.MalformedURLException: unknown protocol: data > > > > The source attribute looks like this: > > <fo:external-graphic content-width="96.75pt" content-height="96pt" > > scaling="non-uniform" src="data:,/9j/4AAQSkZJRgABAQEASwBLAAD .... > > > > is it planned to support the data: protocol? Or is there any other way I > can > > make FOP091 render the data inside the source attribute? > > > > with best regards, > > Jan Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
