• Manual
  • Scripting API
Show / Hide Table of Contents
  • BinaryCharm.SemanticColorPalette
    • SCP_ColorId
    • SCP_IPaletteCore
    • SCP_Palette
    • SCP_Palette.eType
    • SCP_PaletteProvider
  • BinaryCharm.SemanticColorPalette.Colorers
    • SCP_AColorer
    • SCP_AColorer<T>
    • SCP_AColorerBase
    • SCP_AGradientColorer
    • SCP_AGraphicColorer
    • SCP_AMaterialColorer
    • SCP_AMaterialColorer<T>
    • SCP_AMaterialColorerBase
    • SCP_IColorer
    • SCP_IColorer<T>
    • SCP_IGradientAccessor
    • SCP_MaterialColorDef
  • BinaryCharm.SemanticColorPalette.Importers
    • SCP_AcoPaletteData
    • SCP_AndroidXmlPaletteData
    • SCP_APaletteData
    • SCP_AsePaletteData
    • SCP_GimpPaletteData
    • SCP_IPaletteDataProvider
    • SCP_KritaPaletteData
    • SCP_SvgPaletteData
  • BinaryCharm.SemanticColorPalette.Utils
    • SCP_ColorUtils
    • SCP_ImportUtils
    • SCP_Utils

Namespace BinaryCharm.SemanticColorPalette.Importers

Classes

SCP_AcoPaletteData

Adobe Color Swatch (.aco) data parser. Special thanks: http://www.selapa.net/swatches/colors/fileformats.php

SCP_AndroidXmlPaletteData

Parser for Android color XML resource file (usually "colors.xml").

SCP_APaletteData

Abstract base class for importers implementations, that should

  • optionally assign a name to m_sName, if the format specifies one
  • call addUniqueColorDef for each imported name->color pair Takes care of possible color name duplications/missing names.

SCP_AsePaletteData

Adobe Swatch Exchange (.ase) data parser. Special thanks: http://www.selapa.net/swatches/colors/fileformats.php

SCP_GimpPaletteData

Gimp Palette (.gpl) data parser. Used as reference: https://gitlab.gnome.org/GNOME/gimp/-/blob/gimp-2-10/app/core/gimppalette-load.c#L39

SCP_KritaPaletteData

Krita palette (.kpl) data parser. Used as reference: https://docs.krita.org/en/untranslatable_pages/kpl_defintion.html

SCP_SvgPaletteData

SVG data parser. Fetches the "fill" values of any "rect" definition.

Interfaces

SCP_IPaletteDataProvider

Interface defining the methods providing the minimal amount of data needed to build a color palette:

  • a name for the palette
  • a set of name -> color mappings where names are unique identifiers
In This Article
Back to top Binary Charm