Git Product home page Git Product logo

anim_encoder's People

Contributors

aarmea avatar jskinner avatar wbond avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anim_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!

Incorrect image captured on Mac

Hi, on OSX 10.8.4, after installing the necessary tools, I'm able to run python capture.py, however the images which get produced seem to be all black! (Python 2.7.5). Any ideas?

Image inserted below:

screenshot_1375742622

Add LICENSE file

It would help if you either added a LICENSE file or added the license to the bottom of the README.md file

(Also, this and this line needs changing)

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:

  1. Tuning the packing algorithm to make an effort to create square sprites in order to maximize the space.
  2. 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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.