sskodje / ScreenRecorderLib

A .NET library for screen recording in Windows, using native Microsoft Media Foundation for realtime encoding to h264 video or PNG images.
MIT License
395 stars 88 forks source link

GIF quality issue #240

Open ranwer-dev opened 1 year ago

ranwer-dev commented 1 year ago

I have submitted a pull request that adds support for GIF frames when the recorder is used in Slideshow mode. But the quality of GIF is very low. Can this be increased?

sskodje commented 1 year ago

Sorry for taking so long to answer. GIF is inherently a very low quality format, i belive you get 256 different colors only. The WIC encoder has no quality settings at all, so what you see is what you get unfortunately.

ranwer-dev commented 10 months ago

Can you suggest any other way to implement GIF conversion with better quality?

sskodje commented 10 months ago

I'd try FFmeg. It should be able to create GIFs from bitmaps or videos.