Práctica Final. Rutas Aéreas.
imagenES.h
Ir a la documentación de este archivo.
1 
13 #ifndef _IMAGEN_ES_H_
14 #define _IMAGEN_ES_H_
15 
26  IMG_PPM
27  };
28 
29 
40 TipoImagen LeerTipoImagen(const char nombre[], int& filas, int& columnas);
41 
55 bool LeerImagenPPM (const char nombre[], int& filas, int& columnas, unsigned char buffer[]);
56 
68 bool EscribirImagenPPM (const char nombre[], const unsigned char datos[], int f, int c);
69 
82 bool LeerImagenPGM (const char nombre[], int& filas, int& columnas, unsigned char buffer[]);
83 
95 bool EscribirImagenPGM (const char nombre[], const unsigned char datos[], int f, int c);
96 
97 #endif
98 
99 /* Fin Fichero: imagenES.h */
100 
bool EscribirImagenPPM(const char nombre[], const unsigned char datos[], int f, int c)
Escribe una imagen de tipo PPM.
Definition: imagenES.cpp:131
bool LeerImagenPPM(const char nombre[], int &filas, int &columnas, unsigned char buffer[])
Lee una imagen de tipo PPM sobre memoria reservada.
Definition: imagenES.cpp:95
TipoImagen LeerTipoImagen(const char nombre[], int &filas, int &columnas)
Consulta el tipo de imagen del archivo y sus dimensiones.
Definition: imagenES.cpp:77
bool LeerImagenPGM(const char nombre[], int &filas, int &columnas, unsigned char buffer[])
Lee una imagen de tipo PGM sobre memoria reservada.
Definition: imagenES.cpp:113
TipoImagen
Tipo de imagen.
Definition: imagenES.h:24
@ IMG_PPM
Imagen tipo PPM.
Definition: imagenES.h:26
@ IMG_DESCONOCIDO
Tipo de imagen desconocido.
Definition: imagenES.h:24
@ IMG_PGM
Imagen tipo PGM.
Definition: imagenES.h:25
bool EscribirImagenPGM(const char nombre[], const unsigned char datos[], int f, int c)
Escribe una imagen de tipo PGM.
Definition: imagenES.cpp:147