14#ifndef NEARBLACK_LIB_H
15#define NEARBLACK_LIB_H
19#include "cpl_progress.h"
25typedef std::vector<int> Color;
26typedef std::vector<Color> Colors;
31 std::string osFormat{};
34 GDALProgressFunc pfnProgress = GDALDummyProgress;
37 void *pProgressData =
nullptr;
41 bool bNearWhite =
false;
42 bool bSetAlpha =
false;
43 bool bSetMask =
false;
45 bool bFloodFill =
false;
56 int nDstBands,
bool bSetMask,
57 const Colors &oColors);
62 int nDstBands,
bool bSetMask,
63 const Colors &oColors);
String list class designed around our use of C "char**" string lists.
Definition: cpl_string.h:436
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:376
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition: gdal.h:379
struct GDALNearblackOptions GDALNearblackOptions
Definition: gdal_utils.h:137