drawingSvgCompileIcon(pIconName) always BLACK
Klaus major-k
klaus at major-k.de
Wed Apr 6 12:10:23 EDT 2022
Hi Jaques,
> Am 06.04.2022 um 17:59 schrieb J. Landman Gay via use-livecode <use-livecode at lists.runrev.com>:
>
> The IDE supports importing SVG images from the Import As Control menu. Does that work any differently?
not tested (yet).
> --
> 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!
Best
Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de
More information about the use-livecode
mailing list