add support of JPEG by using libjpeg

This commit is contained in:
Jinhao
2015-10-17 14:46:02 +08:00
parent 7f4cc3f6d9
commit 23ed986932
3 changed files with 106 additions and 0 deletions

View File

@@ -87,6 +87,14 @@
#define NANA_LIBPNG //Comment it to use libpng from operating system.
#endif
///////////////////
//Support for JPEG
// Define the NANA_ENABLE_JPEG to enable the support of JPEG.
//
//#define NANA_ENABLE_JPEG //!
#if defined(NANA_ENABLE_JPEG)
#define NANA_LIBJPEG //Comment this whole line to use libjpeg from operating system.
#endif
#endif //NANA_CONFIG_HPP