images: Add Java implementation
Add some comments
fire: Avoid long lines
images: Convert images to pixel arrays once