• Noel Gordon's avatar
    [piexwasm] Remove files app ImageOrientation dependency · 86928426
    Noel Gordon authored
    JEITA EXIF image orientation is a number in [1..8]. PIEX C++ defaults
    to 1 if there is no image orientation or its value is invalid. Return
    the value in the PiexLoaderResponse and let the client code deal with
    converting it to other types [1].
    
    [1] In files app, make image_request_task.js convert the value in the
    PiexLoaderResponse to ImageOrientation type. No change in behavior.
    
    Bug: 1132695
    Change-Id: I728680d17c31426d72b6b09bd52ee821540cbcd0
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2432231Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
    Commit-Queue: Noel Gordon <noel@chromium.org>
    Auto-Submit: Noel Gordon <noel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#811119}
    86928426
piex_loader.js 13.9 KB