Common utility classes for working with images.