FMX and SVG

Hi,
We would like to start using SVG in our FMX application.
Our images/icons are now in imagelists which are referenced by a lot of components.
(e.g. TButton, TActionList, ...)

I have seen there is SVG support in the FNC library.
But it uses FNCBitmap rather then dedicated/enhanced imagelists.
This seems to break our chain to the components we use.

Is there a possibilty to use SVG with ActionLists in FMX?
Or is there an easy transformation/migration?
Any help or pointers are very much appreciated.

Thx, John

Unfortunately there are technical shortcomings preventing us from adding SVG support in default components in FMX. The registration mechanism is not picked up at designtime and the drawing mechanism is tied to the default TBitmap implementation expecting a valid image type (bmp, jpeg, png, ...). A workaround would be to override the drawing of TImageList and offer our own TImageList. We have added this on our feature request list.

Thx Pieter,
So I conclude it is not possible to make a seamless transition to SVG at this point with the existing components.
Hopefully it will be possible in the (near) future.

Unfortunately at this moment, it's not possible. Only FNC components support SVG in FMX..

Yep, I know and understand.

I tried to create a new blank Multi device Application in my Delphi 10.4.2.
Then I dropped a TTMSFNCSVGImageCollection on the form.

This will result in this USES clause:
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
Vcl.BaseImageCollection,
Vcl.TMSFNCTypes;

I would not expect so see VCL entries there.

The TTMSFNCSVGImageCollection is a VCL specific component

Ok.
I would expect that FNC controls were available for all platforms.
Maybe the package should be changed in that the component isn't selectable in a multi device application?

We'll investigate if that can be done. When registering a non-visual TComponent descendant, the component is available for VCL & FMX by default.