ed-asriyan / lottie-converter

Converts Lottie Animations (.json / .lottie) and Telegram stickers (*.tgs) to GIF / PNG / APNG / WEBP / WEBM
https://t.me/tgtowabot
MIT License
795 stars 72 forks source link

Optionally do not draw the outline of the object on a transparent background #87

Closed Dmitro25 closed 7 months ago

Dmitro25 commented 7 months ago

Hello! Thanks for the useful application. Could you add an option to not draw the outline of an object on a transparent background? The presence of the gray contour is clearly visible in the following picture:

clipboard

on the left is the result obtained by your application; on the right is the frame of the same animation being played in the browser. The background of the animation is transparent.

ed-asriyan commented 7 months ago

This is actually a bug, as outline is not present in source lottie animations so it shouldn't be an optional parameter. Thanks for pointing this out

ed-asriyan commented 7 months ago

references:

ed-asriyan commented 7 months ago

@Dmitro25 please switch on v1.0.1

Dmitro25 commented 7 months ago

Thank you, it works. The outlines are gone.

I would also recommend making the default output path (the "-o" option) not "", but ".", otherwise under Windows without this option the results are saved to an unknown location, otherwise they will be saved to the current folder.