Add support for RGBE Radiance input, requires global libvips #4316

This commit is contained in:
florentzabera
2025-01-21 09:12:39 +01:00
committed by Lovell Fuller
parent ae5ba702a4
commit 67ff930535
5 changed files with 12 additions and 1 deletions

View File

@@ -119,7 +119,7 @@ Napi::Value format(const Napi::CallbackInfo& info) {
Napi::Object format = Napi::Object::New(env);
for (std::string const f : {
"jpeg", "png", "webp", "tiff", "magick", "openslide", "dz",
"ppm", "fits", "gif", "svg", "heif", "pdf", "vips", "jp2k", "jxl"
"ppm", "fits", "gif", "svg", "heif", "pdf", "vips", "jp2k", "jxl", "rad"
}) {
// Input
const VipsObjectClass *oc = vips_class_find("VipsOperation", (f + "load").c_str());