Replies: 2 comments
-
Hi @cayque10! Currently, the TSkAnimatedImage accept the types:
The TSkAnimatedImage.Source.Data is the TBytes of the original data that you has loaded. It doesn't do any kind of conversation, that is, if you load a lottie animation, that bytes will be a json bytes of the lottie animation. If you load a GIF image, that bytes will be the binary of the original GIF image. If you want a screenshot, if you are on FMX, you can do a simple TSkAnimatedImage.MakeScreenshot to get the TBitmap screenshot. (Remember that in this case, you should call free on the returned bitmap by you self). |
Beta Was this translation helpful? Give feedback.
-
Hello, @viniciusfbb . Thank you for the feedback. |
Beta Was this translation helpful? Give feedback.
-
Hello, guys.
I have a question about the TSkAnimatedImage. It's possible de conversation from TSkAnimatedImage to other images types like PNG, Bitmap, JPG?
I know the internal structure of the data is quite different, but is there any way to do this?
I'm tryed use the TMemoryStream to read the TSkAnimatedImage.Source.Data , but I received an error when save to other images types.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions