[gl2ps] SVG / bitmaps

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue May 1 17:06:36 CEST 2007


barrand wrote:
>     Hello
> 
>    Else, I have tried the SVG file production by using the 1.3.2  
> version.
>   But I have only partial output of my things. I clearly miss all things
>   related to bitmaps.  (Then, for me, the visualization of TTF fonts
>   and the polymarkers).
>    Then the question, are the bitmaps  handled with SVG ?
> 

Hi Guy - to handle bitmaps with SVG your app needs to be linked with
libpng, and you need to compile gl2ps.c with "GL2PS_HAVE_LIBPNG" defined
(this gets defined automatically in certain cases: look at gl2ps.h).

GL2PS then automatically embeds little base64-encoded PNG versions of
your bitmaps in the SVG file.

Cheers,
Christophe


>      Regards
> 
>        Guy Barrand
> 
> 
> _______________________________________________
> gl2ps mailing list
> gl2ps at geuz.org
> http://www.geuz.org/mailman/listinfo/gl2ps
> 
> 


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine