ScreenToGif icon indicating copy to clipboard operation
ScreenToGif copied to clipboard

[Feature request] Transparent background

Open sedyh opened this issue 6 years ago • 5 comments

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.

sedyh avatar Jan 13 '18 20:01 sedyh

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 avatar Feb 03 '18 01:02 NickeManarin

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

NickeManarin avatar Aug 08 '20 22:08 NickeManarin

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

rashil2000 avatar Jan 06 '22 19:01 rashil2000

@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.

NickeManarin avatar Jan 18 '22 12:01 NickeManarin

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.

rashil2000 avatar Jan 18 '22 19:01 rashil2000