Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CircularAvatars requires exact pixel size #4

Open
schwern opened this issue Feb 14, 2010 · 2 comments
Open

CircularAvatars requires exact pixel size #4

schwern opened this issue Feb 14, 2010 · 2 comments

Comments

@schwern
Copy link

schwern commented Feb 14, 2010

Using CircularAvatars and a 1x1 black default.png (to make it effectively invisible) I got:

Exception in thread "Animation Thread" java.lang.RuntimeException: The PImage used with mask() must be the same size as the applet.
at processing.core.PImage.mask(PImage.java:599)
at processing.core.PImage.mask(PImage.java:614)
at code_swarm$PersonNode.(code_swarm.java:1503)
at code_swarm.update(code_swarm.java:740)
at code_swarm.draw(code_swarm.java:382)
at processing.core.PApplet.handleDraw(PApplet.java:1395)
at processing.core.PApplet.run(PApplet.java:1300)
at java.lang.Thread.run(Thread.java:637)

It would be nice if CircularAvatars did not restrict the avatar size.

@dwo
Copy link

dwo commented Nov 5, 2011

Do you know what the exact pixel size is? I get this when I set the config to LocalAvatars, even if I only leave the provided default.png in there.

@schwern
Copy link
Author

schwern commented Nov 5, 2011

It's been so long, I don't remember any details. Sorry.

holzman added a commit to holzman/code_swarm that referenced this issue Aug 1, 2012
rictic added a commit that referenced this issue Jun 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants