Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ICC header is too short on AVIF image #115

Open
SPAHI4 opened this issue Jul 19, 2023 · 1 comment
Open

Error: ICC header is too short on AVIF image #115

SPAHI4 opened this issue Jul 19, 2023 · 1 comment

Comments

@SPAHI4
Copy link

SPAHI4 commented Jul 19, 2023

const data = await exifr.parse(path.join(destDir, filename), {
      tiff: true,
      xmp: true,
      icc: true,
      iptc: true,
      jfif: true,
      exif: true,
      gps: true,
      interop: true,
      translateKeys: true,
      translateValues: true,
      reviveValues: true,
      sanitize: true,
      mergeOutput: true,
    });
{
  data: {
    Make: 'FUJIFILM',
    Model: 'X-T5',
    Software: 'Adobe Photoshop Camera Raw 15.4 (Macintosh)',
    ModifyDate: 2023-06-29T20:27:48.000Z,
    ExposureTime: 0.005,
    FNumber: 7.1,
    ExposureProgram: 'Aperture priority',
    ISO: 800,
    SensitivityType: 1,
    ExifVersion: '2.3.2',
    DateTimeOriginal: 2023-04-29T17:07:16.000Z,
    CreateDate: 2023-04-29T17:07:16.000Z,
    OffsetTime: '+03:00',
    OffsetTimeOriginal: '+04:00',
    OffsetTimeDigitized: '+04:00',
    ShutterSpeedValue: 7.643856,
    ApertureValue: 5.655638,
    BrightnessValue: 5.92,
    ExposureCompensation: -0.67,
    MaxApertureValue: 1,
    MeteringMode: 'Pattern',
    LightSource: 'Unknown',
    Flash: 'Flash did not fire',
    FocalLength: 13,
    CameraElevationAngle: 14.6,
    ColorSpace: 1,
    FocalPlaneXResolution: 3303.855743408203,
    FocalPlaneYResolution: 3303.855743408203,
    FocalPlaneResolutionUnit: 'Centimeter',
    SensingMethod: 'One-chip color area sensor',
    FileSource: 'Digital Camera',
    SceneType: 'Directly photographed',
    CustomRendered: 'Normal',
    ExposureMode: 'Auto',
    WhiteBalance: 'Auto',
    FocalLengthIn35mmFormat: 20,
    SceneCaptureType: 'Standard',
    Sharpness: 'High',
    SubjectDistanceRange: 'Unknown',
    SerialNumber: '2DL00603',
    LensInfo: [ 13, 13, 1.4, 1.4 ],
    LensMake: 'Viltrox',
    LensModel: 'AF 13/1.4 XF',
    LensSerialNumber: '00000404',
    GPSVersionID: '2.2.0.0',
    GPSLatitudeRef: 'N',
    GPSLatitude: [ 41, 1.0651167, 0 ],
    GPSLongitudeRef: 'E',
    GPSLongitude: [ 28, 58.08975, 0 ],
    latitude: 41.017751945,
    longitude: 28.9681625,
    errors: [ [Error: ICC header is too short] ]
  }
}

Image: AVIF with HDR 10 bit, Display P3; SMPTE ST 2084 PQ, same with Rec. ITU-R BT.2100 PQ
https://spahi4-photo-dev.s3.eu-north-1.amazonaws.com/0e0d7bfb-c30f-4a55-b319-3630f718203a.avif

@matthew-dean
Copy link

Is there AVIF support? It’s not listed as a format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants