Skip to content

Instantly share code, notes, and snippets.

@kkung
Created September 7, 2011 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkung/1200011 to your computer and use it in GitHub Desktop.
Save kkung/1200011 to your computer and use it in GitHub Desktop.
diff -urN pHash-0.9.4.orig/src/pHash.h pHash-0.9.4/src/pHash.h
--- pHash-0.9.4.orig/src/pHash.h 2011-01-31 00:46:06.000000000 +0900
+++ pHash-0.9.4/src/pHash.h 2011-09-07 16:57:11.000000000 +0900
@@ -47,7 +47,9 @@
#if defined(HAVE_IMAGE_HASH) || defined(HAVE_VIDEO_HASH)
#define cimg_debug 0
#define cimg_display 0
+#define cimg_use_png 1
#include "CImg.h"
+#include "png.h"
using namespace cimg_library;
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment