public final class JpegHalCorruptImageQuirk implements Quirk, SoftwareJpegEncodingPreferredQuirk

Quirk which denotes JPEGs produced directly from the HAL may sometimes be corrupted.

Corrupt images generally manifest as completely monochrome JPEGs, sometimes solid green. If possible, it is preferred that CameraX produce JPEGs from some other image format rather than receiving JPEGs directly from the HAL.

See also
<a href=""></a>