diff --git a/src/utility/exif.ts b/src/utility/exif.ts index 9f05e46a..ff19ecde 100644 --- a/src/utility/exif.ts +++ b/src/utility/exif.ts @@ -36,7 +36,10 @@ const fractionForDecimal = (decimal: number, fractionCharacter?: boolean) => { }; export const formatExposureCompensation = (exposureCompensation?: number) => { - if (exposureCompensation) { + if ( + exposureCompensation !== undefined && + Math.abs(exposureCompensation) >= 0.33 + ) { const decimal = exposureCompensation % 1; const whole = Math.abs(exposureCompensation - decimal); const fraction = fractionForDecimal(decimal);