diff --git a/imanox-chroma-matting/imanox-chroma-matting.depend b/imanox-chroma-matting/imanox-chroma-matting.depend new file mode 100644 index 0000000..9c2d6cc --- /dev/null +++ b/imanox-chroma-matting/imanox-chroma-matting.depend @@ -0,0 +1,19 @@ +# depslib dependency file v1.0 +1472483353 source:c:\users\sebastian\documents\git-repos\imanox-chroma-matting\imanox-chroma-matting\main.cpp + + + "C:\Program Files (x86)\GnuWin32\include\jpeglib.h" + +1116160468 c:\program files (x86)\gnuwin32\include\jpeglib.h + "jconfig.h" + "jmorecfg.h" + "jpegint.h" + "jerror.h" + +1116087864 c:\program files (x86)\gnuwin32\include\jconfig.h + + +1116087460 c:\program files (x86)\gnuwin32\include\jmorecfg.h + +1116146540 c:\program files (x86)\gnuwin32\include\jerror.h + diff --git a/imanox-chroma-matting/imanox-chroma-matting.layout b/imanox-chroma-matting/imanox-chroma-matting.layout new file mode 100644 index 0000000..0e5133e --- /dev/null +++ b/imanox-chroma-matting/imanox-chroma-matting.layout @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/imanox-chroma-matting/main.cpp b/imanox-chroma-matting/main.cpp index ac9a93c..e880b1e 100644 --- a/imanox-chroma-matting/main.cpp +++ b/imanox-chroma-matting/main.cpp @@ -1,15 +1,9 @@ #include +#include #include using namespace std; -int main() -{ - loadJpg("..\img\foregrounds\1.jpg") - cout << "Hello world!" << endl; - return 0; -} - int loadJpg(const char* Name) { unsigned char a, r, g, b; int width, height; @@ -63,8 +57,17 @@ int loadJpg(const char* Name) { (void) jpeg_finish_decompress(&cinfo); jpeg_destroy_decompress(&cinfo); - BMap = (int*)pTest; + /*BMap = (int*)pTest; Height = height; Width = width; - Depth = 32; + Depth = 32;*/ + cout << width << endl; +} + + +int main() +{ + loadJpg("../img/foregrounds/1.jpeg"); + cout << "Hello world!" << endl; + return 0; } diff --git a/img/foregrounds/1.jpg b/img/foregrounds/1.jpeg similarity index 100% rename from img/foregrounds/1.jpg rename to img/foregrounds/1.jpeg