ScreenRecorderLib icon indicating copy to clipboard operation
ScreenRecorderLib copied to clipboard

Gif support

Open FoxPride opened this issue 3 years ago • 5 comments

Greetings, @sskodje!

Is it possible to add gif container support so we can take screenshots directly into gif?

I found this library but got stuck with converting directx image.

FoxPride avatar Apr 02 '21 02:04 FoxPride

I'll put it in the backlog as a feature request, but for now i have to feature freeze for next release, it was a lot more work than anticipated. Can i ask what your use case is? GIF does not work very well for high-resolution content, it can easily run in the hundreds of megabytes for a short clip.

sskodje avatar Apr 05 '21 23:04 sskodje

Oh that's sad. Sometimes I don't need whole video so I decided to check if it's possible to create gifs and use it for short duration.

FoxPride avatar Apr 05 '21 23:04 FoxPride

Maybe it's better to use apng or webp then?

FoxPride avatar Apr 05 '21 23:04 FoxPride

You can also record as slideshow and stich the .png or .jpg images into a GIF using GifBitmapEncoder or something like that, you don't need to fiddle with directx.

sskodje avatar Apr 05 '21 23:04 sskodje

Yeah. It was my first guess and it works but I thought about better solution. I'll stick with slideshow option then, thanks a lot for great library!

FoxPride avatar Apr 06 '21 00:04 FoxPride