Tracker icon indicating copy to clipboard operation
Tracker copied to clipboard

Window shadow is too large for the GIF canvas

Open carlosperate opened this issue 7 years ago • 2 comments

When a GIF is made with gifox and the "window shadow" option enabled, the shadow itself is too large for the empty canvas around the window to contain it completely. So when it is embedded in page with a white background the shadow can be seen "cut off":

image

And here an example GIF, which should show the same effect in the GH white background, most noticeably in the bottom edge: 2018-08-20 19 47 55

Compared with a screenshot taken with the the OS tools: image

carlosperate avatar Aug 20 '18 18:08 carlosperate

This is murky waters and the last time we looked into this there was no way of getting the system shadow size/offset. While system windows use the standard shadow, some apps that implement custom window UI use their own, so it can be larger or smaller. Still, we should be able to closer match the system's default, but it's fragile. We probably should add a custom window shadow adjustment preferences.

iby avatar Sep 05 '19 14:09 iby

We probably should add a custom window shadow adjustment preferences.

That sounds like a good workaround, it'd be great if it came with a few presets we could easily switch.

carlosperate avatar Sep 06 '19 08:09 carlosperate