@WorkerThread static fun readFormat(inputStream: java.io.InputStream): ImageFileFormat
@WorkerThread static fun readFormat(resourceId: int): ImageFileFormat