Gimp.palette_duplicate

function palette_duplicate(name: String): String {
    // Gjs wrapper for gimp_palette_duplicate()
}
  

Duplicates a palette

This procedure creates an identical palette by a different name

Since 2.2

name

The palette name.

Returns

The name of the palette's copy. The returned value must be freed with g_free().