Make ImageDataSource use PNG

This makes the code compatible with OpenJDK 8 (while currently it will
only work on Oracle JDK 8). PNG is probably the better choice anyway
because it is lossless.
2 files changed