Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SKIAShellExtensions and some changes to Skia4Delphi code... #158

Open
carloBarazzetta opened this issue Sep 26, 2022 · 2 comments
Open

SKIAShellExtensions and some changes to Skia4Delphi code... #158

carloBarazzetta opened this issue Sep 26, 2022 · 2 comments

Comments

@carloBarazzetta
Copy link

Hi guys, to develop SKIAShellExtensions (https://github.com/EtheaDev/SKIAShellExtensions) I had to make some small changes to the original Skia4Delphi code, because I need to retrieve from the codec the last frame of the animation for rendering the icon in Windows explorer, but in a "non-visual" context.
The only way I found was to create a TSkAnimatedImageBrush class very similar to the TSkAnimatedImage: I would like to know from you if there was an alternative way...
The differences from your Skia4Delphi code is located in the folder: SKIAShellExtensions\Ext\skia4delphi\Source\VCL where there is an additional unit: Vcl.Skia.ControlsEx.pas with two classes:
TSkAnimatedImageBrush and TSkAnimatedImageEx, used to simplify interaction of component with the Actions in the GUI.
Thank you for your great job!

@viniciusfbb
Copy link
Member

Hi Carlo, it is amazing!

That's interesting, I hadn't thought about the possibility of rendering without context. There really is no better alternative in the current version. A TSkAnimatedImageBrush is a really interesting idea.

We rewrote TSkAnimatedImage recently (to implement new features) and we will make it available in the next version, which will be released soon. We are considering implementing TSkAnimatedImageBrush, perhaps in the next version.

@carloBarazzetta
Copy link
Author

Thank you for your support!

@viniciusfbb viniciusfbb removed this from the vNext milestone Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants