comments
This commit is contained in:
parent
b43a2284fc
commit
221e658ad4
@ -67,6 +67,7 @@ namespace util {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Portable GrayMap: single component greyscale.
|
||||||
struct pgm {
|
struct pgm {
|
||||||
static image::buffer<uint8_t> read (const boost::filesystem::path&);
|
static image::buffer<uint8_t> read (const boost::filesystem::path&);
|
||||||
|
|
||||||
@ -80,6 +81,7 @@ namespace util {
|
|||||||
const boost::filesystem::path &path);
|
const boost::filesystem::path &path);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/// Portable PixMap: 3-component colour images.
|
||||||
struct ppm {
|
struct ppm {
|
||||||
static void write (const uint8_t *restrict pixels,
|
static void write (const uint8_t *restrict pixels,
|
||||||
size_t width,
|
size_t width,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user