8000 DPI resolution not read/written correctly for some JPEGs · Issue #11 · galfar/deskew · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
DPI resolution not read/written correctly for some JPEGs #11
Open
@galfar

Description

@galfar

The issue is caused by missing JFIF header in the file - only EXIF is present.

Adobe's SW apparently switched to EXIF only recently:
https://feedback.photoshop.com/photoshop_family/topics/jpeg_format_different_between_cs2_and_cs6?topic-reply-list%5Bsettings%5D%5Bfilter_by%5D=all

To fix this we need to read and parse EXIF data which is in fact a TIFF directory. So if LibTiff that Deskew already uses could be reused for this then fixing this would not take that much time. Otherwise this will have to wait.

Test image:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0