Update of bug #19648 (project mypaint):

             Assigned to:                    None => achadwick              

    _______________________________________________________

Follow-up Comment #2:

griatch: please could you attach a small minimal "bad" .ora file and a .jpg of
what it's supposed to look like saved from Gimp? I'll need the sample file it
to fix this one. Thanks!

My gut feeling from looking at it is that MyPaint might be applying the file
gamma incorrectly during processing (oops).


maxy: from your description, the file had no ICC profile embedded to say what
its R,G,B[,A] samples mean, nor a chunk to indicate that they're sRGB values
with standard gamma compression. Thus we fall back on treating it as a
"generic" additive RGB colour space where the R, G and B primary colours the
samples express degrees of are (maybe) defined in absolute XY[1] terms along
with the white point[2], and (separately maybe) there's a gamma correction
curve. lcms2 can handle all 3 cases, but probably only if we feed it the right
data...

[1] http://en.wikipedia.org/wiki/CIE_XYZ
[2] http://search.cpan.org/search?query=Graphics%3A%3AColorObject&mode=module
is a really good start point for how this sort of colour munging works.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19648>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to