30 #ifndef NEARBLACK_LIB_H
31 #define NEARBLACK_LIB_H
35 #include "cpl_progress.h"
41 typedef std::vector<int> Color;
42 typedef std::vector<Color> Colors;
47 std::string osFormat{};
50 GDALProgressFunc pfnProgress = GDALDummyProgress;
53 void *pProgressData =
nullptr;
57 bool bNearWhite =
false;
58 bool bSetAlpha =
false;
59 bool bSetMask =
false;
61 bool bFloodFill =
false;
72 int nDstBands,
bool bSetMask,
73 const Colors &oColors);
78 int nDstBands,
bool bSetMask,
79 const Colors &oColors);
String list class designed around our use of C "char**" string lists.
Definition: cpl_string.h:449
Various convenience functions for working with strings and string lists.
void * GDALDatasetH
Opaque type used for the C bindings of the C++ GDALDataset class.
Definition: gdal.h:291
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition: gdal.h:294
struct GDALNearblackOptions GDALNearblackOptions
Definition: gdal_utils.h:153