You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lovell
changed the title
HDR Support with custom libvips "Input buffer contains unsupported image format" error
Enhancement: add support for libvips compiled with support for Radiance
Feb 2, 2023
System:
OS: Linux 5.15 Amazon Linux 2
CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
Memory: 7.44 GB / 15.53 GB
Container: Yes
Shell: 4.2.46 - /bin/bash
Binaries:
Node: 16.18.1 - /var/lang/bin/node
npm: 8.19.2 - /var/lang/bin/npm
npmPackages:
sharp: ^0.31.3 => 0.31.3
What are the steps to reproduce?
index.js
Run the below Dockerfile with
docker build -t dev-lambda . --progress plain --no-cache
Dockerfile
What is the expected behaviour?
With a custom build of libvips that enables Rad (Radiance HDR), I expect sharp to be able to resize .hdr files.
Libvips installs says that Radiance HDR is enabled
#13 12.96 enable RAD load/save : YES
sharp build from source says that local libvips is found
Im able to resize a Radiance HDR with vips cmdline
but sharp raises an error
The text was updated successfully, but these errors were encountered: