yukinarit / apnggif Goto Github PK
View Code? Open in Web Editor NEWPython interface to apng2gif.
Python interface to apng2gif.
(line-stamp) yukinari@mac~/r/line-stamp> python line.py --help
Traceback (most recent call last):
File "/Users/yukinari/repos/line-stamp/line.py", line 8, in <module>
from apnggif import apnggif
File "/Users/yukinari/.local/share/virtualenvs/line-stamp-ahb8wv1F/lib/python3.9/site-packages/apnggif.py", line 1, in <module>
import apnggif_sys
ImportError: dlopen(/Users/yukinari/.local/share/virtualenvs/line-stamp-ahb8wv1F/lib/python3.9/site-packages/apnggif_sys.cpython-39-darwin.so, 2): Symbol not found: _png_init_filter_functions_neon
Referenced from: /Users/yukinari/.local/share/virtualenvs/line-stamp-ahb8wv1F/lib/python3.9/site-packages/apnggif_sys.cpython-39-darwin.so
Expected in: flat namespace
in /Users/yukinari/.local/share/virtualenvs/line-stamp-ahb8wv1F/lib/python3.9/site-packages/apnggif_sys.cpython-39-darwin.so
๐ค
I have a lot of need to conver.....
Add loop
parameter to set arbitrary loop count in GIF animation: https://github.com/yukinarit/apnggif/blob/master/apng2gif.cpp#L1285
I was getting errors installing on a Mac M1
error: implicit declaration of function 'lseek' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (LSEEK(state->fd, state->start, SEEK_SET) == -1)
To fix, use homebrew to install the latest GCC
brew install gcc
Then set to use homebrew's gcc:
cd /opt/homebrew/bin
ln -s gcc-11 gcc
ln -s g++-11 g++
Close your terminal
And using where gcc
- find the path and put it in the command below:
env CC=/opt/homebrew/bin/gcc pip3 install apnggif
It should install successfully then.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.