• Michael Natterer's avatar
    Bug 756678 - Layer opacities change upon saving and reopening an xcf file · a2ad2577
    Michael Natterer authored
    Add new XCF property FLOAT_OPACITY and always save both the old 8-bit
    and the new float opacity of layers and channels. Float opacity is
    saved after the 8-bit one so when loading, it overwrites the limited
    8-bit value with the proper precision. Do not increase the XCF version
    number because old GIMP versions will simply skip the unknown
    FLOAT_OPACITY and keep using the 8-bit value.
    a2ad2577
xcf-private.h 3 KB