Re: Re: FLUID: how can I have SVG icons embedded in the code?
Gonzalo Garramulo
Apr 17, 2024
El 17/4/24 a las 13:57, 'Matthias
Melcher' via fltk.general escribió:
Tha Data Node type also improved quite a bit. You can choose if
you want your data to be stored as text, binary, or zlib
compressed. If you like, you can use Fl_PNG_Image("myImage", binaryData,
binaryDataSze); to read an image that way instead of using
the "Image" fields.
Yes. I get the options and I added the image, but the output is an
Fl_RGB_Image() not an Fl_SVG_Image() without having touched any of
the options. I am using a pretty recent branch on Linux:
265e5cd77b30581e7701927930d8fa887e0361df
As options, I get:
Scale - Width/Height set to 0,0
Storage - compressed: ticked
- bind to widget: off
No inactive image options.
BTW... have you thought of adding a version switch to fluid? So
it becomes easier to know if I am using the same version as yours?
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.