I am trying to merge 2 images (tif and exr) and output them as png with the ImageWriter node, but I get an error. It creates the file on the disk but it's corrupted and empty. It worked fine before with exr + exr / hdr + exr, I think it might be the tif format that's doing something here (maybe I'm wrong). I can output them as jpg tho. Any ideas what to do?
ERROR [Errors Occurred During Dispatch] Gaffer.ProcessException: Process_LgtTex.ConvertPNG.task : Could not open "/library/lgt/lgtTex/lgtTex00072/preview/00072_preview.01.png", error = PNG write error: profile 'Embedded Profile': 1h: too short
PNG write error: No IDATs written into file
Could not set PNG iCCP chunk