/*
5 * Authors: see git history
7 * Copyright (C) 2018 Authors
8 * Released under GNU GPL v2+, read the file
'COPYING' for more information.
10#ifndef INKSCAPE_TRACE_IMAGEMAP_H
11#define INKSCAPE_TRACE_IMAGEMAP_H
45 static unsigned long constexpr BLACK = 0;
46 static unsigned long constexpr WHITE = 255 * 3;
Helper class to stream background task notifications as a series of messages.
static unsigned long constexpr WHITE
bool writePPM(char const *fileName)
static unsigned long constexpr BLACK
RGB getPixelValue(int x, int y) const
bool writePPM(char const *fileName)
std::array< RGB, 256 > clut
Color look-up table.
T const * row(int y) const
T getPixel(int x, int y) const
void setPixel(int x, int y, T val)
int offset(int x, int y) const
MapBase(int width, int height)
bool writePPM(char const *fileName)