libheif icon indicating copy to clipboard operation
libheif copied to clipboard

Red color is different with Windows Foto and output can not opened with SaalDigital design software

Open flo-git1 opened this issue 3 years ago • 1 comments

Hello,

i have started to use heif-enc and encountered some Problems.

C:\Heic\heif-enc.exe -q 60 $_.FullName

viewing the picture with irfanview or Windows Fotos red color is different compared to the original JPG. With GIMP it looks like the original.

I am also not able to open the picture with SaalDigital Design software, but heic pictures from Galasy S20FE are working fine.

Is there a special option required to get the output file compatible? I have already tryed --matrix_coefficients=0 -p chroma=444 the effect is that windows and irfanview can not open the picture. With GIMP it is fine.

flo-git1 avatar Aug 29 '21 09:08 flo-git1

That's probably related to the ICC profile used. Since you encode with heif-enc, the ICC profile from the original JPEG is also used for the output. It might be that Windows ignores the ICC and just assumes that it is standard sRGB color-space.

It would help if you could attach an original JPEG, the generated HEIC file, and a screenshot from Windows showing the difference here.

farindk avatar Aug 30 '21 10:08 farindk