FreeImage version 3.143 from Koen
authornico <nico@2c67d6c2-4361-4cd7-bd83-1149b1926c9b>
Sat, 18 May 2013 18:57:00 +0000 (18:57 +0000)
committernico <nico@2c67d6c2-4361-4cd7-bd83-1149b1926c9b>
Sat, 18 May 2013 18:57:00 +0000 (18:57 +0000)
git-svn-id: https://valelab.ucsf.edu/svn/3rdpartypublic@134 2c67d6c2-4361-4cd7-bd83-1149b1926c9b

1139 files changed:
FreeImage/Dist/delete.me [new file with mode: 0644]
FreeImage/Examples/Generic/BatchLoad.cpp [new file with mode: 0644]
FreeImage/Examples/Generic/CloneMultiPage.cpp [new file with mode: 0644]
FreeImage/Examples/Generic/CreateAlpha.cpp [new file with mode: 0644]
FreeImage/Examples/Generic/FIFImportExport.cpp [new file with mode: 0644]
FreeImage/Examples/Generic/FIIO_Mem.cpp [new file with mode: 0644]
FreeImage/Examples/Generic/FIIO_Mem.h [new file with mode: 0644]
FreeImage/Examples/Generic/LoadFromHandle.cpp [new file with mode: 0644]
FreeImage/Examples/Generic/LoadFromMemory-classified.cpp [new file with mode: 0644]
FreeImage/Examples/Generic/LoadFromMemory.cpp [new file with mode: 0644]
FreeImage/Examples/Generic/ShowMetadata.cpp [new file with mode: 0644]
FreeImage/Examples/Linux/Makefile [new file with mode: 0644]
FreeImage/Examples/Linux/linux-gtk.c [new file with mode: 0644]
FreeImage/Examples/Linux/linux-svgalib.c [new file with mode: 0644]
FreeImage/Examples/OpenGL/TextureManager/TextureManager.cpp [new file with mode: 0644]
FreeImage/Examples/OpenGL/TextureManager/TextureManager.h [new file with mode: 0644]
FreeImage/Examples/OpenGL/TextureManager/readme.txt [new file with mode: 0644]
FreeImage/Examples/Plugin/PluginCradle.cpp [new file with mode: 0644]
FreeImage/Examples/Plugin/PluginCradle.h [new file with mode: 0644]
FreeImage/FreeImage.2003.sln [new file with mode: 0644]
FreeImage/FreeImage.2003.vcproj [new file with mode: 0644]
FreeImage/FreeImage.2005.sln [new file with mode: 0644]
FreeImage/FreeImage.2005.vcproj [new file with mode: 0644]
FreeImage/FreeImage.2008.sln [new file with mode: 0644]
FreeImage/FreeImage.2008.vcproj [new file with mode: 0644]
FreeImage/FreeImage.rc [new file with mode: 0644]
FreeImage/Makefile [new file with mode: 0644]
FreeImage/Makefile.am [new file with mode: 0644]
FreeImage/Makefile.cygwin [new file with mode: 0644]
FreeImage/Makefile.fip [new file with mode: 0644]
FreeImage/Makefile.fiposx [new file with mode: 0755]
FreeImage/Makefile.gnu [new file with mode: 0644]
FreeImage/Makefile.in [new file with mode: 0644]
FreeImage/Makefile.iphone [new file with mode: 0644]
FreeImage/Makefile.mingw [new file with mode: 0644]
FreeImage/Makefile.osx [new file with mode: 0644]
FreeImage/Makefile.solaris [new file with mode: 0644]
FreeImage/Makefile.srcs [new file with mode: 0644]
FreeImage/README.iphone [new file with mode: 0644]
FreeImage/README.linux [new file with mode: 0644]
FreeImage/README.minGW [new file with mode: 0644]
FreeImage/README.osx [new file with mode: 0644]
FreeImage/README.solaris [new file with mode: 0644]
FreeImage/Source/CacheFile.h [new file with mode: 0644]
FreeImage/Source/DeprecationManager/Deprecated.cpp [new file with mode: 0644]
FreeImage/Source/DeprecationManager/DeprecationMgr.cpp [new file with mode: 0644]
FreeImage/Source/DeprecationManager/DeprecationMgr.h [new file with mode: 0644]
FreeImage/Source/FreeImage.h [new file with mode: 0644]
FreeImage/Source/FreeImage/BitmapAccess.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/CacheFile.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/ColorLookup.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/Conversion.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/Conversion16_555.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/Conversion16_565.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/Conversion24.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/Conversion32.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/Conversion4.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/Conversion8.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/ConversionFloat.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/ConversionRGB16.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/ConversionRGBF.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/ConversionType.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/ConversionUINT16.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/FreeImage.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/FreeImageC.c [new file with mode: 0644]
FreeImage/Source/FreeImage/FreeImageIO.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/GetType.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/Halftoning.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/J2KHelper.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/MNGHelper.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/MemoryIO.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/MultiPage.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/NNQuantizer.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PSDParser.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PSDParser.h [new file with mode: 0644]
FreeImage/Source/FreeImage/PixelAccess.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/Plugin.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginBMP.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginCUT.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginDDS.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginEXR.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginG3.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginGIF.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginHDR.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginICO.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginIFF.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginJ2K.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginJNG.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginJP2.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginJPEG.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginKOALA.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginMNG.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginPCD.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginPCX.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginPFM.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginPICT.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginPNG.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginPNM.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginPSD.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginRAS.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginRAW.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginSGI.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginTARGA.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginTIFF.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginWBMP.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginXBM.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/PluginXPM.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/TIFFLogLuv.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/ToneMapping.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/WuQuantizer.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/ZLibInterface.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/tmoColorConvert.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/tmoDrago03.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/tmoFattal02.cpp [new file with mode: 0644]
FreeImage/Source/FreeImage/tmoReinhard05.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageIO.h [new file with mode: 0644]
FreeImage/Source/FreeImageLib/FreeImageLib.2003.vcproj [new file with mode: 0644]
FreeImage/Source/FreeImageLib/FreeImageLib.2005.vcproj [new file with mode: 0644]
FreeImage/Source/FreeImageLib/FreeImageLib.2008.vcproj [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/BSplineRotate.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/Background.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/Channels.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/Colors.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/CopyPaste.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/Display.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/Filters.h [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/Flip.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/JPEGTransform.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/MultigridPoissonSolver.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/Rescale.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/Resize.cpp [new file with mode: 0644]
FreeImage/Source/FreeImageToolkit/Resize.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/LibJPEG.2003.vcproj [new file with mode: 0644]
FreeImage/Source/LibJPEG/LibJPEG.2005.vcproj [new file with mode: 0644]
FreeImage/Source/LibJPEG/LibJPEG.2008.vcproj [new file with mode: 0644]
FreeImage/Source/LibJPEG/README [new file with mode: 0644]
FreeImage/Source/LibJPEG/ansi2knr.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/cderror.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/cdjpeg.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/cdjpeg.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/change.log [new file with mode: 0644]
FreeImage/Source/LibJPEG/cjpeg.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/ckconfig.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/coderules.txt [new file with mode: 0644]
FreeImage/Source/LibJPEG/djpeg.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/example.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/filelist.txt [new file with mode: 0644]
FreeImage/Source/LibJPEG/install.txt [new file with mode: 0644]
FreeImage/Source/LibJPEG/jaricom.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jcapimin.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jcapistd.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jcarith.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jccoefct.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jccolor.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jcdctmgr.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jchuff.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jcinit.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jcmainct.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jcmarker.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jcmaster.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jcomapi.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jconfig.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/jconfig.txt [new file with mode: 0644]
FreeImage/Source/LibJPEG/jcparam.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jcprepct.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jcsample.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jctrans.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdapimin.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdapistd.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdarith.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdatadst.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdatasrc.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdcoefct.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdcolor.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdct.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/jddctmgr.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdhuff.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdinput.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdmainct.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdmarker.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdmaster.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdmerge.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdpostct.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdsample.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jdtrans.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jerror.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jerror.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/jfdctflt.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jfdctfst.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jfdctint.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jidctflt.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jidctfst.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jidctint.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jinclude.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/jmemansi.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jmemdos.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jmemdosa.asm [new file with mode: 0644]
FreeImage/Source/LibJPEG/jmemmac.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jmemmgr.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jmemname.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jmemnobs.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jmemsys.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/jmorecfg.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/jpegint.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/jpeglib.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/jpegtran.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jquant1.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jquant2.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jutils.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/jversion.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/libjpeg.txt [new file with mode: 0644]
FreeImage/Source/LibJPEG/rdbmp.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/rdcolmap.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/rdgif.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/rdjpgcom.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/rdppm.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/rdrle.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/rdswitch.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/rdtarga.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/structure.txt [new file with mode: 0644]
FreeImage/Source/LibJPEG/transupp.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/transupp.h [new file with mode: 0644]
FreeImage/Source/LibJPEG/usage.txt [new file with mode: 0644]
FreeImage/Source/LibJPEG/wizard.txt [new file with mode: 0644]
FreeImage/Source/LibJPEG/wrbmp.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/wrgif.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/wrjpgcom.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/wrppm.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/wrrle.c [new file with mode: 0644]
FreeImage/Source/LibJPEG/wrtarga.c [new file with mode: 0644]
FreeImage/Source/LibMNG/Changes [new file with mode: 0644]
FreeImage/Source/LibMNG/LICENSE [new file with mode: 0644]
FreeImage/Source/LibMNG/LibMNG.2003.vcproj [new file with mode: 0644]
FreeImage/Source/LibMNG/LibMNG.2005.vcproj [new file with mode: 0644]
FreeImage/Source/LibMNG/LibMNG.2008.vcproj [new file with mode: 0644]
FreeImage/Source/LibMNG/README [new file with mode: 0644]
FreeImage/Source/LibMNG/README.autoconf [new file with mode: 0644]
FreeImage/Source/LibMNG/README.config [new file with mode: 0644]
FreeImage/Source/LibMNG/README.contrib [new file with mode: 0644]
FreeImage/Source/LibMNG/README.examples [new file with mode: 0644]
FreeImage/Source/LibMNG/README.footprint [new file with mode: 0644]
FreeImage/Source/LibMNG/README.packaging [new file with mode: 0644]
FreeImage/Source/LibMNG/_FI_3151_PluginMNG.cpp [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_callback_xs.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_chunk_descr.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_chunk_descr.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_chunk_io.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_chunk_io.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_chunk_prc.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_chunk_prc.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_chunk_xs.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_chunks.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_cms.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_cms.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_conf.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_data.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_display.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_display.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_dither.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_dither.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_error.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_error.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_filter.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_filter.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_hlapi.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_jpeg.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_jpeg.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_memory.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_object_prc.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_object_prc.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_objects.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_pixels.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_pixels.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_prop_xs.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_read.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_read.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_trace.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_trace.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_types.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_write.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_write.h [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_zlib.c [new file with mode: 0644]
FreeImage/Source/LibMNG/libmng_zlib.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/AUTHORS [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/CHANGES [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/INSTALL [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/LICENSE [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/LibOpenJPEG.2003.vcproj [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/LibOpenJPEG.2005.vcproj [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/LibOpenJPEG.2008.vcproj [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/NEWS [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/README [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/THANKS [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/bio.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/bio.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/cidx_manager.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/cidx_manager.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/cio.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/cio.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/dwt.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/dwt.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/event.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/event.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/fix.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/image.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/image.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/indexbox_manager.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/int.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/j2k.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/j2k.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/j2k_lib.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/j2k_lib.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/jp2.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/jp2.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/jpt.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/jpt.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/mct.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/mct.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/mqc.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/mqc.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/openjpeg.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/openjpeg.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/opj_config.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/opj_includes.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/opj_malloc.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/phix_manager.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/pi.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/pi.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/ppix_manager.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/raw.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/raw.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/t1.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/t1.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/t1_generate_luts.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/t1_luts.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/t2.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/t2.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/tcd.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/tcd.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/tgt.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/tgt.h [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/thix_manager.c [new file with mode: 0644]
FreeImage/Source/LibOpenJPEG/tpix_manager.c [new file with mode: 0644]
FreeImage/Source/LibPNG/ANNOUNCE [new file with mode: 0644]
FreeImage/Source/LibPNG/CHANGES [new file with mode: 0644]
FreeImage/Source/LibPNG/INSTALL [new file with mode: 0644]
FreeImage/Source/LibPNG/LICENSE [new file with mode: 0644]
FreeImage/Source/LibPNG/LibPNG.2003.vcproj [new file with mode: 0644]
FreeImage/Source/LibPNG/LibPNG.2005.vcproj [new file with mode: 0644]
FreeImage/Source/LibPNG/LibPNG.2008.vcproj [new file with mode: 0644]
FreeImage/Source/LibPNG/README [new file with mode: 0644]
FreeImage/Source/LibPNG/TODO [new file with mode: 0644]
FreeImage/Source/LibPNG/configure [new file with mode: 0644]
FreeImage/Source/LibPNG/example.c [new file with mode: 0644]
FreeImage/Source/LibPNG/libpng-manual.txt [new file with mode: 0644]
FreeImage/Source/LibPNG/libpng.3 [new file with mode: 0644]
FreeImage/Source/LibPNG/libpngpf.3 [new file with mode: 0644]
FreeImage/Source/LibPNG/png.5 [new file with mode: 0644]
FreeImage/Source/LibPNG/png.c [new file with mode: 0644]
FreeImage/Source/LibPNG/png.h [new file with mode: 0644]
FreeImage/Source/LibPNG/pngconf.h [new file with mode: 0644]
FreeImage/Source/LibPNG/pngdebug.h [new file with mode: 0644]
FreeImage/Source/LibPNG/pngerror.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngget.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pnginfo.h [new file with mode: 0644]
FreeImage/Source/LibPNG/pnglibconf.h [new file with mode: 0644]
FreeImage/Source/LibPNG/pngmem.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngpread.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngpriv.h [new file with mode: 0644]
FreeImage/Source/LibPNG/pngread.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngrio.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngrtran.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngrutil.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngset.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngstruct.h [new file with mode: 0644]
FreeImage/Source/LibPNG/pngtest.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngtrans.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngwio.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngwrite.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngwtran.c [new file with mode: 0644]
FreeImage/Source/LibPNG/pngwutil.c [new file with mode: 0644]
FreeImage/Source/LibRawLite/COPYRIGHT [new file with mode: 0644]
FreeImage/Source/LibRawLite/Changelog.txt [new file with mode: 0644]
FreeImage/Source/LibRawLite/LICENSE.CDDL [new file with mode: 0644]
FreeImage/Source/LibRawLite/LICENSE.LGPL [new file with mode: 0644]
FreeImage/Source/LibRawLite/LibRawLite.2003.vcproj [new file with mode: 0644]
FreeImage/Source/LibRawLite/LibRawLite.2005.vcproj [new file with mode: 0644]
FreeImage/Source/LibRawLite/LibRawLite.2008.vcproj [new file with mode: 0644]
FreeImage/Source/LibRawLite/README [new file with mode: 0644]
FreeImage/Source/LibRawLite/README.demosaic-packs [new file with mode: 0644]
FreeImage/Source/LibRawLite/dcraw/dcraw.c [new file with mode: 0644]
FreeImage/Source/LibRawLite/internal/dcb_demosaicing.c [new file with mode: 0644]
FreeImage/Source/LibRawLite/internal/dcraw_common.cpp [new file with mode: 0644]
FreeImage/Source/LibRawLite/internal/dcraw_fileio.cpp [new file with mode: 0644]
FreeImage/Source/LibRawLite/internal/defines.h [new file with mode: 0644]
FreeImage/Source/LibRawLite/internal/demosaic_packs.cpp [new file with mode: 0644]
FreeImage/Source/LibRawLite/internal/libraw_bytebuffer.h [new file with mode: 0644]
FreeImage/Source/LibRawLite/internal/libraw_internal_funcs.h [new file with mode: 0644]
FreeImage/Source/LibRawLite/internal/var_defines.h [new file with mode: 0644]
FreeImage/Source/LibRawLite/libraw/libraw.h [new file with mode: 0644]
FreeImage/Source/LibRawLite/libraw/libraw_alloc.h [new file with mode: 0644]
FreeImage/Source/LibRawLite/libraw/libraw_const.h [new file with mode: 0644]
FreeImage/Source/LibRawLite/libraw/libraw_datastream.h [new file with mode: 0644]
FreeImage/Source/LibRawLite/libraw/libraw_internal.h [new file with mode: 0644]
FreeImage/Source/LibRawLite/libraw/libraw_types.h [new file with mode: 0644]
FreeImage/Source/LibRawLite/libraw/libraw_version.h [new file with mode: 0644]
FreeImage/Source/LibRawLite/src/libraw_c_api.cpp [new file with mode: 0644]
FreeImage/Source/LibRawLite/src/libraw_cxx.cpp [new file with mode: 0644]
FreeImage/Source/LibRawLite/src/libraw_datastream.cpp [new file with mode: 0644]
FreeImage/Source/LibTIFF/ChangeLog [new file with mode: 0644]
FreeImage/Source/LibTIFF/LibTIFF.2003.vcproj [new file with mode: 0644]
FreeImage/Source/LibTIFF/LibTIFF.2005.vcproj [new file with mode: 0644]
FreeImage/Source/LibTIFF/LibTIFF.2008.vcproj [new file with mode: 0644]
FreeImage/Source/LibTIFF/Makefile.am [new file with mode: 0644]
FreeImage/Source/LibTIFF/Makefile.in [new file with mode: 0644]
FreeImage/Source/LibTIFF/SConstruct [new file with mode: 0644]
FreeImage/Source/LibTIFF/_FI_3151_PluginG3.cpp [new file with mode: 0644]
FreeImage/Source/LibTIFF/_FI_3151_PluginTIFF.cpp [new file with mode: 0644]
FreeImage/Source/LibTIFF/_FI_3151_XTIFF.cpp [new file with mode: 0644]
FreeImage/Source/LibTIFF/makefile.vc [new file with mode: 0644]
FreeImage/Source/LibTIFF/mkg3states.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/mkspans.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/t4.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_acorn.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_apple.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_atari.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_aux.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_close.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_codec.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_color.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_compress.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_config.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_config.h-vms [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_config.h.in [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_config.vc.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_config.wince.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_dir.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_dir.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_dirinfo.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_dirread.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_dirwrite.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_dumpmode.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_error.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_extension.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_fax3.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_fax3.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_fax3sm.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_flush.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_getimage.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_jbig.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_jpeg.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_luv.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_lzw.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_msdos.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_next.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_ojpeg.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_open.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_packbits.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_pixarlog.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_predict.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_predict.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_print.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_read.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_stream.cxx [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_strip.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_swab.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_thunder.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_tile.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_unix.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_version.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_vms.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_warning.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_win3.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_win32.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_wince.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_write.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tif_zip.c [new file with mode: 0644]
FreeImage/Source/LibTIFF/tiff.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tiffconf.h-vms [new file with mode: 0644]
FreeImage/Source/LibTIFF/tiffconf.h.in [new file with mode: 0644]
FreeImage/Source/LibTIFF/tiffconf.vc.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tiffconf.wince.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tiffio.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tiffio.hxx [new file with mode: 0644]
FreeImage/Source/LibTIFF/tiffiop.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tiffvers.h [new file with mode: 0644]
FreeImage/Source/LibTIFF/tiffvers.h.in [new file with mode: 0644]
FreeImage/Source/LibTIFF/uvcode.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/ChangeLog [new file with mode: 0644]
FreeImage/Source/LibTIFF4/LibTIFF4.2003.vcproj [new file with mode: 0644]
FreeImage/Source/LibTIFF4/LibTIFF4.2005.vcproj [new file with mode: 0644]
FreeImage/Source/LibTIFF4/LibTIFF4.2008.vcproj [new file with mode: 0644]
FreeImage/Source/LibTIFF4/mkg3states.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/mkspans.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/t4.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_aux.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_close.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_codec.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_color.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_compress.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_config.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_config.h-vms [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_config.h.in [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_config.vc.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_config.wince.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_dir.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_dir.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_dirinfo.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_dirread.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_dirwrite.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_dumpmode.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_error.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_extension.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_fax3.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_fax3.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_fax3sm.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_flush.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_getimage.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_jbig.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_jpeg.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_jpeg_12.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_luv.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_lzma.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_lzw.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_next.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_ojpeg.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_open.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_packbits.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_pixarlog.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_predict.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_predict.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_print.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_read.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_stream.cxx [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_strip.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_swab.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_thunder.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_tile.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_unix.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_version.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_vms.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_warning.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_win32.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_wince.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_write.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tif_zip.c [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tiff.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tiffconf.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tiffconf.h-vms [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tiffconf.h.in [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tiffconf.vc.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tiffconf.wince.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tiffio.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tiffio.hxx [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tiffiop.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tiffvers.h [new file with mode: 0644]
FreeImage/Source/LibTIFF4/tiffvers.h.in [new file with mode: 0644]
FreeImage/Source/LibTIFF4/uvcode.h [new file with mode: 0644]
FreeImage/Source/Makefile.am [new file with mode: 0644]
FreeImage/Source/Makefile.in [new file with mode: 0644]
FreeImage/Source/Metadata/Exif.cpp [new file with mode: 0644]
FreeImage/Source/Metadata/FIRational.cpp [new file with mode: 0644]
FreeImage/Source/Metadata/FIRational.h [new file with mode: 0644]
FreeImage/Source/Metadata/FreeImageTag.cpp [new file with mode: 0644]
FreeImage/Source/Metadata/FreeImageTag.h [new file with mode: 0644]
FreeImage/Source/Metadata/IPTC.cpp [new file with mode: 0644]
FreeImage/Source/Metadata/TagConversion.cpp [new file with mode: 0644]
FreeImage/Source/Metadata/TagLib.cpp [new file with mode: 0644]
FreeImage/Source/Metadata/XTIFF.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/ilmbase/AUTHORS [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/ilmbase/COPYING [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/ilmbase/ChangeLog [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/ilmbase/INSTALL [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/ilmbase/LICENSE [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/ilmbase/NEWS [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/ilmbase/README [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/ilmbase/README.CVS [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/ilmbase/README.OSX [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/ilmbase/README.win32 [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/openexr/AUTHORS [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/openexr/COPYING [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/openexr/ChangeLog [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/openexr/INSTALL [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/openexr/LICENSE [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/openexr/NEWS [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/openexr/README [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/openexr/README.CVS [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/openexr/README.OSX [new file with mode: 0644]
FreeImage/Source/OpenEXR/Copyrights/openexr/README.win32 [new file with mode: 0644]
FreeImage/Source/OpenEXR/Half/Makefile.am [new file with mode: 0644]
FreeImage/Source/OpenEXR/Half/Makefile.in [new file with mode: 0644]
FreeImage/Source/OpenEXR/Half/eLut.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Half/eLut.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Half/half.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Half/half.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Half/halfFunction.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Half/halfLimits.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Half/toFloat.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Half/toFloat.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Iex/Iex.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Iex/IexBaseExc.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Iex/IexBaseExc.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Iex/IexErrnoExc.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Iex/IexMacros.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Iex/IexMathExc.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Iex/IexThrowErrnoExc.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Iex/IexThrowErrnoExc.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Iex/Makefile.am [new file with mode: 0644]
FreeImage/Source/OpenEXR/Iex/Makefile.in [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmBaseConfig.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfAcesFile.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfAcesFile.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfArray.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfAutoArray.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfB44Compressor.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfB44Compressor.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfBoxAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfBoxAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfCRgbaFile.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfCRgbaFile.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfChannelList.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfChannelList.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfChannelListAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfChannelListAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfCheckedArithmetic.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfChromaticities.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfChromaticities.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfChromaticitiesAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfChromaticitiesAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfCompression.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfCompressionAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfCompressionAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfCompressor.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfCompressor.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfConvert.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfConvert.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfDoubleAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfDoubleAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfEnvmap.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfEnvmap.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfEnvmapAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfEnvmapAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfFloatAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfFloatAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfFrameBuffer.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfFrameBuffer.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfFramesPerSecond.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfFramesPerSecond.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfHeader.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfHeader.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfHuf.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfHuf.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfIO.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfIO.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfInputFile.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfInputFile.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfInt64.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfIntAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfIntAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfKeyCode.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfKeyCode.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfKeyCodeAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfKeyCodeAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfLineOrder.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfLineOrderAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfLineOrderAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfLut.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfLut.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfMatrixAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfMatrixAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfMisc.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfMisc.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfMultiView.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfMultiView.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfName.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfOpaqueAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfOpaqueAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfOutputFile.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfOutputFile.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfPixelType.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfPizCompressor.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfPizCompressor.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfPreviewImage.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfPreviewImage.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfPreviewImageAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfPreviewImageAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfPxr24Compressor.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfPxr24Compressor.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfRational.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfRational.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfRationalAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfRationalAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfRgba.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfRgbaFile.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfRgbaFile.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfRgbaYca.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfRgbaYca.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfRleCompressor.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfRleCompressor.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfScanLineInputFile.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfScanLineInputFile.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfStandardAttributes.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfStandardAttributes.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfStdIO.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfStdIO.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfStringAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfStringAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfStringVectorAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfStringVectorAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTestFile.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTestFile.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfThreading.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfThreading.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTileDescription.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTileDescriptionAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTileDescriptionAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTileOffsets.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTileOffsets.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTiledInputFile.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTiledInputFile.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTiledMisc.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTiledMisc.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTiledOutputFile.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTiledOutputFile.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTiledRgbaFile.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTiledRgbaFile.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTimeCode.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTimeCode.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTimeCodeAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfTimeCodeAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfVecAttribute.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfVecAttribute.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfVersion.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfVersion.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfWav.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfWav.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfXdr.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfZipCompressor.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/ImfZipCompressor.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/Makefile.am [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/Makefile.in [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/b44ExpLogTable.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmImf/b44ExpLogTable.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThread.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThread.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadMutex.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadMutex.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadMutexPosix.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadMutexWin32.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadPool.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadPool.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadPosix.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadSemaphore.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadSemaphore.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadSemaphorePosix.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadSemaphorePosixCompat.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadSemaphoreWin32.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/IlmThreadWin32.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/Makefile.am [new file with mode: 0644]
FreeImage/Source/OpenEXR/IlmThread/Makefile.in [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathBox.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathBox.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathBoxAlgo.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathColor.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathColorAlgo.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathColorAlgo.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathEuler.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathExc.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathFrame.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathFrustum.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathFrustumTest.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathFun.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathFun.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathGL.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathGLU.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathHalfLimits.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathInt64.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathInterval.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathLimits.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathLine.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathLineAlgo.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathMath.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathMatrix.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathMatrixAlgo.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathMatrixAlgo.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathPlane.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathPlatform.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathQuat.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathRandom.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathRandom.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathRoots.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathShear.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathShear.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathSphere.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathVec.cpp [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathVec.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/ImathVecAlgo.h [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/Makefile.am [new file with mode: 0644]
FreeImage/Source/OpenEXR/Imath/Makefile.in [new file with mode: 0644]
FreeImage/Source/OpenEXR/OpenEXR.2003.vcproj [new file with mode: 0644]
FreeImage/Source/OpenEXR/OpenEXR.2005.vcproj [new file with mode: 0644]
FreeImage/Source/OpenEXR/OpenEXR.2008.vcproj [new file with mode: 0644]
FreeImage/Source/OpenEXR/OpenEXRConfig.h [new file with mode: 0644]
FreeImage/Source/Plugin.h [new file with mode: 0644]
FreeImage/Source/Quantizers.h [new file with mode: 0644]
FreeImage/Source/ToneMapping.h [new file with mode: 0644]
FreeImage/Source/Utilities.h [new file with mode: 0644]
FreeImage/Source/ZLib/ChangeLog [new file with mode: 0644]
FreeImage/Source/ZLib/FAQ [new file with mode: 0644]
FreeImage/Source/ZLib/INDEX [new file with mode: 0644]
FreeImage/Source/ZLib/Makefile [new file with mode: 0644]
FreeImage/Source/ZLib/Makefile.in [new file with mode: 0644]
FreeImage/Source/ZLib/README [new file with mode: 0644]
FreeImage/Source/ZLib/ZLib.2003.vcproj [new file with mode: 0644]
FreeImage/Source/ZLib/ZLib.2005.vcproj [new file with mode: 0644]
FreeImage/Source/ZLib/ZLib.2008.vcproj [new file with mode: 0644]
FreeImage/Source/ZLib/adler32.c [new file with mode: 0644]
FreeImage/Source/ZLib/compress.c [new file with mode: 0644]
FreeImage/Source/ZLib/configure [new file with mode: 0644]
FreeImage/Source/ZLib/crc32.c [new file with mode: 0644]
FreeImage/Source/ZLib/crc32.h [new file with mode: 0644]
FreeImage/Source/ZLib/deflate.c [new file with mode: 0644]
FreeImage/Source/ZLib/deflate.h [new file with mode: 0644]
FreeImage/Source/ZLib/gzclose.c [new file with mode: 0644]
FreeImage/Source/ZLib/gzguts.h [new file with mode: 0644]
FreeImage/Source/ZLib/gzlib.c [new file with mode: 0644]
FreeImage/Source/ZLib/gzread.c [new file with mode: 0644]
FreeImage/Source/ZLib/gzwrite.c [new file with mode: 0644]
FreeImage/Source/ZLib/infback.c [new file with mode: 0644]
FreeImage/Source/ZLib/inffast.c [new file with mode: 0644]
FreeImage/Source/ZLib/inffast.h [new file with mode: 0644]
FreeImage/Source/ZLib/inffixed.h [new file with mode: 0644]
FreeImage/Source/ZLib/inflate.c [new file with mode: 0644]
FreeImage/Source/ZLib/inflate.h [new file with mode: 0644]
FreeImage/Source/ZLib/inftrees.c [new file with mode: 0644]
FreeImage/Source/ZLib/inftrees.h [new file with mode: 0644]
FreeImage/Source/ZLib/trees.c [new file with mode: 0644]
FreeImage/Source/ZLib/trees.h [new file with mode: 0644]
FreeImage/Source/ZLib/uncompr.c [new file with mode: 0644]
FreeImage/Source/ZLib/zconf.h [new file with mode: 0644]
FreeImage/Source/ZLib/zconf.h.in [new file with mode: 0644]
FreeImage/Source/ZLib/zlib.3 [new file with mode: 0644]
FreeImage/Source/ZLib/zlib.h [new file with mode: 0644]
FreeImage/Source/ZLib/zutil.c [new file with mode: 0644]
FreeImage/Source/ZLib/zutil.h [new file with mode: 0644]
FreeImage/TestAPI/MainTestSuite.cpp [new file with mode: 0644]
FreeImage/TestAPI/Makefile [new file with mode: 0644]
FreeImage/TestAPI/Makefile.am [new file with mode: 0644]
FreeImage/TestAPI/Makefile.in [new file with mode: 0644]
FreeImage/TestAPI/Test.2003.sln [new file with mode: 0644]
FreeImage/TestAPI/Test.2003.vcproj [new file with mode: 0644]
FreeImage/TestAPI/Test.2005.sln [new file with mode: 0644]
FreeImage/TestAPI/Test.2005.vcproj [new file with mode: 0644]
FreeImage/TestAPI/Test.2008.sln [new file with mode: 0644]
FreeImage/TestAPI/Test.2008.vcproj [new file with mode: 0644]
FreeImage/TestAPI/TestSuite.h [new file with mode: 0644]
FreeImage/TestAPI/exif.jpg [new file with mode: 0644]
FreeImage/TestAPI/sample.png [new file with mode: 0644]
FreeImage/TestAPI/testChannels.cpp [new file with mode: 0644]
FreeImage/TestAPI/testHeaderOnly.cpp [new file with mode: 0644]
FreeImage/TestAPI/testImageType.cpp [new file with mode: 0644]
FreeImage/TestAPI/testJPEG.cpp [new file with mode: 0644]
FreeImage/TestAPI/testMPage.cpp [new file with mode: 0644]
FreeImage/TestAPI/testMPageMemory.cpp [new file with mode: 0644]
FreeImage/TestAPI/testMPageStream.cpp [new file with mode: 0644]
FreeImage/TestAPI/testMemIO.cpp [new file with mode: 0644]
FreeImage/TestAPI/testPlugins.cpp [new file with mode: 0644]
FreeImage/TestAPI/testThumbnail.cpp [new file with mode: 0644]
FreeImage/TestAPI/testTools.cpp [new file with mode: 0644]
FreeImage/Whatsnew.txt [new file with mode: 0644]
FreeImage/Wrapper/Delphi/WhatsNew_Delphi.txt [new file with mode: 0644]
FreeImage/Wrapper/Delphi/_clean.bat [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/ImagePreview/ImagePreview.dpr [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/ImagePreview/ImagePreview.res [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/ImagePreview/MainFrm.dfm [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/ImagePreview/MainFrm.pas [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/ImagePreview/Readme.txt [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/ImagePreview/Tiger.jpg [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/MultiBitmap/MultiBitmap.dpr [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/MultiBitmap/MultiBitmap.res [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/MultiBitmap/MultiBitmap.stat [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/MultiBitmap/mbMainForm.dfm [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/MultiBitmap/mbMainForm.pas [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/TargaUnit/Readme.txt [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/TargaUnit/TargaImage.pas [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/WinBitmap/MainDemo.dpr [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/WinBitmap/MainDemo.res [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/WinBitmap/MainForm.dfm [new file with mode: 0644]
FreeImage/Wrapper/Delphi/demo/WinBitmap/MainForm.pas [new file with mode: 0644]
FreeImage/Wrapper/Delphi/license.txt [new file with mode: 0644]
FreeImage/Wrapper/Delphi/src/FreeBitmap.pas [new file with mode: 0644]
FreeImage/Wrapper/Delphi/src/FreeImage.pas [new file with mode: 0644]
FreeImage/Wrapper/Delphi/src/FreeUtils.pas [new file with mode: 0644]
FreeImage/Wrapper/Delphi/src/Version.inc [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cpp/FreeImageIO/AssemblyInfo.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.h [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.Net.vcproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cpp/FreeImageIO/FreeImageIO.sln [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cpp/FreeImageIO/ReadMe.txt [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cpp/FreeImageIO/Stdafx.h [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cpp/FreeImageIO/app.ico [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cpp/FreeImageIO/app.rc [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cpp/FreeImageIO/resource.h [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Bin/delete.me [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Content.txt [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Doc/3.11.0/FreeImage.NET.shfbproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Doc/3.12.0/FreeImage.NET.shfbproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Doc/3.13.0/FreeImage.NET.shfbproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Doc/FreeImage.NET.shfbproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Doc/SHFB.txt [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/FreeImage.NET.2005.sln [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/FreeImage.NET.nunit [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/FreeImage.NET.sln [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/FreeImageBitmap.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/FreeImageEngine.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/FreeImagePlugin.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/FreeImageStreamIO.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/GifInformation.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/ImageMetadata.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/LocalPlugin.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/MemoryArray.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/MetadataModel.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/MetadataModels.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/MetadataTag.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/Palette.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/PluginRepository.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/Scanline.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Classes/StreamWrapper.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Delegates.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/DisposalMethodType.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_COLOR_CHANNEL.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_COLOR_DEPTH.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_COLOR_OPTIONS.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_COLOR_TYPE.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_COMPARE_FLAGS.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_DITHER.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_FILTER.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_FORMAT.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_JPEG_OPERATION.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_LOAD_FLAGS.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_MDMODEL.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_MDTYPE.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_METADATA_COPY.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_QUANTIZE.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_SAVE_FLAGS.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_TMO.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/FREE_IMAGE_TYPE.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/ICC_FLAGS.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Enumerations/MD_SEARCH_FLAGS.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/FreeImageStaticImports.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/FreeImageWrapper.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Library.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Library.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/BITMAP.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/BITMAPINFO.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/BITMAPINFOHEADER.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FI16RGB555.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FI16RGB565.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FI1BIT.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FI4BIT.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FIBITMAP.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FICOMPLEX.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FIICCPROFILE.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FIMEMORY.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FIMETADATA.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FIMULTIBITMAP.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FIRGB16.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FIRGBA16.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FIRGBAF.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FIRGBF.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FIRational.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FITAG.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FIURational.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/FreeImageIO.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/Plugin.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/RGBQUAD.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/RGBTRIPLE.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/Structs/fi_handle.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Library/build.bat [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 01 - Loading and saving/Program.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 01 - Loading and saving/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 01 - Loading and saving/Sample 01 - Loading and saving.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 01 - Loading and saving/Sample 01 - Loading and saving.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 01 - Loading and saving/Sample.jpg [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 02 - Multipaged bitmaps/Program.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 02 - Multipaged bitmaps/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 02 - Multipaged bitmaps/Sample 02 - Multipaged bitmaps.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 02 - Multipaged bitmaps/Sample 02 - Multipaged bitmaps.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 02 - Multipaged bitmaps/multipaged.tif [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 03 - Allocating/Program.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 03 - Allocating/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 03 - Allocating/Sample 03 - Allocating.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 03 - Allocating/Sample 03 - Allocating.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 04 - Getting bitmap informations/MainForm.Designer.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 04 - Getting bitmap informations/MainForm.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 04 - Getting bitmap informations/MainForm.resx [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 04 - Getting bitmap informations/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 04 - Getting bitmap informations/Sample 04 - Getting bitmap informations.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 04 - Getting bitmap informations/Sample 04 - Getting bitmap informations.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 05 - Working with pixels/Program.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 05 - Working with pixels/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 05 - Working with pixels/Sample 05 - Working with pixels.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 05 - Working with pixels/Sample 05 - Working with pixels.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 05 - Working with pixels/Sample.jpg [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 05 - Working with pixels/Sample.tif [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 06 - Converting/MainForm.Designer.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 06 - Converting/MainForm.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 06 - Converting/MainForm.resx [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 06 - Converting/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 06 - Converting/Sample 06 - Converting.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 06 - Converting/Sample 06 - Converting.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 06 - Converting/Sample.jpg [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 07 - ICC Profiles/Program.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 07 - ICC Profiles/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 07 - ICC Profiles/Sample 07 - ICC Profiles.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 07 - ICC Profiles/Sample 07 - ICC Profiles.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 07 - ICC Profiles/Sample.jpg [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 08 - Creating a plugin/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 08 - Creating a plugin/Sample 08 - Creating a plugin.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 08 - Creating a plugin/Sample 08 - Creating a plugin.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 08 - Creating a plugin/Sample.jpg [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 08 - Creating a plugin/SampleForm.Designer.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 08 - Creating a plugin/SampleForm.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 08 - Creating a plugin/SampleForm.resx [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 08 - Creating a plugin/SerializationPlugin.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 09 - Working with streams/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 09 - Working with streams/Sample 09 - Working with streams.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 09 - Working with streams/Sample 09 - Working with streams.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 09 - Working with streams/SampleForm.Designer.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 09 - Working with streams/SampleForm.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 09 - Working with streams/SampleForm.resx [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 10 - Metadata/MainForm.Designer.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 10 - Metadata/MainForm.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 10 - Metadata/MainForm.resx [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 10 - Metadata/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 10 - Metadata/Sample 10 - Metadata.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 10 - Metadata/Sample 10 - Metadata.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 11 - Using the FreeImageBitmap class/MainForm.Designer.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 11 - Using the FreeImageBitmap class/MainForm.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 11 - Using the FreeImageBitmap class/MainForm.resx [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 11 - Using the FreeImageBitmap class/MetaDataFrame.Designer.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 11 - Using the FreeImageBitmap class/MetaDataFrame.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 11 - Using the FreeImageBitmap class/MetaDataFrame.resx [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 11 - Using the FreeImageBitmap class/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 11 - Using the FreeImageBitmap class/Sample 11 - Using the FreeImageBitmap class.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Samples/Sample 11 - Using the FreeImageBitmap class/Sample 11 - Using the FreeImageBitmap class.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/SourceFileMerger/FreeImage.cs.template [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/SourceFileMerger/Program.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/SourceFileMerger/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/SourceFileMerger/SourceFileMerger.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/SourceFileMerger/SourceFileMerger.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/UnitTest/FreeImage.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/UnitTest/ImageManager.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/UnitTest/NUnit.txt [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/UnitTest/Properties/AssemblyInfo.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/UnitTest/UnitTest.2005.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/UnitTest/UnitTest.cs [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/UnitTest/UnitTest.csproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/Whats_New.NET.txt [new file with mode: 0644]
FreeImage/Wrapper/FreeImage.NET/cs/clean.bat [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/FreeImagePlus.2003.sln [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/FreeImagePlus.2003.vcproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/FreeImagePlus.2005.sln [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/FreeImagePlus.2005.vcproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/FreeImagePlus.2008.sln [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/FreeImagePlus.2008.vcproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/FreeImagePlus.h [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/FreeImagePlus.rc [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/Makefile.am [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/Makefile.in [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/WhatsNew_FIP.txt [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/clean.bat [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/dist/delete.me [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/doc/FreeImagePlus.dox [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/doc/footer.html [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/doc/freeimage.png [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/doc/freeimagedoc.jpg [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/doc/index.html [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/src/FreeImagePlus.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/src/fipImage.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/src/fipMemoryIO.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/src/fipMetadataFind.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/src/fipMultiPage.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/src/fipTag.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/src/fipWinImage.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/fipTest.2003.sln [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/fipTest.2003.vcproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/fipTest.2005.sln [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/fipTest.2005.vcproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/fipTest.2008.sln [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/fipTest.2008.vcproj [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/fipTest.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/fipTest.h [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/fipTestMPage.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/fipTestMPageMemory.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/fipTestMPageStream.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/fipTestMemIO.cpp [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/test.jpg [new file with mode: 0644]
FreeImage/Wrapper/FreeImagePlus/test/test.tif [new file with mode: 0644]
FreeImage/Wrapper/VB6/mfreeimage/MFreeImage.bas [new file with mode: 0644]
FreeImage/Wrapper/VB6/mfreeimage/WhatsNew_VB.txt [new file with mode: 0644]
FreeImage/Wrapper/VB6/test/SimpleTest.frm [new file with mode: 0644]
FreeImage/Wrapper/VB6/test/SimpleTest.vbp [new file with mode: 0644]
FreeImage/aclocal.m4 [new file with mode: 0644]
FreeImage/autom4te.cache/output.0 [new file with mode: 0644]
FreeImage/autom4te.cache/output.1 [new file with mode: 0644]
FreeImage/autom4te.cache/output.2 [new file with mode: 0644]
FreeImage/autom4te.cache/requests [new file with mode: 0644]
FreeImage/autom4te.cache/traces.0 [new file with mode: 0644]
FreeImage/autom4te.cache/traces.1 [new file with mode: 0644]
FreeImage/autom4te.cache/traces.2 [new file with mode: 0644]
FreeImage/clean.bat [new file with mode: 0644]
FreeImage/clean.sh [new file with mode: 0644]
FreeImage/config/config.guess [new file with mode: 0755]
FreeImage/config/config.sub [new file with mode: 0755]
FreeImage/config/depcomp [new file with mode: 0755]
FreeImage/config/install-sh [new file with mode: 0755]
FreeImage/config/ltmain.sh [new file with mode: 0644]
FreeImage/config/missing [new file with mode: 0755]
FreeImage/configure [new file with mode: 0755]
FreeImage/configure.ac [new file with mode: 0644]
FreeImage/fipMakefile.srcs [new file with mode: 0644]
FreeImage/genfipsrclist.sh [new file with mode: 0644]
FreeImage/gensrclist.sh [new file with mode: 0644]
FreeImage/license-fi.txt [new file with mode: 0644]
FreeImage/license-gplv2.txt [new file with mode: 0644]
FreeImage/license-gplv3.txt [new file with mode: 0644]
FreeImage/m4/libtool.m4 [new file with mode: 0644]
FreeImage/m4/ltoptions.m4 [new file with mode: 0644]
FreeImage/m4/ltsugar.m4 [new file with mode: 0644]
FreeImage/m4/ltversion.m4 [new file with mode: 0644]
FreeImage/m4/lt~obsolete.m4 [new file with mode: 0644]

diff --git a/FreeImage/Dist/delete.me b/FreeImage/Dist/delete.me
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/FreeImage/Examples/Generic/BatchLoad.cpp b/FreeImage/Examples/Generic/BatchLoad.cpp
new file mode 100644 (file)
index 0000000..d1c80b4
--- /dev/null
@@ -0,0 +1,214 @@
+// ==========================================================\r
+// Batch loader\r
+//\r
+// Design and implementation by \r
+// - Floris van den Berg\r
+// - Hervé Drolon\r
+//\r
+// This file is part of FreeImage 3\r
+//\r
+// COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY\r
+// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES\r
+// THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE\r
+// OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED\r
+// CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT\r
+// THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY\r
+// SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL\r
+// PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER\r
+// THIS DISCLAIMER.\r
+//\r
+// Use at own risk!\r
+// ==========================================================\r
+\r
+//\r
+//  This example shows how to easily batch load a directory\r
+//  full of images. Because not all formats can be identified\r
+//  by their header (some images don't have a header or one\r
+//  at the end of the file) we make use of the\r
+//  FreeImage_GetFIFFromFilename function. This function\r
+//  receives a file name, for example 'myfile.bmp', and returns\r
+//  a FREE_IMAGE_TYPE enum which identifies that bitmap.\r
+//\r
+//  Functions used in this sample : \r
+//  FreeImage_GetFileType, FreeImage_GetFIFFromFilename, FreeImage_FIFSupportsReading, \r
+//  FreeImage_Load, FreeImage_GetBPP, FreeImage_FIFSupportsWriting, FreeImage_GetFormatFromFIF\r
+//  FreeImage_FIFSupportsExportBPP, FreeImage_Save, FreeImage_Unload,\r
+//  FreeImage_SetOutputMessage, FreeImage_GetVersion, FreeImage_GetCopyrightMessage\r
+//\r
+// ==========================================================\r
+\r
+#include <assert.h>\r
+#include <stdio.h>\r
+#include <io.h>\r
+#include <string.h>\r
+#include <stdlib.h>\r
+\r
+#include "FreeImage.h"\r
+\r
+// ----------------------------------------------------------\r
+\r
+/** Generic image loader\r
+       @param lpszPathName Pointer to the full file name\r
+       @param flag Optional load flag constant\r
+       @return Returns the loaded dib if successful, returns NULL otherwise\r
+*/\r
+FIBITMAP* GenericLoader(const char* lpszPathName, int flag) {\r
+       FREE_IMAGE_FORMAT fif = FIF_UNKNOWN;\r
+\r
+       // check the file signature and deduce its format\r
+       // (the second argument is currently not used by FreeImage)\r
+       fif = FreeImage_GetFileType(lpszPathName, 0);\r
+       if(fif == FIF_UNKNOWN) {\r
+               // no signature ?\r
+               // try to guess the file format from the file extension\r
+               fif = FreeImage_GetFIFFromFilename(lpszPathName);\r
+       }\r
+       // check that the plugin has reading capabilities ...\r
+       if((fif != FIF_UNKNOWN) && FreeImage_FIFSupportsReading(fif)) {\r
+               // ok, let's load the file\r
+               FIBITMAP *dib = FreeImage_Load(fif, lpszPathName, flag);\r
+               // unless a bad file format, we are done !\r
+               return dib;\r
+       }\r
+       return NULL;\r
+}\r
+\r
+/** Generic image writer\r
+       @param dib Pointer to the dib to be saved\r
+       @param lpszPathName Pointer to the full file name\r
+       @param flag Optional save flag constant\r
+       @return Returns true if successful, returns false otherwise\r
+*/\r
+bool GenericWriter(FIBITMAP* dib, const char* lpszPathName, int flag) {\r
+       FREE_IMAGE_FORMAT fif = FIF_UNKNOWN;\r
+       BOOL bSuccess = FALSE;\r
+\r
+       if(dib) {\r
+               // try to guess the file format from the file extension\r
+               fif = FreeImage_GetFIFFromFilename(lpszPathName);\r
+               if(fif != FIF_UNKNOWN ) {\r
+                       // check that the plugin has sufficient writing and export capabilities ...\r
+                       WORD bpp = FreeImage_GetBPP(dib);\r
+                       if(FreeImage_FIFSupportsWriting(fif) && FreeImage_FIFSupportsExportBPP(fif, bpp)) {\r
+                               // ok, we can save the file\r
+                               bSuccess = FreeImage_Save(fif, dib, lpszPathName, flag);\r
+                               // unless an abnormal bug, we are done !\r
+                       }\r
+               }\r
+       }\r
+       return (bSuccess == TRUE) ? true : false;\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+/**\r
+       FreeImage error handler\r
+       @param fif Format / Plugin responsible for the error \r
+       @param message Error message\r
+*/\r
+void FreeImageErrorHandler(FREE_IMAGE_FORMAT fif, const char *message) {\r
+       printf("\n*** "); \r
+       if(fif != FIF_UNKNOWN) {\r
+               printf("%s Format\n", FreeImage_GetFormatFromFIF(fif));\r
+       }\r
+       printf(message);\r
+       printf(" ***\n");\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+#ifndef MAX_PATH\r
+#define MAX_PATH       260\r
+#endif\r
+\r
+int \r
+main(int argc, char *argv[]) {\r
+\r
+       const char *input_dir = "d:\\images\\";\r
+       FIBITMAP *dib = NULL;\r
+       int id = 1;\r
+\r
+       // call this ONLY when linking with FreeImage as a static library\r
+#ifdef FREEIMAGE_LIB\r
+       FreeImage_Initialise();\r
+#endif // FREEIMAGE_LIB\r
+\r
+       // initialize your own FreeImage error handler\r
+\r
+       FreeImage_SetOutputMessage(FreeImageErrorHandler);\r
+\r
+       // print version & copyright infos\r
+\r
+       printf(FreeImage_GetVersion());\r
+       printf("\n");\r
+       printf(FreeImage_GetCopyrightMessage());\r
+       printf("\n");\r
+\r
+       // open the log file\r
+\r
+       FILE *log_file = fopen("log_file.txt", "w");\r
+\r
+       // batch convert all supported bitmaps\r
+\r
+       _finddata_t finddata;\r
+       long handle;\r
+       char image_path[MAX_PATH];\r
+\r
+       // scan all files\r
+       strcpy(image_path, input_dir);\r
+       strcat(image_path, "*.*");\r
+\r
+       if ((handle = _findfirst(image_path, &finddata)) != -1) {\r
+               do {\r
+                       // make a path to a directory\r
+\r
+                       char *directory = new char[MAX_PATH];\r
+                       strcpy(directory, input_dir);\r
+                       strcat(directory, finddata.name);\r
+\r
+                       // make a unique filename\r
+\r
+                       char *unique = new char[128];\r
+                       itoa(id, unique, 10);\r
+                       strcat(unique, ".png");\r
+\r
+                       // open and load the file using the default load option\r
+                       dib = GenericLoader(directory, 0);\r
+\r
+                       if (dib != NULL) {\r
+                               // save the file as PNG\r
+                               bool bSuccess = GenericWriter(dib, unique, PNG_DEFAULT);\r
+\r
+                               // free the dib\r
+                               FreeImage_Unload(dib);\r
+\r
+                               if(bSuccess) {\r
+                                       fwrite(unique, strlen(unique), 1, log_file);\r
+                               } else {\r
+                                       strcpy(unique, "FAILED");\r
+                                       fwrite(unique, strlen(unique), 1, log_file);\r
+                               }\r
+                               fwrite(" >> ", 4, 1, log_file);\r
+                               fwrite(directory, strlen(directory), 1, log_file);\r
+                               fwrite("\n", 1, 1, log_file);\r
+\r
+                               id++;\r
+                       }\r
+\r
+                       delete [] unique;\r
+                       delete [] directory;\r
+\r
+               } while (_findnext(handle, &finddata) == 0);\r
+\r
+               _findclose(handle);\r
+       }\r
+\r
+       fclose(log_file);\r
+\r
+       // call this ONLY when linking with FreeImage as a static library\r
+#ifdef FREEIMAGE_LIB\r
+       FreeImage_DeInitialise();\r
+#endif // FREEIMAGE_LIB\r
+\r
+       return 0;\r
+}\r
diff --git a/FreeImage/Examples/Generic/CloneMultiPage.cpp b/FreeImage/Examples/Generic/CloneMultiPage.cpp
new file mode 100644 (file)
index 0000000..bbeef58
--- /dev/null
@@ -0,0 +1,112 @@
+// ==========================================================\r
+// Multipage functions demonstration\r
+//\r
+// Design and implementation by \r
+// - Hervé Drolon\r
+//\r
+// This file is part of FreeImage 3\r
+//\r
+// COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY\r
+// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES\r
+// THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE\r
+// OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED\r
+// CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT\r
+// THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY\r
+// SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL\r
+// PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER\r
+// THIS DISCLAIMER.\r
+//\r
+// Use at own risk!\r
+// ==========================================================\r
+\r
+// This sample shows how to clone a multipage TIFF\r
+//\r
+// Functions used in this sample : \r
+// FreeImage_OpenMultiBitmap, FreeImage_GetPageCount, FreeImage_LockPage, \r
+// FreeImage_AppendPage, FreeImage_UnlockPage, FreeImage_CloseMultiBitmap; \r
+// FreeImage_SetOutputMessage\r
+//\r
+// ==========================================================\r
+\r
+#include <iostream.h>\r
+#include <stdio.h>\r
+#include <string.h>\r
+\r
+#include "FreeImage.h"\r
+\r
+// ----------------------------------------------------------\r
+\r
+/**\r
+       FreeImage error handler\r
+*/\r
+void MyMessageFunc(FREE_IMAGE_FORMAT fif, const char *message) {\r
+       cout << "\n*** " << message << " ***\n";\r
+       cout.flush();\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+bool CloneMultiPage(FREE_IMAGE_FORMAT fif, char *input, char *output, int output_flag) {\r
+\r
+       BOOL bMemoryCache = TRUE;\r
+\r
+       // Open src file (read-only, use memory cache)\r
+       FIMULTIBITMAP *src = FreeImage_OpenMultiBitmap(fif, input, FALSE, TRUE, bMemoryCache);\r
+\r
+       if(src) {\r
+               // Open dst file (creation, use memory cache)\r
+               FIMULTIBITMAP *dst = FreeImage_OpenMultiBitmap(fif, output, TRUE, FALSE, bMemoryCache);\r
+\r
+               // Get src page count\r
+               int count = FreeImage_GetPageCount(src);\r
+\r
+               // Clone src to dst\r
+               for(int page = 0; page < count; page++) {\r
+                       // Load the bitmap at position 'page'\r
+                       FIBITMAP *dib = FreeImage_LockPage(src, page);\r
+                       if(dib) {\r
+                               // add a new bitmap to dst\r
+                               FreeImage_AppendPage(dst, dib);\r
+                               // Unload the bitmap (do not apply any change to src)\r
+                               FreeImage_UnlockPage(src, dib, FALSE);\r
+                       }\r
+               }\r
+\r
+               // Close src\r
+               FreeImage_CloseMultiBitmap(src, 0);\r
+               // Save and close dst\r
+               FreeImage_CloseMultiBitmap(dst, output_flag);\r
+\r
+               return true;\r
+       }\r
+\r
+       return false;\r
+}\r
+\r
+\r
+int \r
+main(int argc, char *argv[]) {\r
+\r
+       char *input_filename = "images\\input.tif";\r
+       char *output_filename = "images\\clone.tif";\r
+\r
+       // call this ONLY when linking with FreeImage as a static library\r
+#ifdef FREEIMAGE_LIB\r
+       FreeImage_Initialise();\r
+#endif // FREEIMAGE_LIB\r
+\r
+       // initialize our own FreeImage error handler\r
+\r
+       FreeImage_SetOutputMessage(MyMessageFunc);\r
+\r
+       // Copy 'input.tif' to 'clone.tif'\r
+\r
+       CloneMultiPage(FIF_TIFF, input_filename, output_filename, 0);\r
+\r
+       // call this ONLY when linking with FreeImage as a static library\r
+#ifdef FREEIMAGE_LIB\r
+       FreeImage_DeInitialise();\r
+#endif // FREEIMAGE_LIB\r
+\r
+       return 0;\r
+}\r
diff --git a/FreeImage/Examples/Generic/CreateAlpha.cpp b/FreeImage/Examples/Generic/CreateAlpha.cpp
new file mode 100644 (file)
index 0000000..48b3e29
--- /dev/null
@@ -0,0 +1,181 @@
+// ==========================================================\r
+// Alpha channel manipulation example\r
+//\r
+// Design and implementation by \r
+// - Hervé Drolon\r
+//\r
+// This file is part of FreeImage 3\r
+//\r
+// COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY\r
+// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES\r
+// THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE\r
+// OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED\r
+// CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT\r
+// THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY\r
+// SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL\r
+// PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER\r
+// THIS DISCLAIMER.\r
+//\r
+// Use at own risk!\r
+// ==========================================================\r
+\r
+//   This example shows how to create a transparent image from any input image\r
+//   using the greyscale version of the input image as the alpha channel mask.\r
+//   The alpha channel is set using the FreeImage_SetChannel function.\r
+// \r
+//\r
+// ==========================================================\r
+\r
+#include <stdio.h>\r
+#include "FreeImage.h"\r
+\r
+// ----------------------------------------------------------\r
+\r
+/** Generic image loader\r
+       @param lpszPathName Pointer to the full file name\r
+       @param flag Optional load flag constant\r
+       @return Returns the loaded dib if successful, returns NULL otherwise\r
+*/\r
+FIBITMAP* GenericLoader(const char* lpszPathName, int flag) {\r
+       FREE_IMAGE_FORMAT fif = FIF_UNKNOWN;\r
+\r
+       // check the file signature and deduce its format\r
+       // (the second argument is currently not used by FreeImage)\r
+       fif = FreeImage_GetFileType(lpszPathName, 0);\r
+       if(fif == FIF_UNKNOWN) {\r
+               // no signature ?\r
+               // try to guess the file format from the file extension\r
+               fif = FreeImage_GetFIFFromFilename(lpszPathName);\r
+       }\r
+       // check that the plugin has reading capabilities ...\r
+       if((fif != FIF_UNKNOWN) && FreeImage_FIFSupportsReading(fif)) {\r
+               // ok, let's load the file\r
+               FIBITMAP *dib = FreeImage_Load(fif, lpszPathName, flag);\r
+               // unless a bad file format, we are done !\r
+               return dib;\r
+       }\r
+       return NULL;\r
+}\r
+\r
+/** Generic image writer\r
+       @param dib Pointer to the dib to be saved\r
+       @param lpszPathName Pointer to the full file name\r
+       @param flag Optional save flag constant\r
+       @return Returns true if successful, returns false otherwise\r
+*/\r
+bool GenericWriter(FIBITMAP* dib, const char* lpszPathName, int flag) {\r
+       FREE_IMAGE_FORMAT fif = FIF_UNKNOWN;\r
+       BOOL bSuccess = FALSE;\r
+\r
+       if(dib) {\r
+               // try to guess the file format from the file extension\r
+               fif = FreeImage_GetFIFFromFilename(lpszPathName);\r
+               if(fif != FIF_UNKNOWN ) {\r
+                       // check that the plugin has sufficient writing and export capabilities ...\r
+                       WORD bpp = FreeImage_GetBPP(dib);\r
+                       if(FreeImage_FIFSupportsWriting(fif) && FreeImage_FIFSupportsExportBPP(fif, bpp)) {\r
+                               // ok, we can save the file\r
+                               bSuccess = FreeImage_Save(fif, dib, lpszPathName, flag);\r
+                               // unless an abnormal bug, we are done !\r
+                       }\r
+               }\r
+       }\r
+       return (bSuccess == TRUE) ? true : false;\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+/**\r
+       FreeImage error handler\r
+       @param fif Format / Plugin responsible for the error \r
+       @param message Error message\r
+*/\r
+void FreeImageErrorHandler(FREE_IMAGE_FORMAT fif, const char *message) {\r
+       printf("\n*** "); \r
+       if(fif != FIF_UNKNOWN) {\r
+               printf("%s Format\n", FreeImage_GetFormatFromFIF(fif));\r
+       }\r
+       printf(message);\r
+       printf(" ***\n");\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+\r
+/**\r
+ Creates a 32-bit transparent image using the black channel of the source image\r
+ @param src Source image\r
+ @return Returns a 32-bit transparent image\r
+*/\r
+FIBITMAP* CreateAlphaFromLightness(FIBITMAP *src) {\r
+       // create a 32-bit image from the source\r
+       FIBITMAP *dst = FreeImage_ConvertTo32Bits(src);\r
+\r
+       // create a 8-bit mask\r
+       FreeImage_Invert(src);\r
+       FIBITMAP *mask = FreeImage_ConvertTo8Bits(src);\r
+       FreeImage_Invert(src);\r
+\r
+       // insert the mask as an alpha channel\r
+       FreeImage_SetChannel(dst, mask, FICC_ALPHA);\r
+\r
+       // free the mask and return\r
+       FreeImage_Unload(mask);\r
+\r
+       return dst;\r
+}\r
+\r
+int \r
+main(int argc, char *argv[]) {\r
+       \r
+       // call this ONLY when linking with FreeImage as a static library\r
+#ifdef FREEIMAGE_LIB\r
+       FreeImage_Initialise();\r
+#endif // FREEIMAGE_LIB\r
+\r
+       // initialize your own FreeImage error handler\r
+\r
+       FreeImage_SetOutputMessage(FreeImageErrorHandler);\r
+\r
+       // print version & copyright infos\r
+\r
+       printf("FreeImage version : %s", FreeImage_GetVersion());\r
+       printf("\n");\r
+       printf(FreeImage_GetCopyrightMessage());\r
+       printf("\n");\r
+\r
+\r
+       if(argc != 3) {\r
+               printf("Usage : CreateAlpha <input file name> <output file name>\n");\r
+               return 0;\r
+       }\r
+\r
+       // Load the source image\r
+       FIBITMAP *src = GenericLoader(argv[1], 0);\r
+       if(src) {\r
+               // Create a transparent image from the lightness image of src\r
+               FIBITMAP *dst = CreateAlphaFromLightness(src);\r
+\r
+               if(dst) {\r
+                       // Save the destination image\r
+                       bool bSuccess = GenericWriter(dst, argv[2], 0);\r
+                       if(!bSuccess) {\r
+                               printf("\nUnable to save %s file", argv[2]);\r
+                               printf("\nThis format does not support 32-bit images");\r
+                       }\r
+\r
+                       // Free dst\r
+                       FreeImage_Unload(dst);\r
+               }\r
+\r
+               // Free src\r
+               FreeImage_Unload(src);\r
+       }\r
+\r
+       // call this ONLY when linking with FreeImage as a static library\r
+#ifdef FREEIMAGE_LIB\r
+       FreeImage_DeInitialise();\r
+#endif // FREEIMAGE_LIB\r
+\r
+       return 0;\r
+}\r
diff --git a/FreeImage/Examples/Generic/FIFImportExport.cpp b/FreeImage/Examples/Generic/FIFImportExport.cpp
new file mode 100644 (file)
index 0000000..f78c054
--- /dev/null
@@ -0,0 +1,149 @@
+// ==========================================================\r
+// Plugin functions demonstration\r
+//\r
+// Design and implementation by \r
+// - Hervé Drolon\r
+//\r
+// This file is part of FreeImage 3\r
+//\r
+// COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY\r
+// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES\r
+// THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE\r
+// OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED\r
+// CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT\r
+// THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY\r
+// SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL\r
+// PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER\r
+// THIS DISCLAIMER.\r
+//\r
+// Use at own risk!\r
+// ==========================================================\r
+\r
+// This example shows how to use Plugin functions to explore FreeImage capabilities. \r
+// Whenever an external plugin is added to the library, it is automatically loaded \r
+// with FreeImage and can be asked for its capabilities via the plugin functions.\r
+// \r
+// Functions used in this sample : \r
+// FreeImage_FIFSupportsExportBPP, FreeImage_FIFSupportsICCProfiles, FreeImage_FIFSupportsReading, \r
+// FreeImage_FIFSupportsWriting, FreeImage_GetFIFCount, FreeImage_GetFIFDescription, \r
+// FreeImage_GetFIFExtensionList, FreeImage_GetFormatFromFIF, \r
+// FreeImage_GetVersion, FreeImage_GetCopyrightMessage, FreeImage_SetOutputMessage\r
+//\r
+// ==========================================================\r
+\r
+#include <iostream.h>\r
+#include <fstream.h>\r
+#include <stdio.h>\r
+#include <string.h>\r
+\r
+#include "FreeImage.h"\r
+\r
+// ----------------------------------------------------------\r
+\r
+/**\r
+       FreeImage error handler\r
+*/\r
+void MyMessageFunc(FREE_IMAGE_FORMAT fif, const char *message) {\r
+       cout << "\n*** " << message << " ***\n";\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+/**\r
+       Print plugins import capabilities\r
+*/\r
+void PrintImportFormats(iostream& ios) {\r
+       int count = FreeImage_GetFIFCount();\r
+       if(count)\r
+               ios << "FORMAT;DESCRIPTION;EXTENSIONS;ICC PROFILES\n";\r
+       for(int i = 0; i < count; i++) {\r
+               FREE_IMAGE_FORMAT fif = (FREE_IMAGE_FORMAT)i;\r
+\r
+               if(FreeImage_FIFSupportsReading(fif)) {\r
+                       const char * format = FreeImage_GetFormatFromFIF(fif);\r
+                       const char * description = FreeImage_GetFIFDescription(fif);\r
+                       const char * ext = FreeImage_GetFIFExtensionList(fif);\r
+                       const char * icc = "*";\r
+                       if(FreeImage_FIFSupportsICCProfiles(fif)) {\r
+                               ios << format << ";" << description << ";" << ext << ";" << icc << "\n";\r
+                       } else {\r
+                               ios << format << ";" << description << ";" << ext << "; \n";\r
+                       }\r
+               }\r
+       }\r
+}\r
+\r
+/**\r
+       Print plugins export capabilities\r
+*/\r
+void PrintExportFormats(iostream& ios) {\r
+       int count = FreeImage_GetFIFCount();\r
+       if(count)\r
+               ios << "FORMAT;DESCRIPTION;EXTENSIONS;BITDEPTH;ICC PROFILES\n";\r
+       for(int i = 0; i < count; i++) {\r
+               FREE_IMAGE_FORMAT fif = (FREE_IMAGE_FORMAT)i;\r
+\r
+               if(FreeImage_FIFSupportsWriting(fif)) {\r
+                       const char * format = FreeImage_GetFormatFromFIF(fif);\r
+                       const char * description = FreeImage_GetFIFDescription(fif);\r
+                       const char * ext = FreeImage_GetFIFExtensionList(fif);\r
+                       const char * icc = "*";\r
+\r
+                       ios << format << ";" << description << ";" << ext << ";";\r
+                       if(FreeImage_FIFSupportsExportBPP(fif, 1))\r
+                               ios << "1 ";\r
+                       if(FreeImage_FIFSupportsExportBPP(fif, 4))\r
+                               ios << "4 ";\r
+                       if(FreeImage_FIFSupportsExportBPP(fif, 8))\r
+                               ios << "8 ";\r
+                       if(FreeImage_FIFSupportsExportBPP(fif, 16))\r
+                               ios << "16 ";\r
+                       if(FreeImage_FIFSupportsExportBPP(fif, 24))\r
+                               ios << "24 ";\r
+                       if(FreeImage_FIFSupportsExportBPP(fif, 32))\r
+                               ios << "32 ";\r
+                       if(FreeImage_FIFSupportsICCProfiles(fif)) {\r
+                               ios << ";" << icc;\r
+                       } else {\r
+                               ios << "; ";\r
+                       }\r
+                       ios << "\n";\r
+               }\r
+       }\r
+}\r
+\r
+int \r
+main(int argc, char *argv[]) {\r
+       // call this ONLY when linking with FreeImage as a static library\r
+#ifdef FREEIMAGE_LIB\r
+       FreeImage_Initialise();\r
+#endif // FREEIMAGE_LIB\r
+\r
+       // initialize FreeImage error handler\r
+\r
+       FreeImage_SetOutputMessage(MyMessageFunc);\r
+\r
+       // print version & copyright infos\r
+\r
+       cout << "FreeImage " << FreeImage_GetVersion() << "\n";\r
+       cout << FreeImage_GetCopyrightMessage() << "\n\n";\r
+\r
+       // Print input formats (including external plugins) known by the library\r
+       fstream importFile("fif_import.csv", ios::out);\r
+       PrintImportFormats(importFile);\r
+       importFile.close();\r
+\r
+       // Print output formats (including plugins) known by the library\r
+       // for each export format, supported bitdepths are given\r
+       fstream exportFile("fif_export.csv", ios::out);\r
+       PrintExportFormats(exportFile);\r
+       exportFile.close();\r
+\r
+       // call this ONLY when linking with FreeImage as a static library\r
+#ifdef FREEIMAGE_LIB\r
+       FreeImage_DeInitialise();\r
+#endif // FREEIMAGE_LIB\r
+\r
+       return 0;\r
+\r
+}\r
diff --git a/FreeImage/Examples/Generic/FIIO_Mem.cpp b/FreeImage/Examples/Generic/FIIO_Mem.cpp
new file mode 100644 (file)
index 0000000..33eea8a
--- /dev/null
@@ -0,0 +1,146 @@
+/*--------------------------------------------------------------------------*\\r
+|| fiio_mem.cpp by Ryan Rubley <ryan@lostreality.org>                       ||\r
+||                                                                          ||\r
+|| (v1.02) 4-28-2004                                                        ||\r
+|| FreeImageIO to memory                                                    ||\r
+||                                                                          ||\r
+\*--------------------------------------------------------------------------*/\r
+\r
+#include <string.h>\r
+#include <stdlib.h>\r
+#include "fiio_mem.h"\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+FIBITMAP *\r
+FreeImage_LoadFromMem(FREE_IMAGE_FORMAT fif, fiio_mem_handle *handle, int flags) {\r
+       FreeImageIO io;\r
+       SetMemIO(&io);\r
+       \r
+       if (handle && handle->data) {\r
+               handle->curpos = 0;\r
+               return FreeImage_LoadFromHandle(fif, &io, (fi_handle)handle, flags);\r
+       }\r
+\r
+       return NULL;\r
+}\r
+\r
+BOOL\r
+FreeImage_SaveToMem(FREE_IMAGE_FORMAT fif, FIBITMAP *dib, fiio_mem_handle *handle, int flags) {\r
+       FreeImageIO io;\r
+       SetMemIO(&io);\r
+\r
+       if (handle) {\r
+               handle->filelen = 0;\r
+               handle->curpos = 0;\r
+               return FreeImage_SaveToHandle(fif, dib, &io, (fi_handle)handle, flags);\r
+       }\r
+\r
+       return FALSE;\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+void\r
+SetMemIO(FreeImageIO *io) {\r
+       io->read_proc  = fiio_mem_ReadProc;\r
+       io->seek_proc  = fiio_mem_SeekProc;\r
+       io->tell_proc  = fiio_mem_TellProc;\r
+       io->write_proc = fiio_mem_WriteProc;\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+#define FIIOMEM(member) (((fiio_mem_handle *)handle)->member)\r
+\r
+unsigned\r
+fiio_mem_ReadProc(void *buffer, unsigned size, unsigned count, fi_handle handle) {\r
+       unsigned x;\r
+       for( x=0; x<count; x++ ) {\r
+               //if there isnt size bytes left to read, set pos to eof and return a short count\r
+               if( FIIOMEM(filelen)-FIIOMEM(curpos) < (long)size ) {\r
+                       FIIOMEM(curpos) = FIIOMEM(filelen);\r
+                       break;\r
+               }\r
+               //copy size bytes count times\r
+               memcpy( buffer, (char *)FIIOMEM(data) + FIIOMEM(curpos), size );\r
+               FIIOMEM(curpos) += size;\r
+               buffer = (char *)buffer + size;\r
+       }\r
+       return x;\r
+}\r
+\r
+unsigned\r
+fiio_mem_WriteProc(void *buffer, unsigned size, unsigned count, fi_handle handle) {\r
+       void *newdata;\r
+       long newdatalen;\r
+       //double the data block size if we need to\r
+       while( FIIOMEM(curpos)+(long)(size*count) >= FIIOMEM(datalen) ) {\r
+               //if we are at or above 1G, we cant double without going negative\r
+               if( FIIOMEM(datalen) & 0x40000000 ) {\r
+                       //max 2G\r
+                       if( FIIOMEM(datalen) == 0x7FFFFFFF ) {\r
+                               return 0;\r
+                       }\r
+                       newdatalen = 0x7FFFFFFF;\r
+               } else if( FIIOMEM(datalen) == 0 ) {\r
+                       //default to 4K if nothing yet\r
+                       newdatalen = 4096;\r
+               } else {\r
+                       //double size\r
+                       newdatalen = FIIOMEM(datalen) << 1;\r
+               }\r
+               newdata = realloc( FIIOMEM(data), newdatalen );\r
+               if( !newdata ) {\r
+                       return 0;\r
+               }\r
+               FIIOMEM(data) = newdata;\r
+               FIIOMEM(datalen) = newdatalen;\r
+       }\r
+       memcpy( (char *)FIIOMEM(data) + FIIOMEM(curpos), buffer, size*count );\r
+       FIIOMEM(curpos) += size*count;\r
+       if( FIIOMEM(curpos) > FIIOMEM(filelen) ) {\r
+               FIIOMEM(filelen) = FIIOMEM(curpos);\r
+       }\r
+       return count;\r
+}\r
+\r
+int\r
+fiio_mem_SeekProc(fi_handle handle, long offset, int origin) {\r
+       switch(origin) { //0 to filelen-1 are 'inside' the file\r
+       default:\r
+       case SEEK_SET: //can fseek() to 0-7FFFFFFF always\r
+               if( offset >= 0 ) {\r
+                       FIIOMEM(curpos) = offset;\r
+                       return 0;\r
+               }\r
+               break;\r
+\r
+       case SEEK_CUR:\r
+               if( FIIOMEM(curpos)+offset >= 0 ) {\r
+                       FIIOMEM(curpos) += offset;\r
+                       return 0;\r
+               }\r
+               break;\r
+\r
+       case SEEK_END:\r
+               if( FIIOMEM(filelen)+offset >= 0 ) {\r
+                       FIIOMEM(curpos) = FIIOMEM(filelen)+offset;\r
+                       return 0;\r
+               }\r
+               break;\r
+       }\r
+\r
+       return -1;\r
+}\r
+\r
+long\r
+fiio_mem_TellProc(fi_handle handle) {\r
+       return FIIOMEM(curpos);\r
+}\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
diff --git a/FreeImage/Examples/Generic/FIIO_Mem.h b/FreeImage/Examples/Generic/FIIO_Mem.h
new file mode 100644 (file)
index 0000000..e686b1c
--- /dev/null
@@ -0,0 +1,74 @@
+/*--------------------------------------------------------------------------*\
+|| fiio_mem.h by Ryan Rubley <ryan@lostreality.org>                         ||
+||                                                                          ||
+|| (v1.02) 4-28-2004                                                        ||
+|| FreeImageIO to memory                                                    ||
+||                                                                          ||
+\*--------------------------------------------------------------------------*/
+
+#ifndef _FIIO_MEM_H_
+#define _FIIO_MEM_H_
+
+#include "freeimage.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct fiio_mem_handle_s {
+       long filelen,datalen,curpos;
+       void *data;
+} fiio_mem_handle;
+
+/* it is up to the user to create a fiio_mem_handle and init datalen and data
+ * filelen will be pre-set to 0 by SaveToMem
+ * curpos will be pre-set to 0 by SaveToMem and LoadFromMem
+ * IMPORTANT: data should be set to NULL and datalen to 0,
+ *            unless the user wants to manually malloc a larger buffer
+ */
+FIBITMAP *FreeImage_LoadFromMem(FREE_IMAGE_FORMAT fif, fiio_mem_handle *handle, int flags);
+BOOL FreeImage_SaveToMem(FREE_IMAGE_FORMAT fif, FIBITMAP *dib, fiio_mem_handle *handle, int flags);
+
+void SetMemIO(FreeImageIO *io);
+unsigned fiio_mem_ReadProc(void *buffer, unsigned size, unsigned count, fi_handle handle);
+unsigned fiio_mem_WriteProc(void *buffer, unsigned size, unsigned count, fi_handle handle);
+int fiio_mem_SeekProc(fi_handle handle, long offset, int origin);
+long fiio_mem_TellProc(fi_handle handle);
+
+/*** Example Usage ***
+
+//variables
+FIBITMAP *bitmap, *bitmap2;
+fiio_mem_handle fmh;
+
+//important initialization
+fmh.data = NULL;
+fmh.datalen = 0;
+
+//load a regular file
+bitmap = FreeImage_Load(FIF_PNG, "sample.png");
+
+//save the file to memory
+FreeImage_SaveToMem(FIF_PNG, bitmap, &fmh, 0);
+
+//at this point, fmh.data contains the entire PNG data in memory
+//fmh.datalen is the amount of space malloc'd for the image in memory,
+//but only fmh.filelen amount of that space is actually used.
+
+//its easy load an image from memory as well
+bitmap2 = FreeImage_LoadFromMem(FIF_PNG, &fmh, 0);
+//you could also have image data in memory via some other method, and just set
+//fmh.data to point to it, and set both fmh.datalen and fmh.filelen to the
+//size of that data, then FreeImage_LoadFromMem could load the image from that
+//memory
+
+//make sure to free the data since SaveToMem will cause it to be malloc'd
+free(fmh.data);
+
+*/
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/FreeImage/Examples/Generic/LoadFromHandle.cpp b/FreeImage/Examples/Generic/LoadFromHandle.cpp
new file mode 100644 (file)
index 0000000..d8e14e8
--- /dev/null
@@ -0,0 +1,145 @@
+// ==========================================================\r
+// Load From Handle Example\r
+//\r
+// Design and implementation by \r
+// - Hervé Drolon\r
+//\r
+// This file is part of FreeImage 3\r
+//\r
+// COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY\r
+// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES\r
+// THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE\r
+// OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED\r
+// CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT\r
+// THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY\r
+// SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL\r
+// PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER\r
+// THIS DISCLAIMER.\r
+//\r
+// Use at own risk!\r
+// ==========================================================\r
+\r
+//   This example shows how to load a bitmap from a\r
+//   user allocated FILE pointer.\r
+// \r
+// Functions used in this sample : \r
+// FreeImage_GetFormatFromFIF, FreeImage_GetFileTypeFromHandle, FreeImage_LoadFromHandle, \r
+// FreeImage_GetFIFFromFilename, FreeImage_Save, FreeImage_Unload\r
+// FreeImage_GetVersion, FreeImage_GetCopyrightMessage, FreeImage_SetOutputMessage\r
+//\r
+// ==========================================================\r
+\r
+#include <assert.h>\r
+#include <stdio.h>\r
+#include <stdlib.h>\r
+\r
+#include "FreeImage.h"\r
+\r
+// ----------------------------------------------------------\r
+\r
+/**\r
+       FreeImage error handler\r
+       @param fif Format / Plugin responsible for the error \r
+       @param message Error message\r
+*/\r
+void FreeImageErrorHandler(FREE_IMAGE_FORMAT fif, const char *message) {\r
+       printf("\n*** "); \r
+       if(fif != FIF_UNKNOWN) {\r
+               printf("%s Format\n", FreeImage_GetFormatFromFIF(fif));\r
+       }\r
+       printf(message);\r
+       printf(" ***\n");\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+unsigned DLL_CALLCONV\r
+myReadProc(void *buffer, unsigned size, unsigned count, fi_handle handle) {\r
+       return fread(buffer, size, count, (FILE *)handle);\r
+}\r
+\r
+unsigned DLL_CALLCONV\r
+myWriteProc(void *buffer, unsigned size, unsigned count, fi_handle handle) {\r
+       return fwrite(buffer, size, count, (FILE *)handle);\r
+}\r
+\r
+int DLL_CALLCONV\r
+mySeekProc(fi_handle handle, long offset, int origin) {\r
+       return fseek((FILE *)handle, offset, origin);\r
+}\r
+\r
+long DLL_CALLCONV\r
+myTellProc(fi_handle handle) {\r
+       return ftell((FILE *)handle);\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+int \r
+main(int argc, char *argv[]) {\r
+       \r
+       // call this ONLY when linking with FreeImage as a static library\r
+#ifdef FREEIMAGE_LIB\r
+       FreeImage_Initialise();\r
+#endif // FREEIMAGE_LIB\r
+\r
+       // initialize your own FreeImage error handler\r
+\r
+       FreeImage_SetOutputMessage(FreeImageErrorHandler);\r
+\r
+       // print version & copyright infos\r
+\r
+       printf(FreeImage_GetVersion());\r
+       printf("\n");\r
+       printf(FreeImage_GetCopyrightMessage());\r
+       printf("\n");\r
+\r
+\r
+       if(argc != 2) {\r
+               printf("Usage : LoadFromHandle <input file name>\n");\r
+               return 0;\r
+       }\r
+\r
+       // initialize your own IO functions\r
+\r
+       FreeImageIO io;\r
+\r
+       io.read_proc  = myReadProc;\r
+       io.write_proc = myWriteProc;\r
+       io.seek_proc  = mySeekProc;\r
+       io.tell_proc  = myTellProc;\r
+\r
+       FILE *file = fopen(argv[1], "rb");\r
+\r
+       if (file != NULL) {\r
+               // find the buffer format\r
+               FREE_IMAGE_FORMAT fif = FreeImage_GetFileTypeFromHandle(&io, (fi_handle)file, 0);\r
+\r
+               if(fif != FIF_UNKNOWN) {\r
+                       // load from the file handle\r
+                       FIBITMAP *dib = FreeImage_LoadFromHandle(fif, &io, (fi_handle)file, 0);\r
+\r
+                       // save the bitmap as a PNG ...\r
+                       const char *output_filename = "test.png";\r
+\r
+                       // first, check the output format from the file name or file extension\r
+                       FREE_IMAGE_FORMAT out_fif = FreeImage_GetFIFFromFilename(output_filename);\r
+\r
+                       if(out_fif != FIF_UNKNOWN) {\r
+                               // then save the file\r
+                               FreeImage_Save(out_fif, dib, output_filename, 0);\r
+                       }\r
+\r
+                       // free the loaded FIBITMAP\r
+                       FreeImage_Unload(dib);\r
+               }\r
+               fclose(file);\r
+       }\r
+\r
+       // call this ONLY when linking with FreeImage as a static library\r
+#ifdef FREEIMAGE_LIB\r
+       FreeImage_DeInitialise();\r
+#endif // FREEIMAGE_LIB\r
+\r
+       return 0;\r
+}\r
diff --git a/FreeImage/Examples/Generic/LoadFromMemory-classified.cpp b/FreeImage/Examples/Generic/LoadFromMemory-classified.cpp
new file mode 100644 (file)
index 0000000..7494ba9
--- /dev/null
@@ -0,0 +1,101 @@
+// ==========================================================\r
+// Classified FreeImageIO handler\r
+//\r
+// Design and implementation by\r
+// - schickb (schickb@hotmail.com)\r
+//\r
+// This file is part of FreeImage 3\r
+//\r
+// COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY\r
+// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES\r
+// THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE\r
+// OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED\r
+// CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT\r
+// THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY\r
+// SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL\r
+// PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER\r
+// THIS DISCLAIMER.\r
+//\r
+// Use at your own risk!\r
+// ==========================================================\r
+\r
+class MemIO : public FreeImageIO {\r
+public :\r
+    MemIO( BYTE *data ) : _start(data), _cp(data) {\r
+        read_proc  = _ReadProc;\r
+        write_proc = _WriteProc;\r
+        tell_proc  = _TellProc;\r
+        seek_proc  = _SeekProc;\r
+    }\r
+\r
+    void Reset() {\r
+               _cp = _start;\r
+       }\r
+\r
+    static unsigned _ReadProc(void *buffer, unsigned size, unsigned count, fi_handle handle);\r
+    static unsigned _WriteProc(void *buffer, unsigned size, unsigned count, fi_handle handle);\r
+    static int _SeekProc(fi_handle handle, long offset, int origin);\r
+       static long _TellProc(fi_handle handle);\r
+\r
+private:\r
+    BYTE * const _start;\r
+    BYTE *_cp;\r
+};\r
+\r
+\r
+unsigned\r
+MemIO::_ReadProc(void *buffer, unsigned size, unsigned count, fi_handle handle) {\r
+    MemIO *memIO = (MemIO*)handle;\r
+    \r
+    BYTE *tmp = (BYTE *)buffer;\r
+\r
+    for (unsigned c = 0; c < count; c++) {\r
+        memcpy(tmp, memIO->_cp, size);\r
+\r
+        memIO->_cp = memIO->_cp + size;\r
+\r
+        tmp += size;\r
+    }\r
+\r
+    return count;\r
+}\r
+\r
+unsigned\r
+MemIO::_WriteProc(void *buffer, unsigned size, unsigned count, fi_handle handle) {\r
+    ASSERT( false );\r
+    return size;\r
+}\r
+\r
+int\r
+MemIO::_SeekProc(fi_handle handle, long offset, int origin) {\r
+    ASSERT(origin != SEEK_END);\r
+\r
+    MemIO *memIO = (MemIO*)handle;\r
+\r
+    if (origin == SEEK_SET) \r
+        memIO->_cp = memIO->_start + offset;\r
+    else\r
+        memIO->_cp = memIO->_cp + offset;\r
+\r
+    return 0;\r
+}\r
+\r
+long\r
+MemIO::_TellProc(fi_handle handle) {\r
+    MemIO *memIO = (MemIO*)handle;\r
+\r
+    return memIO->_cp - memIO->_start;\r
+}\r
+\r
+// ----------------------------------------------------------\r
+// PSEUDOCODE... HELPS TO UNDERSTAND HOW THE MEMIO CLASS WORKS\r
+// ----------------------------------------------------------\r
+\r
+int\r
+main(int argc, char *argv[]) {\r
+       BYTE *data = loadimagesomehow();\r
+\r
+       MemIO memIO(data);\r
+\r
+       FIBITMAP *fbmp = FreeImage_LoadFromHandle( fif, &memIO, (fi_handle)&memIO );\r
+}
\ No newline at end of file
diff --git a/FreeImage/Examples/Generic/LoadFromMemory.cpp b/FreeImage/Examples/Generic/LoadFromMemory.cpp
new file mode 100644 (file)
index 0000000..f62e0b5
--- /dev/null
@@ -0,0 +1,113 @@
+// ==========================================================\r
+// Load From Memory Example\r
+//\r
+// Design and implementation by Floris van den Berg\r
+//\r
+// This file is part of FreeImage 3\r
+//\r
+// Use at own risk!\r
+// ==========================================================\r
+//\r
+//  This example shows how to load a bitmap from memory\r
+//  rather than from a file. To do this we make use of the\r
+//  FreeImage_LoadFromHandle functions where we override\r
+//  the i/o functions to simulate FILE* access in memory.\r
+//\r
+//  For seeking purposes the fi_handle passed to the i/o\r
+//  functions contain the start of the data block where the\r
+//  bitmap is stored.\r
+//\r
+// ==========================================================\r
+\r
+#include <assert.h>\r
+#include <stdio.h>\r
+#include <stdlib.h>\r
+\r
+#include "FreeImage.h"\r
+\r
+// ----------------------------------------------------------\r
+\r
+fi_handle g_load_address;\r
+\r
+// ----------------------------------------------------------\r
+\r
+inline unsigned _stdcall\r
+_ReadProc(void *buffer, unsigned size, unsigned count, fi_handle handle) {\r
+       BYTE *tmp = (BYTE *)buffer;\r
+\r
+       for (unsigned c = 0; c < count; c++) {\r
+               memcpy(tmp, g_load_address, size);\r
+\r
+               g_load_address = (BYTE *)g_load_address + size;\r
+\r
+               tmp += size;\r
+       }\r
+\r
+       return count;\r
+}\r
+\r
+inline unsigned _stdcall\r
+_WriteProc(void *buffer, unsigned size, unsigned count, fi_handle handle) {\r
+       // there's not much use for saving the bitmap into memory now, is there?\r
+\r
+       return size;\r
+}\r
+\r
+inline int _stdcall\r
+_SeekProc(fi_handle handle, long offset, int origin) {\r
+       assert(origin != SEEK_END);\r
+\r
+       if (origin == SEEK_SET) {\r
+               g_load_address = (BYTE *)handle + offset;\r
+       } else {\r
+               g_load_address = (BYTE *)g_load_address + offset;\r
+       }\r
+\r
+       return 0;\r
+}\r
+\r
+inline long _stdcall\r
+_TellProc(fi_handle handle) {\r
+       assert((int)handle > (int)g_load_address);\r
+\r
+       return ((int)g_load_address - (int)handle);\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+int \r
+main(int argc, char *argv[]) {\r
+       FreeImageIO io;\r
+\r
+       io.read_proc  = _ReadProc;\r
+       io.write_proc = _WriteProc;\r
+       io.tell_proc  = _TellProc;\r
+       io.seek_proc  = _SeekProc;\r
+\r
+       // allocate some memory for the bitmap\r
+\r
+       BYTE *test = new BYTE[159744];\r
+\r
+       if (test != NULL) {\r
+               // load the bitmap into memory. ofcourse you can do this any way you want\r
+\r
+               FILE *file = fopen("e:\\projects\\images\\money-256.tif", "rb");\r
+               fread(test, 159744, 1, file);\r
+               fclose(file);\r
+\r
+               // we store the load address of the bitmap for internal reasons\r
+\r
+               g_load_address = test;\r
+\r
+               // convert the bitmap\r
+               \r
+               FIBITMAP *dib = FreeImage_LoadFromHandle(FIF_TIFF, &io, (fi_handle)test);\r
+\r
+               // don't forget to free the dib !\r
+               FreeImage_Unload(dib);\r
+\r
+               delete [] test;\r
+       }\r
+\r
+       return 0;\r
+}
\ No newline at end of file
diff --git a/FreeImage/Examples/Generic/ShowMetadata.cpp b/FreeImage/Examples/Generic/ShowMetadata.cpp
new file mode 100644 (file)
index 0000000..1df0af8
--- /dev/null
@@ -0,0 +1,317 @@
+// ==========================================================\r
+// Simple metadata reader\r
+//\r
+// Design and implementation by \r
+// - Hervé Drolon\r
+//\r
+// This file is part of FreeImage 3\r
+//\r
+// COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY\r
+// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES\r
+// THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE\r
+// OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED\r
+// CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT\r
+// THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY\r
+// SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL\r
+// PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER\r
+// THIS DISCLAIMER.\r
+//\r
+// Use at own risk!\r
+// ==========================================================\r
+\r
+//\r
+//  This example shows how to easily parse all metadata \r
+//  contained in a JPEG, TIFF or PNG image. \r
+//  Comments, Exif and IPTC/NAA metadata tags are written to a HTML file \r
+//  for later reading, and Adobe XMP XML packets are written \r
+//  in a file whose extension is '.xmp'. This file can be later \r
+//  processed using a XML parser. \r
+//\r
+//  Metadata functions showed in this sample : \r
+//  FreeImage_GetMetadataCount, FreeImage_FindFirstMetadata, FreeImage_FindNextMetadata, \r
+//  FreeImage_FindCloseMetadata, FreeImage_TagToString, FreeImage_GetMetadata\r
+//\r
+// ==========================================================\r
+\r
+#include <iostream>\r
+#include <sstream>\r
+#include <fstream>\r
+\r
+using namespace std;\r
+\r
+#include "FreeImage.h"\r
+\r
+// ----------------------------------------------------------\r
+\r
+/** Generic image loader\r
+       @param lpszPathName Pointer to the full file name\r
+       @param flag Optional load flag constant\r
+       @return Returns the loaded dib if successful, returns NULL otherwise\r
+*/\r
+FIBITMAP* GenericLoader(const char* lpszPathName, int flag) {\r
+       FREE_IMAGE_FORMAT fif = FIF_UNKNOWN;\r
+\r
+       // check the file signature and deduce its format\r
+       // (the second argument is currently not used by FreeImage)\r
+       fif = FreeImage_GetFileType(lpszPathName, 0);\r
+       if(fif == FIF_UNKNOWN) {\r
+               // no signature ?\r
+               // try to guess the file format from the file extension\r
+               fif = FreeImage_GetFIFFromFilename(lpszPathName);\r
+       }\r
+       // check that the plugin has reading capabilities ...\r
+       if((fif != FIF_UNKNOWN) && FreeImage_FIFSupportsReading(fif)) {\r
+               // ok, let's load the file\r
+               FIBITMAP *dib = FreeImage_Load(fif, lpszPathName, flag);\r
+               // unless a bad file format, we are done !\r
+               return dib;\r
+       }\r
+       return NULL;\r
+}\r
+\r
+/** Generic image writer\r
+       @param dib Pointer to the dib to be saved\r
+       @param lpszPathName Pointer to the full file name\r
+       @param flag Optional save flag constant\r
+       @return Returns true if successful, returns false otherwise\r
+*/\r
+bool GenericWriter(FIBITMAP* dib, const char* lpszPathName, int flag) {\r
+       FREE_IMAGE_FORMAT fif = FIF_UNKNOWN;\r
+       BOOL bSuccess = FALSE;\r
+\r
+       if(dib) {\r
+               // try to guess the file format from the file extension\r
+               fif = FreeImage_GetFIFFromFilename(lpszPathName);\r
+               if(fif != FIF_UNKNOWN ) {\r
+                       // check that the plugin has sufficient writing and export capabilities ...\r
+                       WORD bpp = FreeImage_GetBPP(dib);\r
+                       if(FreeImage_FIFSupportsWriting(fif) && FreeImage_FIFSupportsExportBPP(fif, bpp)) {\r
+                               // ok, we can save the file\r
+                               bSuccess = FreeImage_Save(fif, dib, lpszPathName, flag);\r
+                               // unless an abnormal bug, we are done !\r
+                       }\r
+               }\r
+       }\r
+       return (bSuccess == TRUE) ? true : false;\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+/**\r
+       FreeImage error handler\r
+       @param fif Format / Plugin responsible for the error \r
+       @param message Error message\r
+*/\r
+void FreeImageErrorHandler(FREE_IMAGE_FORMAT fif, const char *message) {\r
+       cout << "\n*** ";\r
+       if(fif != FIF_UNKNOWN) {\r
+               cout << FreeImage_GetFormatFromFIF(fif) << " Format\n";\r
+       }\r
+       cout << message;\r
+       cout << " ***\n";\r
+}\r
+\r
+// ----------------------------------------------------------\r
+\r
+/**\r
+Print a basic HTML header\r
+*/\r
+void PrintHTMLHeader(iostream& ios) {\r
+       ios << "<HTML>\n<BODY>\n<CENTER>\n";\r
+       ios << "<FONT FACE = \"Arial\">\n";\r
+}\r
+\r
+/**\r
+Print a HTML footer\r
+*/\r
+void PrintHTMLFooter(iostream& ios) {\r
+       ios << "</CENTER>\n</FONT>\n</BODY>\n</HTML>\n";\r
+}\r
+\r
+/**\r
+Print a table header\r
+*/\r
+void PrintTableHeader(iostream& ios, const char *title) {\r
+       ios << "<TABLE BORDER=\"1\">\n";\r
+       ios << "<TR><TD ALIGN=CENTER COLSPAN=\"3\" BGCOLOR=\"#CCCCCC\"><B><font face=\"Arial\">" << title << "</font></B></TD></TR>\n";\r
+}\r
+\r
+/**\r
+Print a table section\r
+*/\r
+void PrintTableSection(iostream& ios, const char *title) {\r
+       ios << "<TR><TD ALIGN=CENTER COLSPAN=\"3\" BGCOLOR=\"#FFFFCC\"><B><font face=\"Arial\">" << title << "</font></B></TD></TR>\n";\r
+       ios << "<TR><TD><B>Tag name</B></TD><TD><B>Tag value</B></TD><TD><B>Description</B></TD></TR>";\r
+}\r
+\r
+/**\r
+Print a table footer\r
+*/\r
+void PrintTableFooter(iostream& ios) {\r
+       ios << "</TABLE>\n";\r
+}\r
+\r
+\r
+/**\r
+Print the metadata tags to a HTML file\r
+*/\r
+void PrintMetadata(iostream& ios, const char *sectionTitle, FIBITMAP *dib, FREE_IMAGE_MDMODEL model) {\r
+       FITAG *tag = NULL;\r
+       FIMETADATA *mdhandle = NULL;\r
+\r
+       mdhandle = FreeImage_FindFirstMetadata(model, dib, &tag);\r
+\r
+       if(mdhandle) {\r
+               // Print a table section\r
+               PrintTableSection(ios, sectionTitle);\r
+\r
+               do {\r
+                       // convert the tag value to a string\r
+                       const char *value = FreeImage_TagToString(model, tag);\r
+\r
+                       // print the tag \r
+                       // note that most tags do not have a description, \r
+                       // especially when the metadata specifications are not available\r
+                       if(FreeImage_GetTagDescription(tag)) {\r
+                               ios << "<TR><TD>" << FreeImage_GetTagKey(tag) << "</TD><TD>" << value << "</TD><TD>" << FreeImage_GetTagDescription(tag) << "</TD></TR>\n";\r
+                       } else {\r
+                               ios << "<TR><TD>" << FreeImage_GetTagKey(tag) << "</TD><TD>" << value << "</TD><TD>" << "&nbsp;" << "</TD></TR>\n";\r
+                       }\r
+\r
+               } while(FreeImage_FindNextMetadata(mdhandle, &tag));\r
+       }\r
+\r
+       FreeImage_FindCloseMetadata(mdhandle);\r
+}\r
+\r
+int \r
+main(int argc, char *argv[]) {\r
+       unsigned count;\r
+\r
+       // call this ONLY when linking with FreeImage as a static library\r
+#ifdef FREEIMAGE_LIB\r
+       FreeImage_Initialise();\r
+#endif // FREEIMAGE_LIB\r
+\r
+       // initialize your own FreeImage error handler\r
+\r
+       FreeImage_SetOutputMessage(FreeImageErrorHandler);\r
+\r
+       // print version & copyright infos\r
+\r
+       cout << "FreeImage " << FreeImage_GetVersion() << "\n";\r
+       cout << FreeImage_GetCopyrightMessage() << "\n\n";\r
+\r
+       if(argc != 2) {\r
+               cout << "Usage : ShowMetadata <input file name>\n";\r
+               return 0;\r
+       }\r
+\r
+       // Load the bitmap\r
+\r
+       FIBITMAP *dib = GenericLoader(argv[1], 0);\r
+       if(!dib)\r
+               return 0;\r
+\r
+       // Create a HTML file\r
+       std::string html_file(strtok(argv[1], ".") + std::string(".html"));\r
+\r
+       fstream metadataFile(html_file.c_str(), ios::out);\r
+\r
+       // Print the header\r
+\r
+       PrintHTMLHeader(metadataFile);\r
+       PrintTableHeader(metadataFile, argv[1]);\r
+\r
+       // Parse and print metadata\r
+\r
+       if(count = FreeImage_GetMetadataCount(FIMD_COMMENTS, dib)) {\r
+               cout << "\nFIMD_COMMENTS (" << count << " data)\n-----------------------------------------\n";\r
+\r
+               PrintMetadata(metadataFile, "Comments", dib, FIMD_COMMENTS);\r
+       }       \r
+       if(count = FreeImage_GetMetadataCount(FIMD_EXIF_MAIN, dib)) {\r
+               cout << "\nFIMD_EXIF_MAIN (" << count << " data)\n-----------------------------------------\n";\r
+\r
+               PrintMetadata(metadataFile, "Exif - main info", dib, FIMD_EXIF_MAIN);\r
+       }\r
+       if(count = FreeImage_GetMetadataCount(FIMD_EXIF_EXIF, dib)) {\r
+               cout << "\nFIMD_EXIF_EXIF (" << count << " data)\n-----------------------------------------\n";\r
+\r
+               PrintMetadata(metadataFile, "Exif - advanced info", dib, FIMD_EXIF_EXIF);\r
+       }\r
+       if(count = FreeImage_GetMetadataCount(FIMD_EXIF_GPS, dib)) {\r
+               cout << "\nFIMD_EXIF_GPS (" << count << " data)\n-----------------------------------------\n";\r
+\r
+               PrintMetadata(metadataFile, "Exif GPS", dib, FIMD_EXIF_GPS);\r
+       }\r
+       if(count = FreeImage_GetMetadataCount(FIMD_EXIF_INTEROP, dib)) {\r
+               cout << "\nFIMD_EXIF_INTEROP (" << count << " data)\n-----------------------------------------\n";\r
+\r
+               PrintMetadata(metadataFile, "Exif interoperability", dib, FIMD_EXIF_INTEROP);\r
+       }\r
+       if(count = FreeImage_GetMetadataCount(FIMD_EXIF_MAKERNOTE, dib)) {\r
+               cout << "\nFIMD_EXIF_MAKERNOTE (" << count << " data)\n-----------------------------------------\n";\r
+\r
+               // Get the camera model\r
+               FITAG *tagMake = NULL;\r
+               FreeImage_GetMetadata(FIMD_EXIF_MAIN, dib, "Make", &tagMake);\r
+\r
+               std::string buffer((char*)FreeImage_GetTagValue(tagMake));\r
+               buffer += " Makernote";\r
+\r
+               PrintMetadata(metadataFile, buffer.c_str(), dib, FIMD_EXIF_MAKERNOTE);\r
+       }\r
+       if(count = FreeImage_GetMetadataCount(FIMD_IPTC, dib)) {\r
+               cout << "\nFIMD_IPTC (" << count << " data)\n-----------------------------------------\n";\r
+\r
+               PrintMetadata(metadataFile, "IPTC/NAA", dib, FIMD_IPTC);\r
+       }\r
+       if(count = FreeImage_GetMetadataCount(FIMD_GEOTIFF, dib)) {\r
+               cout << "\nFIMD_GEOTIFF (" << count << " data)\n-----------------------------------------\n";\r
+\r
+               PrintMetadata(metadataFile, "GEOTIFF", dib, FIMD_GEOTIFF);\r
+       }\r
+\r
+       // Print the footer\r
+\r
+       PrintTableFooter(metadataFile);\r
+       PrintHTMLFooter(metadataFile);\r
+\r
+       // close the HTML file\r
+\r
+       metadataFile.close();\r
+\r
+       // print XMP data\r
+\r
+       if(count = FreeImage_GetMetadataCount(FIMD_XMP, dib)) {\r
+               cout << "\nFIMD_XMP (" << count << " packet)\n-----------------------------------------\n";\r
+\r
+               std::string xmp_file(strtok(argv[1], ".") + std::string(".xmp"));\r
+               metadataFile.open(xmp_file.c_str(), ios::out);\r
+\r
+               FITAG *tag = NULL;\r
+               FreeImage_GetMetadata(FIMD_XMP, dib, "XMLPacket", &tag);\r
+               if(tag) {\r
+                       metadataFile << (char*)FreeImage_GetTagValue(tag);\r
+               }\r
+\r
+               metadataFile.close();\r
+       }\r
+\r
+\r
+       // Unload the bitmap\r
+\r
+       FreeImage_Unload(dib);\r
+\r
+\r
+       // call this ONLY when linking with FreeImage as a static library\r
+#ifdef FREEIMAGE_LIB\r
+       FreeImage_DeInitialise();\r
+#endif // FREEIMAGE_LIB\r
+\r
+       return 0;\r
+}\r
+\r
+\r
+\r
diff --git a/FreeImage/Examples/Linux/Makefile b/FreeImage/Examples/Linux/Makefile
new file mode 100644 (file)
index 0000000..768e784
--- /dev/null
@@ -0,0 +1,24 @@
+CC = gcc\r
+CPP = g++\r
+COMPILERFLAGS = -O3\r
+INCLUDE = -I../../Dist\r
+VGALIBRARIES = -lfreeimage -lvga\r
+VGAINCLUDE = -I/usr/include/asm\r
+GTKLIBRARIES = -lfreeimage `pkg-config --libs gtk+-2.0`\r
+GTKINCLUDE = `pkg-config --cflags gtk+-2.0`\r
+CFLAGS = $(COMPILERFLAGS) $(INCLUDE)\r
+\r
+all: default\r
+\r
+default: linux-svgalib linux-gtk\r
+\r
+linux-svgalib: linux-svgalib.c\r
+       $(CC) $(CFLAGS) $< -o $@ $(VGALIBRARIES) $(VGAINCLUDE)\r
+       strip $@\r
+\r
+linux-gtk: linux-gtk.c\r
+       $(CC) $(CFLAGS) $< -o $@ $(GTKLIBRARIES) $(GTKINCLUDE)\r
+       strip $@\r
+\r
+clean:\r
+       rm -f core linux-svgalib linux-gtk\r
diff --git a/FreeImage/Examples/Linux/linux-gtk.c b/FreeImage/Examples/Linux/linux-gtk.c
new file mode 100644 (file)
index 0000000..e5cf51f
--- /dev/null
@@ -0,0 +1,100 @@
+#include <gtk/gtk.h>\r
+#include <FreeImage.h>\r
+#include <string.h>\r
+\r
+void destroy(GtkWidget * widget, gpointer data) {\r
+       gtk_main_quit();\r
+}\r
+\r
+int main(int argc, char *argv[])\r
+{\r
+       GtkWidget *window, *imagebox;\r
+       GdkVisual *visual;\r
+       GdkImage *image;\r
+       FIBITMAP *dib;\r
+       int y;\r
+\r
+       // initialize the FreeImage library\r
+       FreeImage_Initialise(TRUE);\r
+\r
+       dib = FreeImage_Load(FIF_PNG, "freeimage.png", PNG_DEFAULT);\r
+\r
+       gtk_init(&argc, &argv);\r
+\r
+       window = gtk_window_new(GTK_WINDOW_TOPLEVEL);\r
+\r
+       gtk_signal_connect(GTK_OBJECT(window), "destroy",\r
+                               GTK_SIGNAL_FUNC(destroy), NULL);\r
+\r
+       visual = gdk_visual_get_system();\r
+\r
+       image = gdk_image_new(GDK_IMAGE_NORMAL,visual,\r
+               FreeImage_GetWidth(dib),FreeImage_GetHeight(dib));\r
+\r
+       g_print("picture: %d bpp\n"\r
+               "system:  %d bpp   byteorder: %d\n"\r
+               "  redbits: %d   greenbits: %d   bluebits: %d\n"\r
+               "image:   %d bpp   %d bytes/pixel\n",\r
+               FreeImage_GetBPP(dib),\r
+               visual->depth,visual->byte_order,\r
+               visual->red_prec,visual->green_prec,visual->blue_prec,\r
+               image->depth,image->bpp );\r
+\r
+       if (FreeImage_GetBPP(dib) != (image->bpp << 3)) {\r
+               FIBITMAP *ptr;\r
+\r
+               switch (image->bpp) {\r
+                       case 1:\r
+                               ptr = FreeImage_ConvertTo8Bits(dib);\r
+                               break;\r
+\r
+                       case 2:\r
+                               if (image->depth == 15) {\r
+                                       ptr = FreeImage_ConvertTo16Bits555(dib);\r
+                               } else {\r
+                                       ptr = FreeImage_ConvertTo16Bits565(dib);\r
+                               }\r
+\r
+                               break;\r
+                       case 3:\r
+                               ptr = FreeImage_ConvertTo24Bits(dib);\r
+                               break;\r
+\r
+                       default:\r
+                       case 4:\r
+                               ptr = FreeImage_ConvertTo32Bits(dib);\r
+                               break;\r
+               }\r
+\r
+               FreeImage_Unload(dib);\r
+               dib = ptr;\r
+       }\r
+\r
+//makes it upside down :(\r
+//     memcpy(image->mem, FreeImage_GetBits(dib), image->bpl * image->height);\r
+\r
+       BYTE *ptr = FreeImage_GetBits(dib);\r
+\r
+       for (y = 0; y < image->height; y++) {\r
+               memcpy(image->mem + (y * image->bpl),\r
+                       ptr + ((image->height - y - 1) * image->bpl),\r
+                       image->bpl);\r
+       }\r
+\r
+       FreeImage_Unload(dib);\r
+\r
+       imagebox = gtk_image_new_from_image(image, NULL);\r
+       gtk_container_add(GTK_CONTAINER(window), imagebox);\r
+\r
+       gtk_widget_show(imagebox);\r
+       gtk_widget_show(window);\r
+\r
+       gtk_main();\r
+\r
+       // release the FreeImage library\r
+       FreeImage_DeInitialise();\r
+\r
+       return 0;\r
+}\r
+\r
+                \r
diff --git a/FreeImage/Examples/Linux/linux-svgalib.c b/FreeImage/Examples/Linux/linux-svgalib.c
new file mode 100644 (file)
index 0000000..159a238
--- /dev/null
@@ -0,0 +1,96 @@
+#include <vga.h>\r
+#include "FreeImage.h"\r
+\r
+int main(void)\r
+{\r
+       FIBITMAP *dib,*ptr;\r
+       vga_modeinfo *inf;\r
+       int length,height,bpp,y;\r
+\r
+       // initialize the FreeImage library\r
+       FreeImage_Initialise();\r
+\r
+       dib = FreeImage_Load(FIF_PNG, "freeimage.png", PNG_DEFAULT);\r
+\r
+       vga_init();\r
+       vga_setmode(vga_getdefaultmode());\r
+\r
+       inf = vga_getmodeinfo(vga_getcurrentmode());\r
+\r
+       switch(inf->colors) {\r
+       default:\r
+               printf("Must be at least 256 color mode!\n");\r
+               return;\r
+\r
+       case 1 << 8:\r
+               bpp = 8;\r
+               break;\r
+\r
+       case 1 << 15:\r
+               bpp = 15;\r
+               break;\r
+\r
+       case 1 << 16:\r
+               bpp = 16;\r
+               break;\r
+\r
+       case 1 << 24:\r
+               if( inf->bytesperpixel == 3 ) {\r
+                       bpp = 24;\r
+               } else {\r
+                       bpp = 32;\r
+               }\r
+               break;\r
+       }\r
+\r
+       if(FreeImage_GetBPP(dib) != bpp) {\r
+               switch(bpp) {\r
+               case 8:\r
+                       ptr = FreeImage_ConvertTo8Bits(dib);\r
+                       break;\r
+\r
+               case 15:\r
+                       ptr = FreeImage_ConvertTo16Bits555(dib);\r
+                       break;\r
+\r
+               case 16:\r
+                       ptr = FreeImage_ConvertTo16Bits565(dib);\r
+                       break;\r
+\r
+               case 24:\r
+                       ptr = FreeImage_ConvertTo24Bits(dib);\r
+                       break;\r
+\r
+               default:\r
+               case 32:\r
+                       ptr = FreeImage_ConvertTo32Bits(dib);\r
+                       break;\r
+               }\r
+\r
+               FreeImage_Unload(dib);\r
+               dib = ptr;\r
+       }\r
+\r
+       length = FreeImage_GetWidth(dib);\r
+       if( inf->width < length ) {\r
+               length = inf->width;\r
+       }\r
+       height = FreeImage_GetHeight(dib);\r
+       if( inf->height < height ) {\r
+               height = inf->height;\r
+       }\r
+\r
+       for(y = 0; y < height; y++) {\r
+               vga_drawscansegment(FreeImage_GetScanLine(dib, y), 0, y, length);\r
+       }\r
+\r
+       FreeImage_Unload(dib);\r
+\r
+       vga_getch();\r
+       vga_setmode(TEXT);\r
+\r
+       // release the FreeImage library\r
+       FreeImage_DeInitialise();\r
+\r
+       return 0;\r
+}\r
diff --git a/FreeImage/Examples/OpenGL/TextureManager/TextureManager.cpp b/FreeImage/Examples/OpenGL/TextureManager/TextureManager.cpp
new file mode 100644 (file)
index 0000000..dfc0ed9
--- /dev/null
@@ -0,0 +1,145 @@
+//**********************************************\r
+//Singleton Texture Manager class\r
+//Written by Ben English\r
+//benjamin.english@oit.edu\r
+//\r
+//For use with OpenGL and the FreeImage library\r
+//**********************************************\r
+\r
+#include "TextureManager.h"\r
+\r
+TextureManager* TextureManager::m_inst(0);\r
+\r
+TextureManager* TextureManager::Inst()\r
+{\r
+       if(!m_inst)\r
+               m_inst = new TextureManager();\r
+\r
+       return m_inst;\r
+}\r
+\r
+TextureManager::TextureManager()\r
+{\r
+       // call this ONLY when linking with FreeImage as a static library\r
+       #ifdef FREEIMAGE_LIB\r
+               FreeImage_Initialise();\r
+       #endif\r
+}\r
+\r
+//these should never be called\r
+//TextureManager::TextureManager(const TextureManager& tm){}\r
+//TextureManager& TextureManager::operator=(const TextureManager& tm){}\r
+       \r
+TextureManager::~TextureManager()\r
+{\r
+       // call this ONLY when linking with FreeImage as a static library\r
+       #ifdef FREEIMAGE_LIB\r
+               FreeImage_DeInitialise();\r
+       #endif\r
+\r
+       UnloadAllTextures();\r
+       m_inst = 0;\r
+}\r
+\r
+bool TextureManager::LoadTexture(const char* filename, const unsigned int texID, GLenum image_format, GLint internal_format, GLint level, GLint border)\r
+{\r
+       //image format\r
+       FREE_IMAGE_FORMAT fif = FIF_UNKNOWN;\r
+       //pointer to the image, once loaded