diff options
Diffstat (limited to 'tests/glean/image.h')
-rw-r--r-- | tests/glean/image.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/tests/glean/image.h b/tests/glean/image.h index fd28f49c..3c6d62c6 100644 --- a/tests/glean/image.h +++ b/tests/glean/image.h @@ -95,7 +95,7 @@ class Image { // descriptive information that might arise when an Image is reused, // and might permit use of template functions instead of lots of // switches. Probably not; it would make dynamic type assignment - // (such as reading a TIFF file) quite awkward. + // quite awkward. public: @@ -114,8 +114,6 @@ class Image { const char* filename; CantOpen(const char* p) {filename = p;} }; - struct UnsupportedTIFF: public Error { // TIFF we can't handle. - }; struct RefImageTooLarge: public Error { // Can't register ref image. }; @@ -228,18 +226,6 @@ class Image { // test if images are identical bool operator==(const Image &ref) const; - // Image arithmetic - // XXX type and format conversions, with appropriate scaling. - // XXX image difference - // XXX minmax, histogram, contrast stretch? - - // TIFF I/O utilities: - - void readTIFF(const char* filename); - inline void readTIFF(const std::string& s) { readTIFF(s.c_str()); } - void writeTIFF(const char* filename); - inline void writeTIFF(const std::string& s) { writeTIFF(s.c_str()); } - // GL operation utilities: void draw(); // Invoke glDrawPixels. |