lovell/sharp
GitHub で見るFeature request: expose libvips maplut operation to map pixel values (for e.g. colour grading)
Open
#1,441 opened on 2018年10月30日
enhancementhelp wanted
説明
I'm interested in being able to apply 3D LUTs to images on the fly, eg. .cube files. I think vips_maplut() is the right function under the hood for this, perhaps I'll need to figure out how to generate LUT images from those files first though.
I've been trying to use some node libraries to do this, extracting the pixels as an ndarray, applying the LUT, then saving the modified pixels back to an image buffer but it's super slow and error prone (truncated image data etc).
If it's not something that makes sense for sharp no worries, hopefully I can find info on transforming an image as a readableStream assuming that's doable :)