anim_encoder's People
Forkers
bpedro ratz-n-cask zopieux creativeaura merlindmc jecons zhenghouzz sapphiriq thisismess jbouwens karlmikko leecade ambidextroustx lenciel jasonmillward lai icai mrkmg tschofen markrian shenlibo flyhawk007 aarmea aninfeel riani andymac mikehazell chanchalg youcannotburnmyshadow lilith bennewton999 jay3sh teroz mangini mpmedia vovkd benvanik morristech srusskih nean scottmessinger ff6347 mhpavl uri garbados spywhere jaredwilli quixote911 tianshuo ledudu beyang dimaromanenko wyfsuperstar thenrich kecho defmeta malachi358 griha41 hmaal configurator micka33 gabssnake obahareth nobii amitamb aaronmartin0303 patrickjwhite nullnotfound xiilei kristiyannikolov luiseduardohdbackup linmic txji paulodiovani imclab jellyfush dmak78 aivoo skymeson zhaog programmerbird sonph jess-sol kamaroly bitcity vvw kronuz binss xzbackup fidalco daoyuly hexiyou antiwb3 samvlu mozii aquach esayler xiaofeng00 francisz2 czjxy881anim_encoder's Issues
missing js file
Hi John,
Great animator - can't wait to work on this more and provide some extra features.
Did notice however, that your example is including a js file that isn't in the repo.
Karl
about max pictures
I have 178 pictures , I run this ,it error.
sudo python anim_encoder.py frames
frames packing, num rects: 27 num frames: 20
Traceback (most recent call last):
File "anim_encoder.py", line 234, in
generate_animation(sys.argv[1])
File "anim_encoder.py", line 189, in generate_animation
dy, dx = allocator.allocate(w, h)
File "anim_encoder.py", line 111, in allocate
raise RuntimeError()
RuntimeError
I run example ,it's success
Traceback (most recent call last):
Hi, script RuntimeError when 100 images need packing.
List error:
python anim_encoder.py ani2
ani2 packing, num rects: 2909 num frames: 50
Traceback (most recent call last):
File "anim_encoder.py", line 234, in
generate_animation(sys.argv[1])
File "anim_encoder.py", line 189, in generate_animation
dy, dx = allocator.allocate(w, h)
File "anim_encoder.py", line 111, in allocate
raise RuntimeError()
RuntimeError
Error
Hello,
I get a Traceback error when trying to use the script on Ubuntu Vagrant.
vagrant@vagrant-ubuntu-trusty-64:~/anim_encoder$ ./anim_encoder.py computer_typing
libdc1394 error: Failed to initialize libdc1394
Traceback (most recent call last):
File "./anim_encoder.py", line 234, in
generate_animation(sys.argv[1])
File "./anim_encoder.py", line 141, in generate_animation
zero = images[0] - images[0]
IndexError: list index out of range
AccessInit: hash collision: 22 for both 1 and 1
Hi there,
after running: python anim_encoder.py example
I get the error: AccessInit: hash collision: 22 for both 1 and 1
This happens at line 139: images = [misc.imread(f) for t, f in frames]
Of course I tried googling the answer and found similar errors had to do with double importing of PIL.Image. However those solutions don't seem to apply to this script.
I'm running the script on mac OS X 10.9.5
I believe installed the relevant packages (using brew)
Please tell me if you require more information. Any help would be appreciated!
Missing package in your example
Hello!
Just for information, it missing python-imaging package in your prerequisites to exectute your script
++
Incorrect image captured on Mac
imread and imsave are no longer available in scipy.misc, please update script to use imageio instead
Both imread and imsave are not available on current version of scipy:
AttributeError: module 'scipy.misc' has no attribute 'imread'
Need to change
import scipy.misc as misc
to
import imageio
and update the function calls to use imageio.imread and imageio.imsave
Will also need python-imageio
to be installed
Add LICENSE file
Add support of iOS devices (sprite size limitation)
iOS devices with retina display are limited to 2048px x 2048px images.
If the packed sprite passes these dimensions, the image will not load.
Two things could be done about this:
- Tuning the packing algorithm to make an effort to create square sprites in order to maximize the space.
- Split packing in multiple sprites each inside the dimension limit.
Running on Mac OSX
I would like to get this working on my mac but it looks to have trouble on a non-Ubuntu machine. Forgive my ignorance but is there a good recipe to get this working. Maybe install the dependencies via Homebrew or MacPorts?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.