unsupported stream format in TFNClistbox

Updated today to last version of FNC components. Using Delphi 11.1 patch1, win11
When loading a form with a TFNClistbox or adding a new one in a VCL app I am getting the above error.
The trace from the IDE is:

[70363079]{vcl280.bpl  } Vcl.Graphics.InvalidGraphic (Line 4401, "Vcl.Graphics.pas" + 1) + $E
[7036654F]{vcl280.bpl  } Vcl.Graphics.TPicture.LoadFromStream (Line 6117, "Vcl.Graphics.pas" + 9) + $5
[4F152E08]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCTypes.Tmsfnctypes.TTMSFNCBitmapHelper.LoadFromResource (Line 1223, "VCL.TMSFNCTypes.pas" + 7) + $11
[4F152851]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCTypes.Tmsfnctypes.TTMSFNCBitmapHelper.CreateFromResource (Line 1073, "VCL.TMSFNCTypes.pas" + 2) + $9
[7EB0E84E]{VCLTMSFNCUIPackPkgDXE14.bpl} VCL.TMSFNCCustomTreeView.Tmsfnccustomtreeview.TTMSFNCTreeViewNodesAppearance.Create (Line 8765, "VCL.TMSFNCCustomTreeView.pas" + 39) + $10
[7EB06AA5]{VCLTMSFNCUIPackPkgDXE14.bpl} VCL.TMSFNCCustomTreeView.Tmsfnccustomtreeview.TTMSFNCCustomTreeView.Create (Line 5622, "VCL.TMSFNCCustomTreeView.pas" + 21) + $A
[7EB20D78]{VCLTMSFNCUIPackPkgDXE14.bpl} VCL.TMSFNCListBox.Tmsfnclistbox.TTMSFNCCustomListBox.Create (Line 827, "VCL.TMSFNCListBox.pas" + 9) + $A
[500689A0]{rtl280.bpl  } System.@IntfClear (Line 38564, "System.pas" + 10) + $0
[21CF9D67]{delphicoreide280.bpl} CompPalMgr.TComponentPalettePageItemDelegate.CreateComponent (Line 2715, "CompPalMgr.pas" + 2) + $7
[20F6906C]{designide280.bpl} ComponentDesigner.TComponentRoot.DoCreateComponent (Line 2523, "ComponentDesigner.pas" + 34) + $17
[20F68858]{designide280.bpl} ComponentDesigner.TComponentRoot.CreateComponent (Line 2324, "ComponentDesigner.pas" + 1) + $1E
[21CF61B8]{delphicoreide280.bpl} CompPalMgr.TPalettePageItem.Execute (Line 1317, "CompPalMgr.pas" + 4) + $1E
[207FE6C2]{coreide280.bpl} ToolFrm.TToolForm.DoItemExecute (Line 2873, "ToolFrm.pas" + 4) + $5
[207FA4D4]{coreide280.bpl} ToolFrm.TToolForm.PaletteButtonClicked (Line 1317, "ToolFrm.pas" + 15) + $4
[7053CED1]{vcl280.bpl  } Vcl.CategoryButtons.TCategoryButtons.DoItemClicked (Line 2313, "Vcl.CategoryButtons.pas" + 13) + $A
[7053CC6E]{vcl280.bpl  } Vcl.CategoryButtons.TCategoryButtons.MouseUp (Line 2233, "Vcl.CategoryButtons.pas" + 13) + $C
[50060276]{rtl280.bpl  } System.@CallDynaInst (Line 18662, "System.pas" + 4) + $0
[703886EC]{vcl280.bpl  } Vcl.Controls.TControl.DoMouseUp (Line 7792, "Vcl.Controls.pas" + 2) + $25
[7038877A]{vcl280.bpl  } Vcl.Controls.TControl.WMLButtonUp (Line 7805, "Vcl.Controls.pas" + 9) + $6
[7038AEC7]{vcl280.bpl  } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9412, "Vcl.Controls.pas" + 0) + $F
[70387D62]{vcl280.bpl  } Vcl.Controls.TControl.WndProc (Line 7548, "Vcl.Controls.pas" + 91) + $6
[704C2E10]{vcl280.bpl  } Vcl.Forms.TCustomForm.WndProc (Line 4758, "Vcl.Forms.pas" + 1) + $37
[704C34C8]{vcl280.bpl  } Vcl.Forms.TCustomForm.WndProc (Line 4979, "Vcl.Forms.pas" + 222) + $5
[704C34DD]{vcl280.bpl  } Vcl.Forms.TCustomForm.WndProc (Line 4980, "Vcl.Forms.pas" + 223) + $10
[70387998]{vcl280.bpl  } Vcl.Controls.TControl.Perform (Line 7326, "Vcl.Controls.pas" + 10) + $8
[704CF72F]{vcl280.bpl  } Vcl.Forms.TApplication.DispatchAction (Line 12593, "Vcl.Forms.pas" + 9) + $C
[704CCA5D]{vcl280.bpl  } Vcl.Forms.TApplication.WndProc (Line 10883, "Vcl.Forms.pas" + 112) + $B
[500D5922]{rtl280.bpl  } System.Generics.Defaults.Equals_Class (Line 1138, "System.Generics.Defaults.pas" + 1) + $6
[705B60DB]{vcl280.bpl  } Vcl.Styles.{System.Generics.Collections}TDictionary<System.Classes.TComponent,Vcl.Themes.TStyleHook>.GetBucketIndex (Line 7098, "System.Generics.Collections.pas" + 16) + $15
[704D28E2]{vcl280.bpl  } Vcl.Forms.TScrollingStyleHook.AcceptMessage (Line 14220, "Vcl.Forms.pas" + 1) + $4
[704913A7]{vcl280.bpl  } Vcl.Themes.TStyleHook.HandleMessage (Line 7377, "Vcl.Themes.pas" + 3) + $6
[705B1672]{vcl280.bpl  } Vcl.Styles.TStyleEngine.HandleMessage (Line 3601, "Vcl.Styles.pas" + 22) + $7
[7038C60B]{vcl280.bpl  } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 10334, "Vcl.Controls.pas" + 1) + $9
[7048DE38]{vcl280.bpl  } Vcl.Themes.TStyleManager.HandleMessage (Line 5858, "Vcl.Themes.pas" + 11) + $11
[7038CE79]{vcl280.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10583, "Vcl.Controls.pas" + 170) + $6
[7053E607]{vcl280.bpl  } Vcl.CategoryButtons.TCategoryButtons.WndProc (Line 3143, "Vcl.CategoryButtons.pas" + 24) + $4
[7038C3F4]{vcl280.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 10271, "Vcl.Controls.pas" + 3) + $6
[50174A30]{rtl280.bpl  } System.Classes.StdWndProc (Line 18375, "System.Classes.pas" + 8) + $0
[5005FB1A]{rtl280.bpl  } System.UTF8IdentStringCompare (Line 17670, "System.pas" + 3) + $4
[1CB251D8]{CnWizards_D110A.DLL} Unknown function at __dbk_fcall_wrapper + $634C0
[207FA0B8]{coreide280.bpl} ToolFrm.TToolForm.PaletteHook (Line 1176, "ToolFrm.pas" + 14) + $1E
[50174A30]{rtl280.bpl  } System.Classes.StdWndProc (Line 18375, "System.Classes.pas" + 8) + $0
[1CCEF7A0]{CnWizards_D110A.DLL} Unknown function at INITWIZARD0001 + $159E90
[1CB5E452]{CnWizards_D110A.DLL} Unknown function at __dbk_fcall_wrapper + $9C73A
[211D4F17]{vclide280.bpl} IDEVirtualTrees.TVirtualTreeHintWindow.IsHintMsg (Line 7111, "IDEVirtualTrees.pas" + 7) + $13
[704CD697]{vcl280.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 11336, "Vcl.Forms.pas" + 23) + $1
[704CD6DA]{vcl280.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 11366, "Vcl.Forms.pas" + 1) + $4
[704CDA19]{vcl280.bpl  } Vcl.Forms.TApplication.Run (Line 11505, "Vcl.Forms.pas" + 27) + $3
[004F7FA2]{bds.exe     } bds.bds (Line 227, "" + 16) + $2

unstalling and re-installing FNC core and FNC UI did not help
any ideas?

uninstalling CNwizards does not return these unknown functions but does not solve the problem

Do you have other third party tools installed that might install an SVG image class?

only components like from EtheaDev
From IDE tools I have Eurekalog, RemObjects Hydra, TMSLogging, Codex, Codsite, CnWizards
But nothing new or updated in them the last months

The same happens with the following
FNCcolorPicker
fnccolorselector
fnceditbutton
fnccheckedlistbox
fncplanner
fncricheditortoolbarpopup
fncricheditoredittoolbar
fncricheditorformattoolbar
fncsearchedit
fnctoolbarpopup
fnctoolbar
fnctoolbarcolorpicker
fnctreeview
fnccheckedtreeview
fncgridtoolbarpopup
fncplannertoolbarpopup

Others give an access violation error:
adding fnctableview in an empty form gives the following access violation error:

[50159824]{rtl280.bpl  } System.Classes.TCollection.GetCount (Line 6373, "System.Classes.pas" + 0) + $0
[70363079]{vcl280.bpl  } Vcl.Graphics.InvalidGraphic (Line 4401, "Vcl.Graphics.pas" + 1) + $E
[7036654F]{vcl280.bpl  } Vcl.Graphics.TPicture.LoadFromStream (Line 6117, "Vcl.Graphics.pas" + 9) + $5
[35382E08]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCTypes.Tmsfnctypes.TTMSFNCBitmapHelper.LoadFromResource (Line 1223, "VCL.TMSFNCTypes.pas" + 7) + $11
[353843D7]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCTypes.Tmsfnctypes.TTMSFNCScaledBitmaps.AddBitmapFromResource (Line 2005, "VCL.TMSFNCTypes.pas" + 2) + $C
[388484EA]{VCLTMSFNCUIPackPkgDXE14.bpl} VCL.TMSFNCTableView.Tmsfnctableview.TTMSFNCCustomTableView.Create (Line 1964, "VCL.TMSFNCTableView.pas" + 28) + $1F
[21CF9D67]{delphicoreide280.bpl} CompPalMgr.TComponentPalettePageItemDelegate.CreateComponent (Line 2715, "CompPalMgr.pas" + 2) + $7
[20F6906C]{designide280.bpl} ComponentDesigner.TComponentRoot.DoCreateComponent (Line 2523, "ComponentDesigner.pas" + 34) + $17
[20F68858]{designide280.bpl} ComponentDesigner.TComponentRoot.CreateComponent (Line 2324, "ComponentDesigner.pas" + 1) + $1E
[21CF61B8]{delphicoreide280.bpl} CompPalMgr.TPalettePageItem.Execute (Line 1317, "CompPalMgr.pas" + 4) + $1E
[207FE6C2]{coreide280.bpl} ToolFrm.TToolForm.DoItemExecute (Line 2873, "ToolFrm.pas" + 4) + $5
[207FA4D4]{coreide280.bpl} ToolFrm.TToolForm.PaletteButtonClicked (Line 1317, "ToolFrm.pas" + 15) + $4
[7053CED1]{vcl280.bpl  } Vcl.CategoryButtons.TCategoryButtons.DoItemClicked (Line 2313, "Vcl.CategoryButtons.pas" + 13) + $A
[7053CC6E]{vcl280.bpl  } Vcl.CategoryButtons.TCategoryButtons.MouseUp (Line 2233, "Vcl.CategoryButtons.pas" + 13) + $C
[50060276]{rtl280.bpl  } System.@CallDynaInst (Line 18662, "System.pas" + 4) + $0
[703886EC]{vcl280.bpl  } Vcl.Controls.TControl.DoMouseUp (Line 7792, "Vcl.Controls.pas" + 2) + $25
[7038877A]{vcl280.bpl  } Vcl.Controls.TControl.WMLButtonUp (Line 7805, "Vcl.Controls.pas" + 9) + $6
[70387D62]{vcl280.bpl  } Vcl.Controls.TControl.WndProc (Line 7548, "Vcl.Controls.pas" + 91) + $6
[7038CE79]{vcl280.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10583, "Vcl.Controls.pas" + 170) + $6
[7039004D]{vcl280.bpl  } Vcl.Controls.TWinControl.Update (Line 12679, "Vcl.Controls.pas" + 1) + $12
[70390065]{vcl280.bpl  } Vcl.Controls.TWinControl.Repaint (Line 12685, "Vcl.Controls.pas" + 2) + $4
[704D2965]{vcl280.bpl  } Vcl.Forms.TScrollingStyleHook.PaintScroll (Line 14243, "Vcl.Forms.pas" + 5) + $2
[704D321A]{vcl280.bpl  } Vcl.Forms.TScrollingStyleHook.WMLButtonUp (Line 14601, "Vcl.Forms.pas" + 41) + $4
[70491BD9]{vcl280.bpl  } Vcl.Themes.TStyleHook.WndProc (Line 7689, "Vcl.Themes.pas" + 38) + $6
[70491DBA]{vcl280.bpl  } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7788, "Vcl.Themes.pas" + 1) + $4
[704D3928]{vcl280.bpl  } Vcl.Forms.TScrollingStyleHook.WndProc (Line 14823, "Vcl.Forms.pas" + 0) + $0
[704913FE]{vcl280.bpl  } Vcl.Themes.TStyleHook.HandleMessage (Line 7394, "Vcl.Themes.pas" + 20) + $6
[705B1672]{vcl280.bpl  } Vcl.Styles.TStyleEngine.HandleMessage (Line 3601, "Vcl.Styles.pas" + 22) + $7
[7038C60B]{vcl280.bpl  } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 10334, "Vcl.Controls.pas" + 1) + $9
[7048DE38]{vcl280.bpl  } Vcl.Themes.TStyleManager.HandleMessage (Line 5858, "Vcl.Themes.pas" + 11) + $11
[7038CE79]{vcl280.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10583, "Vcl.Controls.pas" + 170) + $6
[7053E607]{vcl280.bpl  } Vcl.CategoryButtons.TCategoryButtons.WndProc (Line 3143, "Vcl.CategoryButtons.pas" + 24) + $4
[7038C3F4]{vcl280.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 10271, "Vcl.Controls.pas" + 3) + $6
[50174A30]{rtl280.bpl  } System.Classes.StdWndProc (Line 18375, "System.Classes.pas" + 8) + $0
[207FA0B8]{coreide280.bpl} ToolFrm.TToolForm.PaletteHook (Line 1176, "ToolFrm.pas" + 14) + $1E
[50174A30]{rtl280.bpl  } System.Classes.StdWndProc (Line 18375, "System.Classes.pas" + 8) + $0
[704C8C06]{vcl280.bpl  } Vcl.Forms.TraverseClients (Line 8041, "Vcl.Forms.pas" + 8) + $6
[5006012E]{rtl280.bpl  } System.@IsClass (Line 18494, "System.pas" + 1) + $8
[704CD697]{vcl280.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 11336, "Vcl.Forms.pas" + 23) + $1
[704CD6DA]{vcl280.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 11366, "Vcl.Forms.pas" + 1) + $4
[704CDA19]{vcl280.bpl  } Vcl.Forms.TApplication.Run (Line 11505, "Vcl.Forms.pas" + 27) + $3
[004F7FA2]{bds.exe     } bds.bds (Line 227, "" + 16) + $2

Adding FNCribbon the followign access violation error

[50159824]{rtl280.bpl  } System.Classes.TCollection.GetCount (Line 6373, "System.Classes.pas" + 0) + $0
[70363079]{vcl280.bpl  } Vcl.Graphics.InvalidGraphic (Line 4401, "Vcl.Graphics.pas" + 1) + $E
[7036654F]{vcl280.bpl  } Vcl.Graphics.TPicture.LoadFromStream (Line 6117, "Vcl.Graphics.pas" + 9) + $5
[35382E08]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCTypes.Tmsfnctypes.TTMSFNCBitmapHelper.LoadFromResource (Line 1223, "VCL.TMSFNCTypes.pas" + 7) + $11
[353843D7]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCTypes.Tmsfnctypes.TTMSFNCScaledBitmaps.AddBitmapFromResource (Line 2005, "VCL.TMSFNCTypes.pas" + 2) + $C
[385C5B23]{VCLTMSFNCUIPackPkgDXE14.bpl} VCL.TMSFNCToolBar.Tmsfnctoolbar.TTMSFNCCustomToolBar.Create (Line 1907, "VCL.TMSFNCToolBar.pas" + 102) + $1F
[3886EA40]{VCLTMSFNCUIPackPkgDXE14.bpl} VCL.TMSFNCRibbon.Tmsfncribbon.TTMSFNCCustomRibbon.CreateQAT (Line 1802, "VCL.TMSFNCRibbon.pas" + 3) + $D
[3886FC7F]{VCLTMSFNCUIPackPkgDXE14.bpl} VCL.TMSFNCRibbon.Tmsfncribbon.TTMSFNCCustomRibbon.Initialize (Line 2372, "VCL.TMSFNCRibbon.pas" + 4) + $5
[38871544]{VCLTMSFNCUIPackPkgDXE14.bpl} VCL.TMSFNCRibbon.Tmsfncribbon.TTMSFNCCustomRibbon.SetName (Line 2930, "VCL.TMSFNCRibbon.pas" + 4) + $5
[20F691F4]{designide280.bpl} ComponentDesigner.TComponentRoot.DoCreateComponent (Line 2553, "ComponentDesigner.pas" + 64) + $2F
[20F68858]{designide280.bpl} ComponentDesigner.TComponentRoot.CreateComponent (Line 2324, "ComponentDesigner.pas" + 1) + $1E
[21CF61B8]{delphicoreide280.bpl} CompPalMgr.TPalettePageItem.Execute (Line 1317, "CompPalMgr.pas" + 4) + $1E
[207FE6C2]{coreide280.bpl} ToolFrm.TToolForm.DoItemExecute (Line 2873, "ToolFrm.pas" + 4) + $5
[207FA4D4]{coreide280.bpl} ToolFrm.TToolForm.PaletteButtonClicked (Line 1317, "ToolFrm.pas" + 15) + $4
[7053CED1]{vcl280.bpl  } Vcl.CategoryButtons.TCategoryButtons.DoItemClicked (Line 2313, "Vcl.CategoryButtons.pas" + 13) + $A
[7053CC6E]{vcl280.bpl  } Vcl.CategoryButtons.TCategoryButtons.MouseUp (Line 2233, "Vcl.CategoryButtons.pas" + 13) + $C
[50060276]{rtl280.bpl  } System.@CallDynaInst (Line 18662, "System.pas" + 4) + $0
[703886EC]{vcl280.bpl  } Vcl.Controls.TControl.DoMouseUp (Line 7792, "Vcl.Controls.pas" + 2) + $25
[7038877A]{vcl280.bpl  } Vcl.Controls.TControl.WMLButtonUp (Line 7805, "Vcl.Controls.pas" + 9) + $6
[70387D62]{vcl280.bpl  } Vcl.Controls.TControl.WndProc (Line 7548, "Vcl.Controls.pas" + 91) + $6
[7038CE79]{vcl280.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10583, "Vcl.Controls.pas" + 170) + $6
[7039004D]{vcl280.bpl  } Vcl.Controls.TWinControl.Update (Line 12679, "Vcl.Controls.pas" + 1) + $12
[70390065]{vcl280.bpl  } Vcl.Controls.TWinControl.Repaint (Line 12685, "Vcl.Controls.pas" + 2) + $4
[704D2965]{vcl280.bpl  } Vcl.Forms.TScrollingStyleHook.PaintScroll (Line 14243, "Vcl.Forms.pas" + 5) + $2
[704D321A]{vcl280.bpl  } Vcl.Forms.TScrollingStyleHook.WMLButtonUp (Line 14601, "Vcl.Forms.pas" + 41) + $4
[70491BD9]{vcl280.bpl  } Vcl.Themes.TStyleHook.WndProc (Line 7689, "Vcl.Themes.pas" + 38) + $6
[70491DBA]{vcl280.bpl  } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7788, "Vcl.Themes.pas" + 1) + $4
[704D3928]{vcl280.bpl  } Vcl.Forms.TScrollingStyleHook.WndProc (Line 14823, "Vcl.Forms.pas" + 0) + $0
[704913FE]{vcl280.bpl  } Vcl.Themes.TStyleHook.HandleMessage (Line 7394, "Vcl.Themes.pas" + 20) + $6
[705B1672]{vcl280.bpl  } Vcl.Styles.TStyleEngine.HandleMessage (Line 3601, "Vcl.Styles.pas" + 22) + $7
[7038C60B]{vcl280.bpl  } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 10334, "Vcl.Controls.pas" + 1) + $9
[7048DE38]{vcl280.bpl  } Vcl.Themes.TStyleManager.HandleMessage (Line 5858, "Vcl.Themes.pas" + 11) + $11
[7038CE79]{vcl280.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10583, "Vcl.Controls.pas" + 170) + $6
[7053E607]{vcl280.bpl  } Vcl.CategoryButtons.TCategoryButtons.WndProc (Line 3143, "Vcl.CategoryButtons.pas" + 24) + $4
[7038C3F4]{vcl280.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 10271, "Vcl.Controls.pas" + 3) + $6
[50174A30]{rtl280.bpl  } System.Classes.StdWndProc (Line 18375, "System.Classes.pas" + 8) + $0
[207FA0B8]{coreide280.bpl} ToolFrm.TToolForm.PaletteHook (Line 1176, "ToolFrm.pas" + 14) + $1E
[50174A30]{rtl280.bpl  } System.Classes.StdWndProc (Line 18375, "System.Classes.pas" + 8) + $0
[704C8C06]{vcl280.bpl  } Vcl.Forms.TraverseClients (Line 8041, "Vcl.Forms.pas" + 8) + $6
[5006012E]{rtl280.bpl  } System.@IsClass (Line 18494, "System.pas" + 1) + $8
[704CD697]{vcl280.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 11336, "Vcl.Forms.pas" + 23) + $1
[704CD6DA]{vcl280.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 11366, "Vcl.Forms.pas" + 1) + $4
[704CDA19]{vcl280.bpl  } Vcl.Forms.TApplication.Run (Line 11505, "Vcl.Forms.pas" + 27) + $3
[004F7FA2]{bds.exe     } bds.bds (Line 227, "" + 16) + $2

FNCribbon does not give the above error, just unsupported stream format
I have to restart delphi after every error in order to be sure
But fnctableview gives anyway an access violation error

It's unclear what happens, but there hasn't changed anything regarding to our image streaming. The only thing I can think of is that another third party library / component is interfering with this, and that the format saved in the form is not compatible with the FNC load mechanism. I suggest to uncheck the packages in the IDE installed components, until the you can pinpoint which package is responsible.

I tried to revert back to previous version but the error persisted.
I found finally the solution: The problem is solved since I uninstall SKIA4Delphi.
I reinstall SKIA after that and it is still works. I did some install/uninstall both FNC & SKIA but I can not reproduce the problem anymore.
I believed something happened after official 11.1 patch that it is corrected now.
Thanks a lot

By the way, please use different GUID for packages projects. I have a groupprj with all FNC projects to facilitate compile/install everytime I update to the new version and everytime I open this groupprj Delphi has to create new GUIDs

Hi,

Thanks for notifying the issue is resolved. It could be possible that the order of the package loading is responsible. It's unclear how to override this, but installing the package again might push it in the order sequence

The problem returned today.
More experienced this time, I just uninstalled SKIA and everything is OK
Could you please find a way to co-exist?

We have investigated this here and noticed the following registration in one of the Skia units:

TPicture.RegisterFileFormat('svg', 'Scalable Vector Graphics', TSkSvgGraphic);

Which basically registers TSkSvgGraphic as a class for handling SVG file formats and streams.

This conflicts with our own TPicture registration mechanism:

TPicture.RegisterFileFormat('SVG', 'Scalable Vector Graphics (FNC)', TTMSFNCSVGBitmap);

so depending on the way the packages are loaded, either TTMSFNCSVGBitmap or TSkSvgGraphic is registered. At designtime, this means that TSkSvgGraphic is being used as a class for our FNC components. This is no problem at first, but I noticed that the CanLoadFromStream mechanism is actually changing the Position pointer of the stream, when being loaded. So this code:

{$IF CompilerVersion >= 32}
class function TSkGraphic.CanLoadFromStream(AStream: TStream): Boolean;
const
  SupportedFormats = [TSkEncodedImageFormat.WEBP, TSkEncodedImageFormat.WBMP, TSkEncodedImageFormat.DNG];
var
  LCodec: ISkCodec;
begin
  LCodec := TSkCodec.MakeFromStream(AStream);
  Result := Assigned(LCodec) and (LCodec.EncodedImageFormat in SupportedFormats);
end;
{$ENDIF}

Is checking if the stream can be loaded, but it doesn't reset the position, which then means the stream is corrupted. Next, our own checking is applied, and it doesn't find a valid stream anymore which is the reason why it gives an access violation.

I would expect to at least reset back the position of the stream:

{$IF CompilerVersion >= 32}
class function TSkGraphic.CanLoadFromStream(AStream: TStream): Boolean;
const
  SupportedFormats = [TSkEncodedImageFormat.WEBP, TSkEncodedImageFormat.WBMP, TSkEncodedImageFormat.DNG];
var
  LCodec: ISkCodec;
  p: Int64;
begin
  p := AStream.Position;
  try
    LCodec := TSkCodec.MakeFromStream(AStream);
    Result := Assigned(LCodec) and (LCodec.EncodedImageFormat in SupportedFormats);
  finally
    AStream.Position := p;
  end;
end;
{$ENDIF}

So this code needs to be fixed at their side, I've created an issue at github

1 Like

Hi,

Some more information: the Skia team was already aware and fixed it in the development branche. I suppose the next release should fix the issue.

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.