#include "img-precomp.h"
#include <mrpt/core/exceptions.h>
#include <mrpt/img/CImage.h>
#include <cstring>
#include <string>
#include <unordered_map>
Go to the source code of this file.
|
static const char * | ParseColor (const char *data) |
|
static unsigned char | ParseHexadecimal (char digit1, char digit2) |
|
static bool | GetRGBFromName (const char *inname, bool *isNone, unsigned char *r, unsigned char *g, unsigned char *b) |
|
◆ myRGB
#define myRGB |
( |
|
r, |
|
|
|
g, |
|
|
|
b |
|
) |
| |
Value:(static_cast<uint32_t>(r) << 16 | static_cast<uint32_t>(g) << 8 | \
static_cast<uint32_t>(b))
Definition at line 126 of file CImage_loadXPM.cpp.
◆ Long2LongHash
◆ XPMColorMap
◆ GetRGBFromName()
static bool GetRGBFromName |
( |
const char * |
inname, |
|
|
bool * |
isNone, |
|
|
unsigned char * |
r, |
|
|
unsigned char * |
g, |
|
|
unsigned char * |
b |
|
) |
| |
|
static |
◆ ParseColor()
static const char* ParseColor |
( |
const char * |
data | ) |
|
|
static |
◆ ParseHexadecimal()
static unsigned char ParseHexadecimal |
( |
char |
digit1, |
|
|
char |
digit2 |
|
) |
| |
|
static |
◆ numTheRGBRecords
const int numTheRGBRecords = 235 |
|
static |
◆ theRGBRecords