#59508 closed defect (bug) (invalid)
Cannot bypass image reprocessing for specific images => media library breaks HDR JPGs
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | |
| Focuses: | Cc: |
Description
While there are hacks to stop the WP media library from reprocessing images, there is no straight-forward way to disable it for specific (individual) downloads.
As HDR JPG gain maps are broken by image processing in the library (https://core.trac.wordpress.org/ticket/58288), having the ability for the library to keep the image exactly as submitted is important when sharing HDR JPG gain maps. This would be a very valuable workaround until support is added in WP or ImageMagick (https://github.com/ImageMagick/ImageMagick/issues/6377).
More on gain maps: https://gregbenzphotography.com/hdr-images/jpg-hdr-gain-maps-in-adobe-camera-raw/#developers
Change History (3)
#3
@
2 months ago
This issue is scheduled to be addressed in WordPress v7.1 (https://github.com/WordPress/gutenberg/issues/76756) with use of wasm-vips for client-side transcoding during upload. I have validated that wasm-vips properly transcodes these images, so the core library appears to be in good shape (built on libultrahdr, which also implies support for AVIF gain maps should also be feasible when the roadmap for that library is completed).
choosing "full" bypasses reprocessing and the gain map survives. Sorry I missed that. The outstanding request for ImageMagick support is ideal to allow thumbs, etc - but this workaround is already covered.