Multi-format image file I/O library