• Michael Natterer's avatar
    Bug 768952 - Select by color works correctly only in srgb · f06f691a
    Michael Natterer authored
    Separate clearing/creating the image's cached color transforms from
    clearing/creating its color profile. Clear the transforms when the
    color profile changes, and when image type or precision change. Create
    the transforms only on demand, so clearing them multiple times doesn't
    trigger any redundant (and expensive) transform creations.
gimpimage-color-profile.h 6.69 KB