NickeManarin / ScreenToGif

🎬 ScreenToGif allows you to record a selected area of your screen, edit and save it as a gif or video.
http://www.screentogif.com
Microsoft Public License
23.77k stars 2.18k forks source link

[Feature request] Transparent background #241

Open sedyh opened 6 years ago

sedyh commented 6 years ago

1. Request

It would be nice to be able to specify a transparent background.

2. Argumentation

I very often use 3d editor to create small animations, I would like a simple and convenient tool for assembling sprites.

3. Example

Just a checkbox named "Transparent" near color choosing.

NickeManarin commented 6 years ago

This feature requires some "structural" changes to the project, such as the support for multiple layers. At least it's what I'm planning to implement first (layers, then transparent background).

NickeManarin commented 4 years ago

Initial support for transparency was added (the gif encoders now work with transparency).

rashil2000 commented 2 years ago

Initial support for transparency was added (the gif encoders now work with transparency).

Hi @NickeManarin!

Sorry for pinging an old thread, but how to use this feature? I am trying to add shadow to the frames, and I would like the shadow background to be transparent (instead of white). But I don't see a transparent option?

image

NickeManarin commented 2 years ago

@rashil2000 The only transparency support added so far is within the encoder. Meaning that the encoder knows what to do with alpha values, but the editor still doesn't let you set transparency effects.

Anyway, as for setting transparency in shadows, how would you plan in exporting that animation? I ask, because Gifs would not properly display that transparency as only 1 color can be marked as transparent.

rashil2000 commented 2 years ago

Oh, I was not aware of this limitation. I just tried it, selecting 1 color (#FFFFFF) as transparent would definitely mess with the middle of the frames.