[piexwasm] Remove files app ColorSpace dependency
JEITA EXIF color space defines and supports two color spaces only per the JEITA specification: sRGB and AdobeRGB1998. The PIEX C++ returns their values as strings 'sRgb' and 'adobeRgb' so return those values in the PiexLoaderResponse [1]. Note JEITA EXIF color space indicates the color space only. The image does not have an embedded ICC Color Profile. A future option for piex is to slice open the JPEG preview, insert an ICC Color Profile in the AdobeRGB1998 case, before returning the PiexLoaderResponse. [1] In files app, make image_request_task.js convert the value in the PiexLoaderResponse to ColorSpace type. No change in behavior. Bug: 1132695 Change-Id: Ifa076635dc5672a552094bf1b5fa9e69e164d9d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2432150Reviewed-by:Trent Apted <tapted@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#811128}
Showing
Please register or sign in to comment