#ifndef IMAGE_H_
#define IMAGE_H_
+#include <string>
+
class Image {
public:
enum Format {
void *pixels;
public:
+ std::string name;
+
Image();
~Image();
void flip_vertical();
void rotate_180();
+ void resize_half();
+
bool load(const char *fname);
bool save(const char *fname) const;
};