Skip to content
  • Michael Natterer's avatar
    app: fix the layer formats of indexed images to contain the space · a338220f
    Michael Natterer authored
    Add gimp_image_colormap_update_formats() which does:
    
    - always update the cached palette formats based on the current space
      of the image
    - always set the palette entries on the palette formats
    
    Make sure the function is called whenever the space or the colormap
    change.
    
    Fix gimp_image_convert_profile_colormap() to convert the colormap
    entries between the right spaces.
    a338220f