[BUG] VapourSynth Levels filter does not work for RGB24 image streams - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [BUG] VapourSynth Levels filter does not work for RGB24 image streams (/thread-1564.html) Pages:
1
2
|
RE: VapourSynth Levels filter does not work for RGB24 image streams - Selur - 17.10.2020 I'm not totally sure atm. how to handle 32bit Tiff with Levels properly. Load a single 32bit TIFF with vsImageReader and applying levels on it returns a black screen the way I assumed it would work. I assumed that the color space should be RGBS with 32bit precision and thus analog to limiting to 16-235 I used min_in = 16 << (32-8), max_in=235 << (32-8), min_out= 16 << (32-8), max_out = 235 << (32-8). That gave me a black preview and I'm not sure whether this is due to a limitation of the preview, if I did something wrong or if it's a limitation somewhere else. So any help is welcome. # Imports Quote: Not sure why it detects JPEG as YUV444P8@8 and same time other image formats as RGB24@8. Maybe JPEG is somehow special...Hybrid takes the color space from MediaInfo which reports: Image and for the "PNG 8-bit": Image Cu Selur RE: VapourSynth Levels filter does not work for RGB24 image streams - shijan - 17.10.2020 As i remember in Vapoursynth FAQ about a Levels it was a notice that they work very different in 32 bit depth http://www.vapoursynth.com/doc/functions/levels.html In both PhotoLine and Photoshop image editors there is no option to export 32 bit PNG. So i guess it is something very uncommon. RE: VapourSynth Levels filter does not work for RGB24 image streams - Selur - 17.10.2020 @The_Tinkerer: send you a link to a new dev version via PM for testing,.. Hoping that this properly handles 32bit images. Cu Selur |