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
What are you trying to achieve?
Convert HDRI to anything else, libvips supports hdr format
Have you searched for similar feature requests?
Yes
What would you expect the API to look like?
if (descriptor->rawChannels > 3) { //channels are more than 3 - hdr has 10 ish?
image.get_image()->Type = VIPS_INTERPRETATION_HDR;
}
... flatten channels to RGB(3) something something..
Does this refer to the Radiance/RGBE image format? If so, you'll need to use a custom libvips compiled with support for this format as the prebuilt binaries do not include it.
Im unfortunately using windows, so compiling a custom, globally-installed version of libvips will be difficult. I'll look into compiling with ubuntu for windows or hijack my brothers machine... unless you know a simpler way?
Once thats done will I need to change sharp source code like
if (descriptor->rawChannels > 3) { //channels are more than 3 - hdr has 10 ish?
image.get_image()->Type = VIPS_INTERPRETATION_HDR;
}
??? or dont I touch that?
Activity
lovell commentedon Oct 31, 2021
Does this refer to the Radiance/RGBE image format? If so, you'll need to use a custom libvips compiled with support for this format as the prebuilt binaries do not include it.
https://sharp.pixelplumbing.com/install#custom-libvips
Gatts011 commentedon Nov 5, 2021
Im unfortunately using windows, so compiling a custom, globally-installed version of libvips will be difficult. I'll look into compiling with ubuntu for windows or hijack my brothers machine... unless you know a simpler way?
Once thats done will I need to change sharp source code like
if (descriptor->rawChannels > 3) { //channels are more than 3 - hdr has 10 ish?
image.get_image()->Type = VIPS_INTERPRETATION_HDR;
}
??? or dont I touch that?
lovell commentedon Nov 25, 2021
Using a custom libvips on Windows is unsupported.