drawingSvgCompileIcon(pIconName) always BLACK

J. Landman Gay jacque at hyperactivesw.com
Wed Apr 6 11:59:52 EDT 2022


The IDE supports importing SVG images from the Import As Control menu. Does 
that work any differently?

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 6, 2022 8:36:29 AM Klaus major-k via use-livecode 
<use-livecode at lists.runrev.com> wrote:

> Just made a test and it looks like the resulting images from
> drawingSvgCompileIcon(pIconName) cannot even be screenshot-ted!?
> Results in a greyish rectangle? WTF?
>
> Tried as PNG and JPEG.
>
> see screenshot here:
> <https://www.dropbox.com/s/e3q38iaff7cqaz4/no_screenshot.jpg?dl=0>
>
>> Am 06.04.2022 um 15:23 schrieb Klaus major-k via use-livecode 
>> <use-livecode at lists.runrev.com>:
>>
>> Hi all,
>>
>> drawingSvgCompileIcon(pIconName) is really great,
>> but the resulting images are always black.
>>
>> I can of course add a "color overlay" but when I use them as
>> "imagesource" it uses the original black images.
>>
>> Any hints on how to add color to them when using them
>> as "imagesource" in a field without screenshotting them or
>> exporting them, add color in an image editing app and
>> reimport them as images?
>>
>> Thanks for any hint!
>
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list