KrisLibrary
1.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
image
ppm.h
1
#ifndef IMAGE_PPM_H
2
#define IMAGE_PPM_H
3
4
#include "image.h"
5
6
bool
WritePPM_RGB_ASCII(
unsigned
char
image[],
int
m,
int
n,
const
char
* file);
7
bool
WritePPM_Grayscale_ASCII(
unsigned
char
image[],
int
m,
int
n,
const
char
* file);
8
bool
WritePPM_RGB_Binary(
unsigned
char
image[],
int
m,
int
n,
const
char
* file);
9
bool
WritePPM_Grayscale_Binary(
unsigned
char
image[],
int
m,
int
n,
const
char
* file);
10
11
bool
ReadPPM_RGB(
unsigned
char
** image,
int
* m,
int
* n,
const
char
* file);
12
bool
ReadPPM_Grayscale(
unsigned
char
** image,
int
* m,
int
* n,
const
char
* file);
13
14
bool
ExportImagePPM(
const
char
* fn,
Image
& img,
bool
binary=
false
);
15
16
#endif
Image
Definition:
image.h:6
Generated by
1.8.11