sot-tech/LottieConverter

Increase define li_MAX_DIMENSION 4000

Closed this issue · 2 comments

Hello, Thanks a lot for your program. It works!

But i suggest to increase li_MAX_DIMENSION up to 8192.

In some cases 4000 not enough. For example, i want extract frame and print to wall (print a picture in real life).

Is it possible?

#define li_MAX_DIMENSION 4000

Hello.
I will try increase limit to 16384 soon and check memory consumption.

Such small utility should not be greedy in memory i think, so 16384 will enough for regular usage.

But you might change this value by yourself and recompile utility, or maybe you need only compiled executable?

I won't create new release because it is not such big change.

If you need precompiled modules, see attachments:

lottieconverter-0.2-alpine-edge-musl-amd64-3e38ee5.tar.gz
lottieconverter-0.2-ubuntu-20.04-amd64-3e38ee5.tar.gz