cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Dupuy <ddu...@baan.com>
Subject RE: display-graphic
Date Wed, 23 Aug 2000 08:04:55 GMT
about an original bitmap...I don't know..I haven't succeeded yet...but there
are some tools which transform a bitmap file into a SVG file. The one I
found, takes only a 256-color bitmap..

-----Original Message-----
From: Harmen Dijkstra [mailto:harmen@lineupnet.com]
Sent: 22. august 2000 17:19
To: cocoon-users@xml.apache.org
Subject: RE: display-graphic


Jah, that's a SVG, how about bitmaps, that's the original question!

At 03:58 PM 8/21/00 +0200, you wrote:
>that's insert a svg file. It's an HTML tag.
><EMBED NAME="SVGTest"  SRC="clock.svg" />
>
>or
>The following code is borrowed from a Cocoon example.
>...
><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
>xmlns:svg="http://www.w3.org/Graphics/SVG/SVG-19990812.dtd">
>...
><svg:svg width="400pt" height="200pt">
>         <svg:rect x="20pt" y="20pt" width="100pt" height="100pt"/>
>         <svg:line x1="20pt" y1="20pt" x2="120pt" y2="120pt"/>
>         <svg:line x1="120pt" y1="20pt" x2="20pt" y2="120pt"/>
>         <svg:text x="20pt" y="150pt">Hello SVG!</svg:text>
></svg:svg>
>
>David
>
>-----Original Message-----
>From: tcurdt@dff.st [mailto:tcurdt@dff.st]
>Sent: 21. august 2000 13:46
>To: cocoon-users@xml.apache.org; David Dupuy
>Subject: RE: display-graphic
>
>
> > There is also :
> > <fo:external-graphic src="file:mypic.jpg"/>
> > But I've got this error :
> > "Unknown formatting object
> > http://www.w3.org/1999/XSL/Format^external-graphic"
> >
> > This method is borrowed from an example of FOP itself...maybe it may be
> > not implemented yet...but it's declared implemented in the features....
>
>...I tried inline-graphic and external-graphic as well but
>I get unknown formatting object, too! Isn't there anybody
>that has created a pdf with a image inside?
>
> > Tell me if you succeed in displaying a picture...otherwise there is
> > still
> > SVG which works.
>
>How can I do this? With a instream-foreign-object?
>--
>Torsten
>
> >> I don't get pictures to show up in my pdfs.
> >> I always get "unsupported bmp format"
> >>
> >> I just took this out of the sample...
> >>
> >> <fo:display-graphic href="mypic.jpg"/>
> >>
> >> (Of course I tried different bmp formats...
> >>  which one is the right one?)
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org

Mime
View raw message