gammux icon indicating copy to clipboard operation
gammux copied to clipboard

gAMA chunks not saved

Open Feriixu opened this issue 5 years ago • 3 comments

Using the sample images does not produce the example. The gamma information doesn't seem to be saved.

Feriixu avatar Mar 24 '19 01:03 Feriixu

Could you clarify the command line args you used?

carl-mastrangelo avatar Mar 25 '19 16:03 carl-mastrangelo

I used the example images. gammux.py fine.jpg notfine.jpg out.png Also I found out what the problem is: The gAMA chunk doesn't seem to be saved with the image. As a workaround for testing I added the gAMA chunk with "TweakPNG". Your interlacing works fine tho.

Feriixu avatar Mar 25 '19 16:03 Feriixu

Oh yeah, you're right. I'll try to add it tonight (also PRs welcome!).

carl-mastrangelo avatar Mar 25 '19 16:03 carl-mastrangelo