From a59daa8757608b3245baa9a34c5d5d9a8f95e313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Ch=C3=A9ritat?= Date: Sun, 9 May 2021 13:17:41 +0200 Subject: [PATCH] Delete test.cpp --- test.cpp | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 test.cpp diff --git a/test.cpp b/test.cpp deleted file mode 100644 index 430fe84..0000000 --- a/test.cpp +++ /dev/null @@ -1,39 +0,0 @@ -#include -#include "PNGImg.cpp" - -int main() { - - int width=300; - int height=200; - - PNGImg img(width,height,8,PNG_COLOR_TYPE_RGB); - - std::cout << "Endianness: " << (img.big_endian ? "big" : "little") << std::endl; - - PNGImg::pngText t1; - t1.type = PNG_TEXT_COMPRESSION_zTXt; - t1.key="Comment"; - t1.text="Coucou ;)"; - img.text.push_back(t1); - - img.data.resize(width*height*3); - - int k; - for(int li=0; li