• Michael Natterer's avatar
    app: add GimpPickable::srgb_to_pixel() · 5b4d0219
    Michael Natterer authored
    which isn't really for "picking", but it just fits too nicely into
    GimpPickable to not put it there.
    Also add utility function gimp_pickable_srgb_to_image_color() which
    takes a "real" (sRGB) GimpRGB value, transforms it to the pickable's
    colorspace and puts it into an "image color" GimpRGB.
gimppickable.h 5.54 KB