Utilities to work with images in Java