diff options
Diffstat (limited to 'test/main.cpp')
| -rw-r--r-- | test/main.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/main.cpp b/test/main.cpp index d4c2e64..d1633b8 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -2,6 +2,7 @@ #include <debug.h> #include <PNGImage.h> #include <BMPImage.h> +#include <WEBPImage.h> #include <zlib.h> #include <cstdint> #include <cstring> @@ -21,9 +22,9 @@ int main(int argc, char* argv[]) std::string outfile = argv[2]; - TehImage::PNGImage png; - png.readFromFile(infile); + TehImage::WEBPImage webp; + webp.readFromFile(infile); - TehImage::BMPImage bmp(png); + TehImage::BMPImage bmp(webp); bmp.writeToFile(outfile); } |
