You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using ImageSharp library for displaying GIF animation in MAUI application because standard tools are not working correctly on all over platforms, so combination of ImageSharp+SkiaSharp allowed me to do this just by drawing the frames one by one, using GifDisposalMethod of the frames.
But for "GifDisposalMethod.RestoreToBackground" I should know the background colour of GIF and I found out that ImageSharp should know this colour but I don't know how to get it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there.
I'm using ImageSharp library for displaying GIF animation in MAUI application because standard tools are not working correctly on all over platforms, so combination of ImageSharp+SkiaSharp allowed me to do this just by drawing the frames one by one, using GifDisposalMethod of the frames.
But for "GifDisposalMethod.RestoreToBackground" I should know the background colour of GIF and I found out that ImageSharp should know this colour but I don't know how to get it.
Can anyone help me please? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions