Log in

View Full Version : Ignore gAMA-Value in PNGs


Matt Kirby
26th August 2021, 09:41
I have problems with "imagereader" or "imagesource" function

If I export clips to pngs with ffmpeg sometimes these pngs contain a wrong "gAMA" chunck. IrfanVIEW and many other tools ignore that value and thats correct. But "imagereader" or "imagesource" of avisynth make with this value the clip brighter or darker as it really should be. I must delete the gAMA chunk with tweakpng at first from pngs. If I do that colors are correct.
Only the plugin "Imagesequence.dll" (from year 2010) (not "Imageseq.dll") with CoronaSequence-function seems to ignore that value too and makes perfect colors. But its slow...
Is there a way to get the faster "imagesource" function to ignore that gAMA value too?

I tried "use_Devil" = false/true