|
|
OK... got it!
On Fri, 19 Apr 2024 at 11:30, 'Matthias Melcher' via fltk.general
<fltkgeneral@googlegroups.com> wrote:
>
> If you store a compressed SVG (svgz) as binary data in an Inline Data node, Fl_SVG_Image will uncompress it.
>
> If you store an uncompressed SVG (svg, no z) as Inline Data, and you ask FLUID to compress it, you need to manually uncompress it first and Fl_SVG_Image will then read the uncompressed data.
>
> FLUID compression != SVG compression
>
> The documentation means that Fl_SVG_Image::Fl_SVG_Image(const char *, const char*) read SVG data, and Fl_SVG_Image::Fl_SVG_Image(const char *, const unsigned char*, size_t) reads SVGZ data. But the SVGZ reader is smart enough to recognize SVG data and reads that too.
>
> --
> You received this message because you are subscribed to the Google Groups "fltk.general" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/c502412b-804d-4bd5-b336-afff203fa9e7n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAGFM6daVVOq%2Bgoe-zrvhbaZ8vAk%3DT1mMnDpPzmXn8%3Dhaw1veag%40mail.gmail.com.
[ Direct Link to Message ] | |
|
| |