rfreeimage 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (860) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +1 -0
  4. data/Rakefile +34 -0
  5. data/ext/rfreeimage/extconf.rb +35 -0
  6. data/ext/rfreeimage/rfi_main.c +389 -0
  7. data/lib/rfreeimage/image.rb +26 -0
  8. data/lib/rfreeimage/version.rb +3 -0
  9. data/lib/rfreeimage.rb +3 -0
  10. data/rfreeimage.gemspec +32 -0
  11. data/vendor/FreeImage/Makefile +34 -0
  12. data/vendor/FreeImage/Makefile.cygwin +74 -0
  13. data/vendor/FreeImage/Makefile.fip +84 -0
  14. data/vendor/FreeImage/Makefile.gnu +83 -0
  15. data/vendor/FreeImage/Makefile.iphone +96 -0
  16. data/vendor/FreeImage/Makefile.mingw +136 -0
  17. data/vendor/FreeImage/Makefile.osx +115 -0
  18. data/vendor/FreeImage/Makefile.solaris +66 -0
  19. data/vendor/FreeImage/Makefile.srcs +6 -0
  20. data/vendor/FreeImage/README.iphone +19 -0
  21. data/vendor/FreeImage/README.linux +50 -0
  22. data/vendor/FreeImage/README.minGW +236 -0
  23. data/vendor/FreeImage/README.osx +44 -0
  24. data/vendor/FreeImage/README.solaris +67 -0
  25. data/vendor/FreeImage/Source/CacheFile.h +92 -0
  26. data/vendor/FreeImage/Source/DeprecationManager/Deprecated.cpp +36 -0
  27. data/vendor/FreeImage/Source/DeprecationManager/DeprecationMgr.cpp +103 -0
  28. data/vendor/FreeImage/Source/DeprecationManager/DeprecationMgr.h +83 -0
  29. data/vendor/FreeImage/Source/FreeImage/BitmapAccess.cpp +1573 -0
  30. data/vendor/FreeImage/Source/FreeImage/CacheFile.cpp +271 -0
  31. data/vendor/FreeImage/Source/FreeImage/ColorLookup.cpp +785 -0
  32. data/vendor/FreeImage/Source/FreeImage/Conversion.cpp +551 -0
  33. data/vendor/FreeImage/Source/FreeImage/Conversion16_555.cpp +209 -0
  34. data/vendor/FreeImage/Source/FreeImage/Conversion16_565.cpp +204 -0
  35. data/vendor/FreeImage/Source/FreeImage/Conversion24.cpp +252 -0
  36. data/vendor/FreeImage/Source/FreeImage/Conversion32.cpp +345 -0
  37. data/vendor/FreeImage/Source/FreeImage/Conversion4.cpp +246 -0
  38. data/vendor/FreeImage/Source/FreeImage/Conversion8.cpp +305 -0
  39. data/vendor/FreeImage/Source/FreeImage/ConversionFloat.cpp +194 -0
  40. data/vendor/FreeImage/Source/FreeImage/ConversionRGB16.cpp +144 -0
  41. data/vendor/FreeImage/Source/FreeImage/ConversionRGBA16.cpp +147 -0
  42. data/vendor/FreeImage/Source/FreeImage/ConversionRGBAF.cpp +250 -0
  43. data/vendor/FreeImage/Source/FreeImage/ConversionRGBF.cpp +243 -0
  44. data/vendor/FreeImage/Source/FreeImage/ConversionType.cpp +699 -0
  45. data/vendor/FreeImage/Source/FreeImage/ConversionUINT16.cpp +134 -0
  46. data/vendor/FreeImage/Source/FreeImage/FreeImage.cpp +226 -0
  47. data/vendor/FreeImage/Source/FreeImage/FreeImageC.c +22 -0
  48. data/vendor/FreeImage/Source/FreeImage/FreeImageIO.cpp +175 -0
  49. data/vendor/FreeImage/Source/FreeImage/GetType.cpp +92 -0
  50. data/vendor/FreeImage/Source/FreeImage/Halftoning.cpp +474 -0
  51. data/vendor/FreeImage/Source/FreeImage/J2KHelper.cpp +591 -0
  52. data/vendor/FreeImage/Source/FreeImage/J2KHelper.h +36 -0
  53. data/vendor/FreeImage/Source/FreeImage/LFPQuantizer.cpp +208 -0
  54. data/vendor/FreeImage/Source/FreeImage/MNGHelper.cpp +1320 -0
  55. data/vendor/FreeImage/Source/FreeImage/MemoryIO.cpp +237 -0
  56. data/vendor/FreeImage/Source/FreeImage/MultiPage.cpp +974 -0
  57. data/vendor/FreeImage/Source/FreeImage/NNQuantizer.cpp +507 -0
  58. data/vendor/FreeImage/Source/FreeImage/PSDParser.cpp +1057 -0
  59. data/vendor/FreeImage/Source/FreeImage/PSDParser.h +271 -0
  60. data/vendor/FreeImage/Source/FreeImage/PixelAccess.cpp +197 -0
  61. data/vendor/FreeImage/Source/FreeImage/Plugin.cpp +822 -0
  62. data/vendor/FreeImage/Source/FreeImage/PluginBMP.cpp +1494 -0
  63. data/vendor/FreeImage/Source/FreeImage/PluginCUT.cpp +240 -0
  64. data/vendor/FreeImage/Source/FreeImage/PluginDDS.cpp +655 -0
  65. data/vendor/FreeImage/Source/FreeImage/PluginEXR.cpp +773 -0
  66. data/vendor/FreeImage/Source/FreeImage/PluginG3.cpp +433 -0
  67. data/vendor/FreeImage/Source/FreeImage/PluginGIF.cpp +1407 -0
  68. data/vendor/FreeImage/Source/FreeImage/PluginHDR.cpp +722 -0
  69. data/vendor/FreeImage/Source/FreeImage/PluginICO.cpp +824 -0
  70. data/vendor/FreeImage/Source/FreeImage/PluginIFF.cpp +459 -0
  71. data/vendor/FreeImage/Source/FreeImage/PluginJ2K.cpp +328 -0
  72. data/vendor/FreeImage/Source/FreeImage/PluginJNG.cpp +162 -0
  73. data/vendor/FreeImage/Source/FreeImage/PluginJP2.cpp +328 -0
  74. data/vendor/FreeImage/Source/FreeImage/PluginJPEG.cpp +1706 -0
  75. data/vendor/FreeImage/Source/FreeImage/PluginJXR.cpp +1475 -0
  76. data/vendor/FreeImage/Source/FreeImage/PluginKOALA.cpp +243 -0
  77. data/vendor/FreeImage/Source/FreeImage/PluginMNG.cpp +153 -0
  78. data/vendor/FreeImage/Source/FreeImage/PluginPCD.cpp +251 -0
  79. data/vendor/FreeImage/Source/FreeImage/PluginPCX.cpp +659 -0
  80. data/vendor/FreeImage/Source/FreeImage/PluginPFM.cpp +409 -0
  81. data/vendor/FreeImage/Source/FreeImage/PluginPICT.cpp +1343 -0
  82. data/vendor/FreeImage/Source/FreeImage/PluginPNG.cpp +1115 -0
  83. data/vendor/FreeImage/Source/FreeImage/PluginPNM.cpp +838 -0
  84. data/vendor/FreeImage/Source/FreeImage/PluginPSD.cpp +131 -0
  85. data/vendor/FreeImage/Source/FreeImage/PluginRAS.cpp +512 -0
  86. data/vendor/FreeImage/Source/FreeImage/PluginRAW.cpp +793 -0
  87. data/vendor/FreeImage/Source/FreeImage/PluginSGI.cpp +425 -0
  88. data/vendor/FreeImage/Source/FreeImage/PluginTARGA.cpp +1591 -0
  89. data/vendor/FreeImage/Source/FreeImage/PluginTIFF.cpp +2631 -0
  90. data/vendor/FreeImage/Source/FreeImage/PluginWBMP.cpp +372 -0
  91. data/vendor/FreeImage/Source/FreeImage/PluginWebP.cpp +698 -0
  92. data/vendor/FreeImage/Source/FreeImage/PluginXBM.cpp +399 -0
  93. data/vendor/FreeImage/Source/FreeImage/PluginXPM.cpp +487 -0
  94. data/vendor/FreeImage/Source/FreeImage/TIFFLogLuv.cpp +65 -0
  95. data/vendor/FreeImage/Source/FreeImage/ToneMapping.cpp +75 -0
  96. data/vendor/FreeImage/Source/FreeImage/WuQuantizer.cpp +559 -0
  97. data/vendor/FreeImage/Source/FreeImage/ZLibInterface.cpp +223 -0
  98. data/vendor/FreeImage/Source/FreeImage/tmoColorConvert.cpp +479 -0
  99. data/vendor/FreeImage/Source/FreeImage/tmoDrago03.cpp +295 -0
  100. data/vendor/FreeImage/Source/FreeImage/tmoFattal02.cpp +689 -0
  101. data/vendor/FreeImage/Source/FreeImage/tmoReinhard05.cpp +260 -0
  102. data/vendor/FreeImage/Source/FreeImage.h +1153 -0
  103. data/vendor/FreeImage/Source/FreeImageIO.h +63 -0
  104. data/vendor/FreeImage/Source/FreeImageToolkit/BSplineRotate.cpp +730 -0
  105. data/vendor/FreeImage/Source/FreeImageToolkit/Background.cpp +895 -0
  106. data/vendor/FreeImage/Source/FreeImageToolkit/Channels.cpp +488 -0
  107. data/vendor/FreeImage/Source/FreeImageToolkit/ClassicRotate.cpp +917 -0
  108. data/vendor/FreeImage/Source/FreeImageToolkit/Colors.cpp +967 -0
  109. data/vendor/FreeImage/Source/FreeImageToolkit/CopyPaste.cpp +861 -0
  110. data/vendor/FreeImage/Source/FreeImageToolkit/Display.cpp +230 -0
  111. data/vendor/FreeImage/Source/FreeImageToolkit/Filters.h +287 -0
  112. data/vendor/FreeImage/Source/FreeImageToolkit/Flip.cpp +166 -0
  113. data/vendor/FreeImage/Source/FreeImageToolkit/JPEGTransform.cpp +623 -0
  114. data/vendor/FreeImage/Source/FreeImageToolkit/MultigridPoissonSolver.cpp +505 -0
  115. data/vendor/FreeImage/Source/FreeImageToolkit/Rescale.cpp +192 -0
  116. data/vendor/FreeImage/Source/FreeImageToolkit/Resize.cpp +2116 -0
  117. data/vendor/FreeImage/Source/FreeImageToolkit/Resize.h +196 -0
  118. data/vendor/FreeImage/Source/LibJPEG/ansi2knr.c +739 -0
  119. data/vendor/FreeImage/Source/LibJPEG/cderror.h +134 -0
  120. data/vendor/FreeImage/Source/LibJPEG/cdjpeg.c +181 -0
  121. data/vendor/FreeImage/Source/LibJPEG/cdjpeg.h +187 -0
  122. data/vendor/FreeImage/Source/LibJPEG/cjpeg.c +664 -0
  123. data/vendor/FreeImage/Source/LibJPEG/ckconfig.c +402 -0
  124. data/vendor/FreeImage/Source/LibJPEG/djpeg.c +617 -0
  125. data/vendor/FreeImage/Source/LibJPEG/example.c +433 -0
  126. data/vendor/FreeImage/Source/LibJPEG/jaricom.c +153 -0
  127. data/vendor/FreeImage/Source/LibJPEG/jcapimin.c +288 -0
  128. data/vendor/FreeImage/Source/LibJPEG/jcapistd.c +162 -0
  129. data/vendor/FreeImage/Source/LibJPEG/jcarith.c +944 -0
  130. data/vendor/FreeImage/Source/LibJPEG/jccoefct.c +454 -0
  131. data/vendor/FreeImage/Source/LibJPEG/jccolor.c +604 -0
  132. data/vendor/FreeImage/Source/LibJPEG/jcdctmgr.c +477 -0
  133. data/vendor/FreeImage/Source/LibJPEG/jchuff.c +1573 -0
  134. data/vendor/FreeImage/Source/LibJPEG/jcinit.c +84 -0
  135. data/vendor/FreeImage/Source/LibJPEG/jcmainct.c +297 -0
  136. data/vendor/FreeImage/Source/LibJPEG/jcmarker.c +719 -0
  137. data/vendor/FreeImage/Source/LibJPEG/jcmaster.c +856 -0
  138. data/vendor/FreeImage/Source/LibJPEG/jcomapi.c +106 -0
  139. data/vendor/FreeImage/Source/LibJPEG/jconfig.h +161 -0
  140. data/vendor/FreeImage/Source/LibJPEG/jcparam.c +675 -0
  141. data/vendor/FreeImage/Source/LibJPEG/jcprepct.c +358 -0
  142. data/vendor/FreeImage/Source/LibJPEG/jcsample.c +545 -0
  143. data/vendor/FreeImage/Source/LibJPEG/jctrans.c +385 -0
  144. data/vendor/FreeImage/Source/LibJPEG/jdapimin.c +399 -0
  145. data/vendor/FreeImage/Source/LibJPEG/jdapistd.c +276 -0
  146. data/vendor/FreeImage/Source/LibJPEG/jdarith.c +796 -0
  147. data/vendor/FreeImage/Source/LibJPEG/jdatadst.c +270 -0
  148. data/vendor/FreeImage/Source/LibJPEG/jdatasrc.c +275 -0
  149. data/vendor/FreeImage/Source/LibJPEG/jdcoefct.c +741 -0
  150. data/vendor/FreeImage/Source/LibJPEG/jdcolor.c +748 -0
  151. data/vendor/FreeImage/Source/LibJPEG/jdct.h +393 -0
  152. data/vendor/FreeImage/Source/LibJPEG/jddctmgr.c +384 -0
  153. data/vendor/FreeImage/Source/LibJPEG/jdhuff.c +1554 -0
  154. data/vendor/FreeImage/Source/LibJPEG/jdinput.c +662 -0
  155. data/vendor/FreeImage/Source/LibJPEG/jdmainct.c +513 -0
  156. data/vendor/FreeImage/Source/LibJPEG/jdmarker.c +1511 -0
  157. data/vendor/FreeImage/Source/LibJPEG/jdmaster.c +543 -0
  158. data/vendor/FreeImage/Source/LibJPEG/jdmerge.c +401 -0
  159. data/vendor/FreeImage/Source/LibJPEG/jdpostct.c +290 -0
  160. data/vendor/FreeImage/Source/LibJPEG/jdsample.c +361 -0
  161. data/vendor/FreeImage/Source/LibJPEG/jdtrans.c +140 -0
  162. data/vendor/FreeImage/Source/LibJPEG/jerror.c +253 -0
  163. data/vendor/FreeImage/Source/LibJPEG/jerror.h +304 -0
  164. data/vendor/FreeImage/Source/LibJPEG/jfdctflt.c +174 -0
  165. data/vendor/FreeImage/Source/LibJPEG/jfdctfst.c +230 -0
  166. data/vendor/FreeImage/Source/LibJPEG/jfdctint.c +4406 -0
  167. data/vendor/FreeImage/Source/LibJPEG/jidctflt.c +235 -0
  168. data/vendor/FreeImage/Source/LibJPEG/jidctfst.c +368 -0
  169. data/vendor/FreeImage/Source/LibJPEG/jidctint.c +5179 -0
  170. data/vendor/FreeImage/Source/LibJPEG/jinclude.h +91 -0
  171. data/vendor/FreeImage/Source/LibJPEG/jmemansi.c +167 -0
  172. data/vendor/FreeImage/Source/LibJPEG/jmemdos.c +638 -0
  173. data/vendor/FreeImage/Source/LibJPEG/jmemmac.c +289 -0
  174. data/vendor/FreeImage/Source/LibJPEG/jmemmgr.c +1119 -0
  175. data/vendor/FreeImage/Source/LibJPEG/jmemname.c +276 -0
  176. data/vendor/FreeImage/Source/LibJPEG/jmemnobs.c +109 -0
  177. data/vendor/FreeImage/Source/LibJPEG/jmemsys.h +198 -0
  178. data/vendor/FreeImage/Source/LibJPEG/jmorecfg.h +442 -0
  179. data/vendor/FreeImage/Source/LibJPEG/jpegint.h +426 -0
  180. data/vendor/FreeImage/Source/LibJPEG/jpeglib.h +1180 -0
  181. data/vendor/FreeImage/Source/LibJPEG/jpegtran.c +577 -0
  182. data/vendor/FreeImage/Source/LibJPEG/jquant1.c +857 -0
  183. data/vendor/FreeImage/Source/LibJPEG/jquant2.c +1311 -0
  184. data/vendor/FreeImage/Source/LibJPEG/jutils.c +227 -0
  185. data/vendor/FreeImage/Source/LibJPEG/jversion.h +14 -0
  186. data/vendor/FreeImage/Source/LibJPEG/rdbmp.c +480 -0
  187. data/vendor/FreeImage/Source/LibJPEG/rdcolmap.c +253 -0
  188. data/vendor/FreeImage/Source/LibJPEG/rdgif.c +38 -0
  189. data/vendor/FreeImage/Source/LibJPEG/rdjpgcom.c +515 -0
  190. data/vendor/FreeImage/Source/LibJPEG/rdppm.c +459 -0
  191. data/vendor/FreeImage/Source/LibJPEG/rdrle.c +387 -0
  192. data/vendor/FreeImage/Source/LibJPEG/rdswitch.c +365 -0
  193. data/vendor/FreeImage/Source/LibJPEG/rdtarga.c +500 -0
  194. data/vendor/FreeImage/Source/LibJPEG/transupp.c +1763 -0
  195. data/vendor/FreeImage/Source/LibJPEG/transupp.h +219 -0
  196. data/vendor/FreeImage/Source/LibJPEG/wrbmp.c +442 -0
  197. data/vendor/FreeImage/Source/LibJPEG/wrgif.c +399 -0
  198. data/vendor/FreeImage/Source/LibJPEG/wrjpgcom.c +583 -0
  199. data/vendor/FreeImage/Source/LibJPEG/wrppm.c +269 -0
  200. data/vendor/FreeImage/Source/LibJPEG/wrrle.c +305 -0
  201. data/vendor/FreeImage/Source/LibJPEG/wrtarga.c +253 -0
  202. data/vendor/FreeImage/Source/LibJXR/common/include/guiddef.h +230 -0
  203. data/vendor/FreeImage/Source/LibJXR/common/include/wmsal.h +757 -0
  204. data/vendor/FreeImage/Source/LibJXR/common/include/wmspecstring.h +342 -0
  205. data/vendor/FreeImage/Source/LibJXR/common/include/wmspecstrings_adt.h +71 -0
  206. data/vendor/FreeImage/Source/LibJXR/common/include/wmspecstrings_strict.h +1096 -0
  207. data/vendor/FreeImage/Source/LibJXR/common/include/wmspecstrings_undef.h +406 -0
  208. data/vendor/FreeImage/Source/LibJXR/image/decode/JXRTranscode.c +987 -0
  209. data/vendor/FreeImage/Source/LibJXR/image/decode/decode.c +200 -0
  210. data/vendor/FreeImage/Source/LibJXR/image/decode/decode.h +143 -0
  211. data/vendor/FreeImage/Source/LibJXR/image/decode/postprocess.c +288 -0
  212. data/vendor/FreeImage/Source/LibJXR/image/decode/segdec.c +1205 -0
  213. data/vendor/FreeImage/Source/LibJXR/image/decode/strInvTransform.c +1888 -0
  214. data/vendor/FreeImage/Source/LibJXR/image/decode/strPredQuantDec.c +539 -0
  215. data/vendor/FreeImage/Source/LibJXR/image/decode/strdec.c +3628 -0
  216. data/vendor/FreeImage/Source/LibJXR/image/decode/strdec_x86.c +1640 -0
  217. data/vendor/FreeImage/Source/LibJXR/image/encode/encode.c +144 -0
  218. data/vendor/FreeImage/Source/LibJXR/image/encode/encode.h +113 -0
  219. data/vendor/FreeImage/Source/LibJXR/image/encode/segenc.c +1186 -0
  220. data/vendor/FreeImage/Source/LibJXR/image/encode/strFwdTransform.c +1111 -0
  221. data/vendor/FreeImage/Source/LibJXR/image/encode/strPredQuantEnc.c +511 -0
  222. data/vendor/FreeImage/Source/LibJXR/image/encode/strenc.c +2370 -0
  223. data/vendor/FreeImage/Source/LibJXR/image/encode/strenc_x86.c +409 -0
  224. data/vendor/FreeImage/Source/LibJXR/image/sys/adapthuff.c +511 -0
  225. data/vendor/FreeImage/Source/LibJXR/image/sys/ansi.h +61 -0
  226. data/vendor/FreeImage/Source/LibJXR/image/sys/common.h +131 -0
  227. data/vendor/FreeImage/Source/LibJXR/image/sys/image.c +183 -0
  228. data/vendor/FreeImage/Source/LibJXR/image/sys/perfTimer.h +115 -0
  229. data/vendor/FreeImage/Source/LibJXR/image/sys/perfTimerANSI.c +274 -0
  230. data/vendor/FreeImage/Source/LibJXR/image/sys/strPredQuant.c +306 -0
  231. data/vendor/FreeImage/Source/LibJXR/image/sys/strTransform.c +85 -0
  232. data/vendor/FreeImage/Source/LibJXR/image/sys/strTransform.h +50 -0
  233. data/vendor/FreeImage/Source/LibJXR/image/sys/strcodec.c +1251 -0
  234. data/vendor/FreeImage/Source/LibJXR/image/sys/strcodec.h +681 -0
  235. data/vendor/FreeImage/Source/LibJXR/image/sys/windowsmediaphoto.h +515 -0
  236. data/vendor/FreeImage/Source/LibJXR/image/sys/xplatform_image.h +84 -0
  237. data/vendor/FreeImage/Source/LibJXR/image/x86/x86.h +58 -0
  238. data/vendor/FreeImage/Source/LibJXR/jxrgluelib/JXRGlue.c +930 -0
  239. data/vendor/FreeImage/Source/LibJXR/jxrgluelib/JXRGlue.h +636 -0
  240. data/vendor/FreeImage/Source/LibJXR/jxrgluelib/JXRGlueJxr.c +2246 -0
  241. data/vendor/FreeImage/Source/LibJXR/jxrgluelib/JXRGluePFC.c +2338 -0
  242. data/vendor/FreeImage/Source/LibJXR/jxrgluelib/JXRMeta.c +905 -0
  243. data/vendor/FreeImage/Source/LibJXR/jxrgluelib/JXRMeta.h +258 -0
  244. data/vendor/FreeImage/Source/LibOpenJPEG/bio.c +188 -0
  245. data/vendor/FreeImage/Source/LibOpenJPEG/bio.h +128 -0
  246. data/vendor/FreeImage/Source/LibOpenJPEG/cidx_manager.c +239 -0
  247. data/vendor/FreeImage/Source/LibOpenJPEG/cidx_manager.h +68 -0
  248. data/vendor/FreeImage/Source/LibOpenJPEG/cio.c +644 -0
  249. data/vendor/FreeImage/Source/LibOpenJPEG/cio.h +393 -0
  250. data/vendor/FreeImage/Source/LibOpenJPEG/dwt.c +919 -0
  251. data/vendor/FreeImage/Source/LibOpenJPEG/dwt.h +116 -0
  252. data/vendor/FreeImage/Source/LibOpenJPEG/event.c +141 -0
  253. data/vendor/FreeImage/Source/LibOpenJPEG/event.h +97 -0
  254. data/vendor/FreeImage/Source/LibOpenJPEG/function_list.c +114 -0
  255. data/vendor/FreeImage/Source/LibOpenJPEG/function_list.h +126 -0
  256. data/vendor/FreeImage/Source/LibOpenJPEG/image.c +235 -0
  257. data/vendor/FreeImage/Source/LibOpenJPEG/image.h +63 -0
  258. data/vendor/FreeImage/Source/LibOpenJPEG/indexbox_manager.h +148 -0
  259. data/vendor/FreeImage/Source/LibOpenJPEG/invert.c +289 -0
  260. data/vendor/FreeImage/Source/LibOpenJPEG/invert.h +59 -0
  261. data/vendor/FreeImage/Source/LibOpenJPEG/j2k.c +10238 -0
  262. data/vendor/FreeImage/Source/LibOpenJPEG/j2k.h +838 -0
  263. data/vendor/FreeImage/Source/LibOpenJPEG/jp2.c +2776 -0
  264. data/vendor/FreeImage/Source/LibOpenJPEG/jp2.h +490 -0
  265. data/vendor/FreeImage/Source/LibOpenJPEG/mct.c +319 -0
  266. data/vendor/FreeImage/Source/LibOpenJPEG/mct.h +149 -0
  267. data/vendor/FreeImage/Source/LibOpenJPEG/mqc.c +604 -0
  268. data/vendor/FreeImage/Source/LibOpenJPEG/mqc.h +201 -0
  269. data/vendor/FreeImage/Source/LibOpenJPEG/openjpeg.c +955 -0
  270. data/vendor/FreeImage/Source/LibOpenJPEG/openjpeg.h +1475 -0
  271. data/vendor/FreeImage/Source/LibOpenJPEG/opj_clock.c +59 -0
  272. data/vendor/FreeImage/Source/LibOpenJPEG/opj_clock.h +54 -0
  273. data/vendor/FreeImage/Source/LibOpenJPEG/opj_codec.h +160 -0
  274. data/vendor/FreeImage/Source/LibOpenJPEG/opj_config.h +9 -0
  275. data/vendor/FreeImage/Source/LibOpenJPEG/opj_config_private.h +16 -0
  276. data/vendor/FreeImage/Source/LibOpenJPEG/opj_includes.h +175 -0
  277. data/vendor/FreeImage/Source/LibOpenJPEG/opj_intmath.h +172 -0
  278. data/vendor/FreeImage/Source/LibOpenJPEG/opj_inttypes.h +43 -0
  279. data/vendor/FreeImage/Source/LibOpenJPEG/opj_malloc.h +180 -0
  280. data/vendor/FreeImage/Source/LibOpenJPEG/opj_stdint.h +47 -0
  281. data/vendor/FreeImage/Source/LibOpenJPEG/phix_manager.c +191 -0
  282. data/vendor/FreeImage/Source/LibOpenJPEG/pi.c +1870 -0
  283. data/vendor/FreeImage/Source/LibOpenJPEG/pi.h +182 -0
  284. data/vendor/FreeImage/Source/LibOpenJPEG/ppix_manager.c +194 -0
  285. data/vendor/FreeImage/Source/LibOpenJPEG/raw.c +89 -0
  286. data/vendor/FreeImage/Source/LibOpenJPEG/raw.h +100 -0
  287. data/vendor/FreeImage/Source/LibOpenJPEG/t1.c +1751 -0
  288. data/vendor/FreeImage/Source/LibOpenJPEG/t1.h +157 -0
  289. data/vendor/FreeImage/Source/LibOpenJPEG/t1_generate_luts.c +276 -0
  290. data/vendor/FreeImage/Source/LibOpenJPEG/t1_luts.h +143 -0
  291. data/vendor/FreeImage/Source/LibOpenJPEG/t2.c +1334 -0
  292. data/vendor/FreeImage/Source/LibOpenJPEG/t2.h +127 -0
  293. data/vendor/FreeImage/Source/LibOpenJPEG/tcd.c +2123 -0
  294. data/vendor/FreeImage/Source/LibOpenJPEG/tcd.h +348 -0
  295. data/vendor/FreeImage/Source/LibOpenJPEG/tgt.c +331 -0
  296. data/vendor/FreeImage/Source/LibOpenJPEG/tgt.h +140 -0
  297. data/vendor/FreeImage/Source/LibOpenJPEG/thix_manager.c +134 -0
  298. data/vendor/FreeImage/Source/LibOpenJPEG/tpix_manager.c +185 -0
  299. data/vendor/FreeImage/Source/LibPNG/example.c +1061 -0
  300. data/vendor/FreeImage/Source/LibPNG/png.c +4493 -0
  301. data/vendor/FreeImage/Source/LibPNG/png.h +3282 -0
  302. data/vendor/FreeImage/Source/LibPNG/pngconf.h +644 -0
  303. data/vendor/FreeImage/Source/LibPNG/pngdebug.h +154 -0
  304. data/vendor/FreeImage/Source/LibPNG/pngerror.c +963 -0
  305. data/vendor/FreeImage/Source/LibPNG/pngget.c +1213 -0
  306. data/vendor/FreeImage/Source/LibPNG/pnginfo.h +260 -0
  307. data/vendor/FreeImage/Source/LibPNG/pnglibconf.h +218 -0
  308. data/vendor/FreeImage/Source/LibPNG/pngmem.c +281 -0
  309. data/vendor/FreeImage/Source/LibPNG/pngpread.c +1168 -0
  310. data/vendor/FreeImage/Source/LibPNG/pngpriv.h +1944 -0
  311. data/vendor/FreeImage/Source/LibPNG/pngread.c +4121 -0
  312. data/vendor/FreeImage/Source/LibPNG/pngrio.c +120 -0
  313. data/vendor/FreeImage/Source/LibPNG/pngrtran.c +4994 -0
  314. data/vendor/FreeImage/Source/LibPNG/pngrutil.c +4474 -0
  315. data/vendor/FreeImage/Source/LibPNG/pngset.c +1611 -0
  316. data/vendor/FreeImage/Source/LibPNG/pngstruct.h +489 -0
  317. data/vendor/FreeImage/Source/LibPNG/pngtest.c +2011 -0
  318. data/vendor/FreeImage/Source/LibPNG/pngtrans.c +849 -0
  319. data/vendor/FreeImage/Source/LibPNG/pngwio.c +168 -0
  320. data/vendor/FreeImage/Source/LibPNG/pngwrite.c +2455 -0
  321. data/vendor/FreeImage/Source/LibPNG/pngwtran.c +574 -0
  322. data/vendor/FreeImage/Source/LibPNG/pngwutil.c +3029 -0
  323. data/vendor/FreeImage/Source/LibRawLite/dcraw/dcraw.c +15462 -0
  324. data/vendor/FreeImage/Source/LibRawLite/internal/aahd_demosaic.cpp +706 -0
  325. data/vendor/FreeImage/Source/LibRawLite/internal/dcb_demosaicing.c +710 -0
  326. data/vendor/FreeImage/Source/LibRawLite/internal/dcraw_common.cpp +13593 -0
  327. data/vendor/FreeImage/Source/LibRawLite/internal/dcraw_fileio.cpp +240 -0
  328. data/vendor/FreeImage/Source/LibRawLite/internal/defines.h +167 -0
  329. data/vendor/FreeImage/Source/LibRawLite/internal/demosaic_packs.cpp +99 -0
  330. data/vendor/FreeImage/Source/LibRawLite/internal/dht_demosaic.cpp +873 -0
  331. data/vendor/FreeImage/Source/LibRawLite/internal/libraw_internal_funcs.h +282 -0
  332. data/vendor/FreeImage/Source/LibRawLite/internal/libraw_x3f.cpp +1919 -0
  333. data/vendor/FreeImage/Source/LibRawLite/internal/var_defines.h +216 -0
  334. data/vendor/FreeImage/Source/LibRawLite/internal/wf_filtering.cpp +1950 -0
  335. data/vendor/FreeImage/Source/LibRawLite/libraw/libraw.h +338 -0
  336. data/vendor/FreeImage/Source/LibRawLite/libraw/libraw_alloc.h +99 -0
  337. data/vendor/FreeImage/Source/LibRawLite/libraw/libraw_const.h +233 -0
  338. data/vendor/FreeImage/Source/LibRawLite/libraw/libraw_datastream.h +238 -0
  339. data/vendor/FreeImage/Source/LibRawLite/libraw/libraw_internal.h +225 -0
  340. data/vendor/FreeImage/Source/LibRawLite/libraw/libraw_types.h +442 -0
  341. data/vendor/FreeImage/Source/LibRawLite/libraw/libraw_version.h +62 -0
  342. data/vendor/FreeImage/Source/LibRawLite/src/libraw_c_api.cpp +230 -0
  343. data/vendor/FreeImage/Source/LibRawLite/src/libraw_cxx.cpp +4533 -0
  344. data/vendor/FreeImage/Source/LibRawLite/src/libraw_datastream.cpp +703 -0
  345. data/vendor/FreeImage/Source/LibTIFF4/mkg3states.c +451 -0
  346. data/vendor/FreeImage/Source/LibTIFF4/mkspans.c +82 -0
  347. data/vendor/FreeImage/Source/LibTIFF4/t4.h +292 -0
  348. data/vendor/FreeImage/Source/LibTIFF4/tif_aux.c +358 -0
  349. data/vendor/FreeImage/Source/LibTIFF4/tif_close.c +140 -0
  350. data/vendor/FreeImage/Source/LibTIFF4/tif_codec.c +166 -0
  351. data/vendor/FreeImage/Source/LibTIFF4/tif_color.c +287 -0
  352. data/vendor/FreeImage/Source/LibTIFF4/tif_compress.c +304 -0
  353. data/vendor/FreeImage/Source/LibTIFF4/tif_config.h +97 -0
  354. data/vendor/FreeImage/Source/LibTIFF4/tif_config.vc.h +74 -0
  355. data/vendor/FreeImage/Source/LibTIFF4/tif_config.wince.h +71 -0
  356. data/vendor/FreeImage/Source/LibTIFF4/tif_dir.c +1700 -0
  357. data/vendor/FreeImage/Source/LibTIFF4/tif_dir.h +308 -0
  358. data/vendor/FreeImage/Source/LibTIFF4/tif_dirinfo.c +959 -0
  359. data/vendor/FreeImage/Source/LibTIFF4/tif_dirread.c +5640 -0
  360. data/vendor/FreeImage/Source/LibTIFF4/tif_dirwrite.c +2910 -0
  361. data/vendor/FreeImage/Source/LibTIFF4/tif_dumpmode.c +143 -0
  362. data/vendor/FreeImage/Source/LibTIFF4/tif_error.c +80 -0
  363. data/vendor/FreeImage/Source/LibTIFF4/tif_extension.c +118 -0
  364. data/vendor/FreeImage/Source/LibTIFF4/tif_fax3.c +1595 -0
  365. data/vendor/FreeImage/Source/LibTIFF4/tif_fax3.h +538 -0
  366. data/vendor/FreeImage/Source/LibTIFF4/tif_fax3sm.c +1260 -0
  367. data/vendor/FreeImage/Source/LibTIFF4/tif_flush.c +118 -0
  368. data/vendor/FreeImage/Source/LibTIFF4/tif_getimage.c +2890 -0
  369. data/vendor/FreeImage/Source/LibTIFF4/tif_jbig.c +213 -0
  370. data/vendor/FreeImage/Source/LibTIFF4/tif_jpeg.c +2354 -0
  371. data/vendor/FreeImage/Source/LibTIFF4/tif_jpeg_12.c +65 -0
  372. data/vendor/FreeImage/Source/LibTIFF4/tif_luv.c +1683 -0
  373. data/vendor/FreeImage/Source/LibTIFF4/tif_lzma.c +495 -0
  374. data/vendor/FreeImage/Source/LibTIFF4/tif_lzw.c +1169 -0
  375. data/vendor/FreeImage/Source/LibTIFF4/tif_next.c +181 -0
  376. data/vendor/FreeImage/Source/LibTIFF4/tif_ojpeg.c +2501 -0
  377. data/vendor/FreeImage/Source/LibTIFF4/tif_open.c +725 -0
  378. data/vendor/FreeImage/Source/LibTIFF4/tif_packbits.c +300 -0
  379. data/vendor/FreeImage/Source/LibTIFF4/tif_pixarlog.c +1442 -0
  380. data/vendor/FreeImage/Source/LibTIFF4/tif_predict.c +764 -0
  381. data/vendor/FreeImage/Source/LibTIFF4/tif_predict.h +77 -0
  382. data/vendor/FreeImage/Source/LibTIFF4/tif_print.c +716 -0
  383. data/vendor/FreeImage/Source/LibTIFF4/tif_read.c +1086 -0
  384. data/vendor/FreeImage/Source/LibTIFF4/tif_strip.c +383 -0
  385. data/vendor/FreeImage/Source/LibTIFF4/tif_swab.c +310 -0
  386. data/vendor/FreeImage/Source/LibTIFF4/tif_thunder.c +207 -0
  387. data/vendor/FreeImage/Source/LibTIFF4/tif_tile.c +299 -0
  388. data/vendor/FreeImage/Source/LibTIFF4/tif_unix.c +325 -0
  389. data/vendor/FreeImage/Source/LibTIFF4/tif_version.c +40 -0
  390. data/vendor/FreeImage/Source/LibTIFF4/tif_vms.c +603 -0
  391. data/vendor/FreeImage/Source/LibTIFF4/tif_warning.c +81 -0
  392. data/vendor/FreeImage/Source/LibTIFF4/tif_win32.c +443 -0
  393. data/vendor/FreeImage/Source/LibTIFF4/tif_wince.c +293 -0
  394. data/vendor/FreeImage/Source/LibTIFF4/tif_write.c +771 -0
  395. data/vendor/FreeImage/Source/LibTIFF4/tif_zip.c +472 -0
  396. data/vendor/FreeImage/Source/LibTIFF4/tiff.h +681 -0
  397. data/vendor/FreeImage/Source/LibTIFF4/tiffconf.h +170 -0
  398. data/vendor/FreeImage/Source/LibTIFF4/tiffconf.vc.h +160 -0
  399. data/vendor/FreeImage/Source/LibTIFF4/tiffconf.wince.h +121 -0
  400. data/vendor/FreeImage/Source/LibTIFF4/tiffio.h +557 -0
  401. data/vendor/FreeImage/Source/LibTIFF4/tiffiop.h +367 -0
  402. data/vendor/FreeImage/Source/LibTIFF4/tiffvers.h +9 -0
  403. data/vendor/FreeImage/Source/LibTIFF4/uvcode.h +180 -0
  404. data/vendor/FreeImage/Source/LibWebP/src/dec/alphai.h +55 -0
  405. data/vendor/FreeImage/Source/LibWebP/src/dec/dec.alpha.c +167 -0
  406. data/vendor/FreeImage/Source/LibWebP/src/dec/dec.buffer.c +249 -0
  407. data/vendor/FreeImage/Source/LibWebP/src/dec/dec.frame.c +827 -0
  408. data/vendor/FreeImage/Source/LibWebP/src/dec/dec.idec.c +857 -0
  409. data/vendor/FreeImage/Source/LibWebP/src/dec/dec.io.c +640 -0
  410. data/vendor/FreeImage/Source/LibWebP/src/dec/dec.quant.c +110 -0
  411. data/vendor/FreeImage/Source/LibWebP/src/dec/dec.tree.c +525 -0
  412. data/vendor/FreeImage/Source/LibWebP/src/dec/dec.vp8.c +663 -0
  413. data/vendor/FreeImage/Source/LibWebP/src/dec/dec.vp8l.c +1584 -0
  414. data/vendor/FreeImage/Source/LibWebP/src/dec/dec.webp.c +834 -0
  415. data/vendor/FreeImage/Source/LibWebP/src/dec/decode_vp8.h +185 -0
  416. data/vendor/FreeImage/Source/LibWebP/src/dec/vp8i.h +353 -0
  417. data/vendor/FreeImage/Source/LibWebP/src/dec/vp8li.h +136 -0
  418. data/vendor/FreeImage/Source/LibWebP/src/dec/webpi.h +120 -0
  419. data/vendor/FreeImage/Source/LibWebP/src/demux/demux.demux.c +957 -0
  420. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.alpha_processing.c +377 -0
  421. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.alpha_processing_mips_dsp_r2.c +139 -0
  422. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.alpha_processing_sse2.c +296 -0
  423. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.argb.c +68 -0
  424. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.argb_mips_dsp_r2.c +108 -0
  425. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.argb_sse2.c +62 -0
  426. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.cost.c +412 -0
  427. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.cost_mips32.c +154 -0
  428. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.cost_mips_dsp_r2.c +107 -0
  429. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.cost_sse2.c +121 -0
  430. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.cpu.c +138 -0
  431. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.dec.c +760 -0
  432. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.dec_clip_tables.c +366 -0
  433. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.dec_mips32.c +585 -0
  434. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.dec_mips_dsp_r2.c +992 -0
  435. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.dec_neon.c +1489 -0
  436. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.dec_sse2.c +1284 -0
  437. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.enc.c +788 -0
  438. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.enc_avx2.c +24 -0
  439. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.enc_mips32.c +670 -0
  440. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.enc_mips_dsp_r2.c +1510 -0
  441. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.enc_neon.c +932 -0
  442. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.enc_sse2.c +940 -0
  443. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.filters.c +240 -0
  444. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.filters_mips_dsp_r2.c +404 -0
  445. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.filters_sse2.c +349 -0
  446. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.h +434 -0
  447. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.lossless.c +1838 -0
  448. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.lossless_mips32.c +416 -0
  449. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.lossless_mips_dsp_r2.c +921 -0
  450. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.lossless_neon.c +357 -0
  451. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.lossless_sse2.c +535 -0
  452. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.rescaler.c +115 -0
  453. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.rescaler_mips32.c +192 -0
  454. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.rescaler_mips_dsp_r2.c +210 -0
  455. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.upsampling.c +252 -0
  456. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.upsampling_mips_dsp_r2.c +280 -0
  457. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.upsampling_neon.c +267 -0
  458. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.upsampling_sse2.c +214 -0
  459. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.yuv.c +166 -0
  460. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.yuv_mips32.c +100 -0
  461. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.yuv_mips_dsp_r2.c +131 -0
  462. data/vendor/FreeImage/Source/LibWebP/src/dsp/dsp.yuv_sse2.c +322 -0
  463. data/vendor/FreeImage/Source/LibWebP/src/dsp/lossless.h +313 -0
  464. data/vendor/FreeImage/Source/LibWebP/src/dsp/mips_macro.h +200 -0
  465. data/vendor/FreeImage/Source/LibWebP/src/dsp/neon.h +82 -0
  466. data/vendor/FreeImage/Source/LibWebP/src/dsp/yuv.h +321 -0
  467. data/vendor/FreeImage/Source/LibWebP/src/dsp/yuv_tables_sse2.h +536 -0
  468. data/vendor/FreeImage/Source/LibWebP/src/enc/backward_references.h +202 -0
  469. data/vendor/FreeImage/Source/LibWebP/src/enc/cost.h +69 -0
  470. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.alpha.c +440 -0
  471. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.analysis.c +501 -0
  472. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.backward_references.c +1076 -0
  473. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.config.c +163 -0
  474. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.cost.c +355 -0
  475. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.filter.c +296 -0
  476. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.frame.c +850 -0
  477. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.histogram.c +897 -0
  478. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.iterator.c +456 -0
  479. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.near_lossless.c +160 -0
  480. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.picture.c +290 -0
  481. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.picture_csp.c +1100 -0
  482. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.picture_psnr.c +150 -0
  483. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.picture_rescale.c +285 -0
  484. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.picture_tools.c +206 -0
  485. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.quant.c +1191 -0
  486. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.syntax.c +383 -0
  487. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.token.c +285 -0
  488. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.tree.c +504 -0
  489. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.vp8l.c +1437 -0
  490. data/vendor/FreeImage/Source/LibWebP/src/enc/enc.webpenc.c +379 -0
  491. data/vendor/FreeImage/Source/LibWebP/src/enc/histogram.h +114 -0
  492. data/vendor/FreeImage/Source/LibWebP/src/enc/vp8enci.h +551 -0
  493. data/vendor/FreeImage/Source/LibWebP/src/enc/vp8li.h +78 -0
  494. data/vendor/FreeImage/Source/LibWebP/src/mux/mux.anim_encode.c +1241 -0
  495. data/vendor/FreeImage/Source/LibWebP/src/mux/mux.muxedit.c +696 -0
  496. data/vendor/FreeImage/Source/LibWebP/src/mux/mux.muxinternal.c +551 -0
  497. data/vendor/FreeImage/Source/LibWebP/src/mux/mux.muxread.c +544 -0
  498. data/vendor/FreeImage/Source/LibWebP/src/mux/muxi.h +232 -0
  499. data/vendor/FreeImage/Source/LibWebP/src/utils/bit_reader.h +168 -0
  500. data/vendor/FreeImage/Source/LibWebP/src/utils/bit_reader_inl.h +172 -0
  501. data/vendor/FreeImage/Source/LibWebP/src/utils/bit_writer.h +120 -0
  502. data/vendor/FreeImage/Source/LibWebP/src/utils/color_cache.h +74 -0
  503. data/vendor/FreeImage/Source/LibWebP/src/utils/endian_inl.h +100 -0
  504. data/vendor/FreeImage/Source/LibWebP/src/utils/filters.h +32 -0
  505. data/vendor/FreeImage/Source/LibWebP/src/utils/huffman.h +67 -0
  506. data/vendor/FreeImage/Source/LibWebP/src/utils/huffman_encode.h +60 -0
  507. data/vendor/FreeImage/Source/LibWebP/src/utils/quant_levels.h +36 -0
  508. data/vendor/FreeImage/Source/LibWebP/src/utils/quant_levels_dec.h +35 -0
  509. data/vendor/FreeImage/Source/LibWebP/src/utils/random.h +63 -0
  510. data/vendor/FreeImage/Source/LibWebP/src/utils/rescaler.h +78 -0
  511. data/vendor/FreeImage/Source/LibWebP/src/utils/thread.h +93 -0
  512. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.bit_reader.c +208 -0
  513. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.bit_writer.c +308 -0
  514. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.color_cache.c +49 -0
  515. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.filters.c +76 -0
  516. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.h +121 -0
  517. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.huffman.c +205 -0
  518. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.huffman_encode.c +417 -0
  519. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.quant_levels.c +140 -0
  520. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.quant_levels_dec.c +279 -0
  521. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.random.c +43 -0
  522. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.rescaler.c +82 -0
  523. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.thread.c +309 -0
  524. data/vendor/FreeImage/Source/LibWebP/src/utils/utils.utils.c +211 -0
  525. data/vendor/FreeImage/Source/LibWebP/src/webp/decode.h +493 -0
  526. data/vendor/FreeImage/Source/LibWebP/src/webp/demux.h +224 -0
  527. data/vendor/FreeImage/Source/LibWebP/src/webp/encode.h +515 -0
  528. data/vendor/FreeImage/Source/LibWebP/src/webp/format_constants.h +88 -0
  529. data/vendor/FreeImage/Source/LibWebP/src/webp/mux.h +507 -0
  530. data/vendor/FreeImage/Source/LibWebP/src/webp/mux_types.h +97 -0
  531. data/vendor/FreeImage/Source/LibWebP/src/webp/types.h +52 -0
  532. data/vendor/FreeImage/Source/MapIntrospector.h +212 -0
  533. data/vendor/FreeImage/Source/Metadata/Exif.cpp +1253 -0
  534. data/vendor/FreeImage/Source/Metadata/FIRational.cpp +176 -0
  535. data/vendor/FreeImage/Source/Metadata/FIRational.h +108 -0
  536. data/vendor/FreeImage/Source/Metadata/FreeImageTag.cpp +353 -0
  537. data/vendor/FreeImage/Source/Metadata/FreeImageTag.h +500 -0
  538. data/vendor/FreeImage/Source/Metadata/IPTC.cpp +342 -0
  539. data/vendor/FreeImage/Source/Metadata/TagConversion.cpp +1094 -0
  540. data/vendor/FreeImage/Source/Metadata/TagLib.cpp +1618 -0
  541. data/vendor/FreeImage/Source/Metadata/XTIFF.cpp +766 -0
  542. data/vendor/FreeImage/Source/OpenEXR/Half/eLut.cpp +114 -0
  543. data/vendor/FreeImage/Source/OpenEXR/Half/eLut.h +71 -0
  544. data/vendor/FreeImage/Source/OpenEXR/Half/half.cpp +310 -0
  545. data/vendor/FreeImage/Source/OpenEXR/Half/half.h +757 -0
  546. data/vendor/FreeImage/Source/OpenEXR/Half/halfExport.h +27 -0
  547. data/vendor/FreeImage/Source/OpenEXR/Half/halfFunction.h +179 -0
  548. data/vendor/FreeImage/Source/OpenEXR/Half/halfLimits.h +102 -0
  549. data/vendor/FreeImage/Source/OpenEXR/Half/toFloat.cpp +164 -0
  550. data/vendor/FreeImage/Source/OpenEXR/Half/toFloat.h +16391 -0
  551. data/vendor/FreeImage/Source/OpenEXR/Iex/Iex.h +60 -0
  552. data/vendor/FreeImage/Source/OpenEXR/Iex/IexBaseExc.cpp +156 -0
  553. data/vendor/FreeImage/Source/OpenEXR/Iex/IexBaseExc.h +264 -0
  554. data/vendor/FreeImage/Source/OpenEXR/Iex/IexErrnoExc.h +208 -0
  555. data/vendor/FreeImage/Source/OpenEXR/Iex/IexExport.h +51 -0
  556. data/vendor/FreeImage/Source/OpenEXR/Iex/IexForward.h +229 -0
  557. data/vendor/FreeImage/Source/OpenEXR/Iex/IexMacros.h +170 -0
  558. data/vendor/FreeImage/Source/OpenEXR/Iex/IexMathExc.h +57 -0
  559. data/vendor/FreeImage/Source/OpenEXR/Iex/IexNamespace.h +112 -0
  560. data/vendor/FreeImage/Source/OpenEXR/Iex/IexThrowErrnoExc.cpp +873 -0
  561. data/vendor/FreeImage/Source/OpenEXR/Iex/IexThrowErrnoExc.h +97 -0
  562. data/vendor/FreeImage/Source/OpenEXR/IexMath/IexMathFloatExc.cpp +113 -0
  563. data/vendor/FreeImage/Source/OpenEXR/IexMath/IexMathFloatExc.h +146 -0
  564. data/vendor/FreeImage/Source/OpenEXR/IexMath/IexMathFpu.cpp +530 -0
  565. data/vendor/FreeImage/Source/OpenEXR/IexMath/IexMathFpu.h +91 -0
  566. data/vendor/FreeImage/Source/OpenEXR/IexMath/IexMathIeeeExc.h +62 -0
  567. data/vendor/FreeImage/Source/OpenEXR/IlmBaseConfig.h +61 -0
  568. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfAcesFile.cpp +633 -0
  569. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfAcesFile.h +324 -0
  570. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfArray.h +285 -0
  571. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfAttribute.cpp +158 -0
  572. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfAttribute.h +407 -0
  573. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfAutoArray.h +95 -0
  574. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfB44Compressor.cpp +1072 -0
  575. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfB44Compressor.h +118 -0
  576. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfBoxAttribute.cpp +111 -0
  577. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfBoxAttribute.h +87 -0
  578. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfCRgbaFile.cpp +1438 -0
  579. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfCRgbaFile.h +555 -0
  580. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfChannelList.cpp +322 -0
  581. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfChannelList.h +436 -0
  582. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfChannelListAttribute.cpp +150 -0
  583. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfChannelListAttribute.h +74 -0
  584. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfCheckedArithmetic.h +163 -0
  585. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfChromaticities.cpp +151 -0
  586. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfChromaticities.h +131 -0
  587. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfChromaticitiesAttribute.cpp +87 -0
  588. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfChromaticitiesAttribute.h +73 -0
  589. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfCompositeDeepScanLine.cpp +591 -0
  590. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfCompositeDeepScanLine.h +142 -0
  591. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfCompression.h +84 -0
  592. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfCompressionAttribute.cpp +78 -0
  593. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfCompressionAttribute.h +64 -0
  594. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfCompressor.cpp +226 -0
  595. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfCompressor.h +265 -0
  596. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfConvert.cpp +143 -0
  597. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfConvert.h +107 -0
  598. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepCompositing.cpp +110 -0
  599. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepCompositing.h +132 -0
  600. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepFrameBuffer.cpp +230 -0
  601. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepFrameBuffer.h +339 -0
  602. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepImageState.h +96 -0
  603. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepImageStateAttribute.cpp +78 -0
  604. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepImageStateAttribute.h +68 -0
  605. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepScanLineInputFile.cpp +2025 -0
  606. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepScanLineInputFile.h +276 -0
  607. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepScanLineInputPart.cpp +149 -0
  608. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepScanLineInputPart.h +181 -0
  609. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepScanLineOutputFile.cpp +1552 -0
  610. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepScanLineOutputFile.h +244 -0
  611. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepScanLineOutputPart.cpp +107 -0
  612. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepScanLineOutputPart.h +168 -0
  613. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepTiledInputFile.cpp +1979 -0
  614. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepTiledInputFile.h +437 -0
  615. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepTiledInputPart.cpp +273 -0
  616. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepTiledInputPart.h +362 -0
  617. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepTiledOutputFile.cpp +2055 -0
  618. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepTiledOutputFile.h +475 -0
  619. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepTiledOutputPart.cpp +250 -0
  620. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDeepTiledOutputPart.h +394 -0
  621. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDoubleAttribute.cpp +57 -0
  622. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDoubleAttribute.h +59 -0
  623. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDwaCompressor.cpp +3424 -0
  624. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDwaCompressor.h +210 -0
  625. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfDwaCompressorSimd.h +2145 -0
  626. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfEnvmap.cpp +335 -0
  627. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfEnvmap.h +336 -0
  628. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfEnvmapAttribute.cpp +76 -0
  629. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfEnvmapAttribute.h +68 -0
  630. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfExport.h +46 -0
  631. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfFastHuf.cpp +768 -0
  632. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfFastHuf.h +148 -0
  633. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfFloatAttribute.cpp +57 -0
  634. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfFloatAttribute.h +58 -0
  635. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfFloatVectorAttribute.cpp +84 -0
  636. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfFloatVectorAttribute.h +76 -0
  637. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfForward.h +127 -0
  638. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfFrameBuffer.cpp +228 -0
  639. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfFrameBuffer.h +386 -0
  640. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfFramesPerSecond.cpp +76 -0
  641. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfFramesPerSecond.h +94 -0
  642. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfGenericInputFile.cpp +76 -0
  643. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfGenericInputFile.h +58 -0
  644. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfGenericOutputFile.cpp +112 -0
  645. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfGenericOutputFile.h +62 -0
  646. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfHeader.cpp +1283 -0
  647. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfHeader.h +699 -0
  648. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfHuf.cpp +1114 -0
  649. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfHuf.h +82 -0
  650. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfIO.cpp +110 -0
  651. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfIO.h +255 -0
  652. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfInputFile.cpp +895 -0
  653. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfInputFile.h +240 -0
  654. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfInputPart.cpp +114 -0
  655. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfInputPart.h +84 -0
  656. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfInputPartData.cpp +51 -0
  657. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfInputPartData.h +69 -0
  658. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfInputStreamMutex.h +68 -0
  659. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfInt64.h +56 -0
  660. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfIntAttribute.cpp +57 -0
  661. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfIntAttribute.h +58 -0
  662. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfKeyCode.cpp +217 -0
  663. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfKeyCode.h +167 -0
  664. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfKeyCodeAttribute.cpp +99 -0
  665. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfKeyCodeAttribute.h +73 -0
  666. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfLineOrder.h +69 -0
  667. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfLineOrderAttribute.cpp +78 -0
  668. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfLineOrderAttribute.h +72 -0
  669. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfLut.cpp +178 -0
  670. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfLut.h +188 -0
  671. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfMatrixAttribute.cpp +263 -0
  672. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfMatrixAttribute.h +83 -0
  673. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfMisc.cpp +1872 -0
  674. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfMisc.h +466 -0
  675. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfMultiPartInputFile.cpp +783 -0
  676. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfMultiPartInputFile.h +128 -0
  677. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfMultiPartOutputFile.cpp +519 -0
  678. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfMultiPartOutputFile.h +118 -0
  679. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfMultiView.cpp +435 -0
  680. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfMultiView.h +187 -0
  681. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfName.h +150 -0
  682. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfNamespace.h +115 -0
  683. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfOpaqueAttribute.cpp +126 -0
  684. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfOpaqueAttribute.h +110 -0
  685. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfOptimizedPixelReading.h +646 -0
  686. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfOutputFile.cpp +1378 -0
  687. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfOutputFile.h +263 -0
  688. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfOutputPart.cpp +105 -0
  689. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfOutputPart.h +77 -0
  690. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfOutputPartData.cpp +52 -0
  691. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfOutputPartData.h +62 -0
  692. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfOutputStreamMutex.h +70 -0
  693. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfPartHelper.h +262 -0
  694. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfPartType.cpp +63 -0
  695. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfPartType.h +62 -0
  696. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfPixelType.h +67 -0
  697. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfPizCompressor.cpp +667 -0
  698. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfPizCompressor.h +117 -0
  699. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfPreviewImage.cpp +104 -0
  700. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfPreviewImage.h +135 -0
  701. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfPreviewImageAttribute.cpp +103 -0
  702. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfPreviewImageAttribute.h +70 -0
  703. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfPxr24Compressor.cpp +553 -0
  704. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfPxr24Compressor.h +109 -0
  705. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRational.cpp +127 -0
  706. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRational.h +98 -0
  707. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRationalAttribute.cpp +74 -0
  708. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRationalAttribute.h +69 -0
  709. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRgba.h +109 -0
  710. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRgbaFile.cpp +1405 -0
  711. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRgbaFile.h +346 -0
  712. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRgbaYca.cpp +497 -0
  713. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRgbaYca.h +259 -0
  714. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRle.cpp +157 -0
  715. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRle.h +63 -0
  716. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRleCompressor.cpp +220 -0
  717. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfRleCompressor.h +80 -0
  718. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfScanLineInputFile.cpp +1702 -0
  719. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfScanLineInputFile.h +210 -0
  720. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfSimd.h +59 -0
  721. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfStandardAttributes.cpp +125 -0
  722. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfStandardAttributes.h +382 -0
  723. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfStdIO.cpp +242 -0
  724. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfStdIO.h +160 -0
  725. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfStringAttribute.cpp +80 -0
  726. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfStringAttribute.h +71 -0
  727. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfStringVectorAttribute.cpp +100 -0
  728. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfStringVectorAttribute.h +74 -0
  729. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfSystemSpecific.cpp +129 -0
  730. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfSystemSpecific.h +172 -0
  731. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTestFile.cpp +216 -0
  732. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTestFile.h +97 -0
  733. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfThreading.cpp +62 -0
  734. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfThreading.h +95 -0
  735. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTileDescription.h +107 -0
  736. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTileDescriptionAttribute.cpp +86 -0
  737. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTileDescriptionAttribute.h +72 -0
  738. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTileOffsets.cpp +552 -0
  739. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTileOffsets.h +125 -0
  740. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTiledInputFile.cpp +1533 -0
  741. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTiledInputFile.h +401 -0
  742. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTiledInputPart.cpp +208 -0
  743. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTiledInputPart.h +100 -0
  744. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTiledMisc.cpp +389 -0
  745. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTiledMisc.h +106 -0
  746. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTiledOutputFile.cpp +1841 -0
  747. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTiledOutputFile.h +495 -0
  748. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTiledOutputPart.cpp +228 -0
  749. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTiledOutputPart.h +105 -0
  750. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTiledRgbaFile.cpp +1163 -0
  751. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTiledRgbaFile.h +482 -0
  752. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTimeCode.cpp +431 -0
  753. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTimeCode.h +242 -0
  754. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTimeCodeAttribute.cpp +79 -0
  755. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfTimeCodeAttribute.h +74 -0
  756. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfVecAttribute.cpp +217 -0
  757. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfVecAttribute.h +100 -0
  758. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfVersion.cpp +60 -0
  759. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfVersion.h +136 -0
  760. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfWav.cpp +391 -0
  761. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfWav.h +78 -0
  762. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfXdr.h +927 -0
  763. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfZip.cpp +196 -0
  764. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfZip.h +78 -0
  765. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfZipCompressor.cpp +127 -0
  766. data/vendor/FreeImage/Source/OpenEXR/IlmImf/ImfZipCompressor.h +89 -0
  767. data/vendor/FreeImage/Source/OpenEXR/IlmImf/b44ExpLogTable.cpp +136 -0
  768. data/vendor/FreeImage/Source/OpenEXR/IlmImf/b44ExpLogTable.h +16396 -0
  769. data/vendor/FreeImage/Source/OpenEXR/IlmImf/dwaLookups.cpp +573 -0
  770. data/vendor/FreeImage/Source/OpenEXR/IlmImf/dwaLookups.h +98334 -0
  771. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThread.cpp +80 -0
  772. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThread.h +143 -0
  773. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadExport.h +46 -0
  774. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadForward.h +52 -0
  775. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadMutex.cpp +59 -0
  776. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadMutex.h +160 -0
  777. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadMutexPosix.cpp +85 -0
  778. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadMutexWin32.cpp +79 -0
  779. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadNamespace.h +114 -0
  780. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadPool.cpp +483 -0
  781. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadPool.h +160 -0
  782. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadPosix.cpp +98 -0
  783. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadSemaphore.cpp +60 -0
  784. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadSemaphore.h +112 -0
  785. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadSemaphorePosix.cpp +106 -0
  786. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadSemaphorePosixCompat.cpp +155 -0
  787. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadSemaphoreWin32.cpp +153 -0
  788. data/vendor/FreeImage/Source/OpenEXR/IlmThread/IlmThreadWin32.cpp +100 -0
  789. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathBox.cpp +37 -0
  790. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathBox.h +849 -0
  791. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathBoxAlgo.h +1016 -0
  792. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathColor.h +736 -0
  793. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathColorAlgo.cpp +178 -0
  794. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathColorAlgo.h +257 -0
  795. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathEuler.h +926 -0
  796. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathExc.h +73 -0
  797. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathExport.h +46 -0
  798. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathForward.h +72 -0
  799. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathFrame.h +192 -0
  800. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathFrustum.h +741 -0
  801. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathFrustumTest.h +417 -0
  802. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathFun.cpp +181 -0
  803. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathFun.h +269 -0
  804. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathGL.h +166 -0
  805. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathGLU.h +54 -0
  806. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathHalfLimits.h +68 -0
  807. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathInt64.h +62 -0
  808. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathInterval.h +226 -0
  809. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathLimits.h +268 -0
  810. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathLine.h +185 -0
  811. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathLineAlgo.h +288 -0
  812. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathMath.h +208 -0
  813. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathMatrix.h +3441 -0
  814. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathMatrixAlgo.cpp +1252 -0
  815. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathMatrixAlgo.h +1425 -0
  816. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathNamespace.h +115 -0
  817. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathPlane.h +257 -0
  818. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathPlatform.h +112 -0
  819. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathQuat.h +964 -0
  820. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathRandom.cpp +194 -0
  821. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathRandom.h +401 -0
  822. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathRoots.h +219 -0
  823. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathShear.cpp +54 -0
  824. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathShear.h +656 -0
  825. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathSphere.h +177 -0
  826. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathVec.cpp +583 -0
  827. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathVec.h +2227 -0
  828. data/vendor/FreeImage/Source/OpenEXR/Imath/ImathVecAlgo.h +147 -0
  829. data/vendor/FreeImage/Source/OpenEXR/OpenEXRConfig.h +72 -0
  830. data/vendor/FreeImage/Source/Plugin.h +144 -0
  831. data/vendor/FreeImage/Source/Quantizers.h +354 -0
  832. data/vendor/FreeImage/Source/ToneMapping.h +44 -0
  833. data/vendor/FreeImage/Source/Utilities.h +516 -0
  834. data/vendor/FreeImage/Source/ZLib/adler32.c +179 -0
  835. data/vendor/FreeImage/Source/ZLib/compress.c +80 -0
  836. data/vendor/FreeImage/Source/ZLib/crc32.c +425 -0
  837. data/vendor/FreeImage/Source/ZLib/crc32.h +441 -0
  838. data/vendor/FreeImage/Source/ZLib/deflate.c +1967 -0
  839. data/vendor/FreeImage/Source/ZLib/deflate.h +346 -0
  840. data/vendor/FreeImage/Source/ZLib/gzclose.c +25 -0
  841. data/vendor/FreeImage/Source/ZLib/gzguts.h +209 -0
  842. data/vendor/FreeImage/Source/ZLib/gzlib.c +634 -0
  843. data/vendor/FreeImage/Source/ZLib/gzread.c +594 -0
  844. data/vendor/FreeImage/Source/ZLib/gzwrite.c +577 -0
  845. data/vendor/FreeImage/Source/ZLib/infback.c +640 -0
  846. data/vendor/FreeImage/Source/ZLib/inffast.c +340 -0
  847. data/vendor/FreeImage/Source/ZLib/inffast.h +11 -0
  848. data/vendor/FreeImage/Source/ZLib/inffixed.h +94 -0
  849. data/vendor/FreeImage/Source/ZLib/inflate.c +1512 -0
  850. data/vendor/FreeImage/Source/ZLib/inflate.h +122 -0
  851. data/vendor/FreeImage/Source/ZLib/inftrees.c +306 -0
  852. data/vendor/FreeImage/Source/ZLib/inftrees.h +62 -0
  853. data/vendor/FreeImage/Source/ZLib/trees.c +1226 -0
  854. data/vendor/FreeImage/Source/ZLib/trees.h +128 -0
  855. data/vendor/FreeImage/Source/ZLib/uncompr.c +59 -0
  856. data/vendor/FreeImage/Source/ZLib/zconf.h +511 -0
  857. data/vendor/FreeImage/Source/ZLib/zlib.h +1768 -0
  858. data/vendor/FreeImage/Source/ZLib/zutil.c +324 -0
  859. data/vendor/FreeImage/Source/ZLib/zutil.h +253 -0
  860. metadata +931 -0
@@ -0,0 +1,681 @@
1
+ /* $Id: tiff.h,v 1.11 2015/02/19 22:39:59 drolon Exp $ */
2
+
3
+ /*
4
+ * Copyright (c) 1988-1997 Sam Leffler
5
+ * Copyright (c) 1991-1997 Silicon Graphics, Inc.
6
+ *
7
+ * Permission to use, copy, modify, distribute, and sell this software and
8
+ * its documentation for any purpose is hereby granted without fee, provided
9
+ * that (i) the above copyright notices and this permission notice appear in
10
+ * all copies of the software and related documentation, and (ii) the names of
11
+ * Sam Leffler and Silicon Graphics may not be used in any advertising or
12
+ * publicity relating to the software without the specific, prior written
13
+ * permission of Sam Leffler and Silicon Graphics.
14
+ *
15
+ * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
16
+ * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
17
+ * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
18
+ *
19
+ * IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
20
+ * ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
21
+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
22
+ * WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
23
+ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
24
+ * OF THIS SOFTWARE.
25
+ */
26
+
27
+ #ifndef _TIFF_
28
+ #define _TIFF_
29
+
30
+ #include "tiffconf.h"
31
+
32
+ /*
33
+ * Tag Image File Format (TIFF)
34
+ *
35
+ * Based on Rev 6.0 from:
36
+ * Developer's Desk
37
+ * Aldus Corporation
38
+ * 411 First Ave. South
39
+ * Suite 200
40
+ * Seattle, WA 98104
41
+ * 206-622-5500
42
+ *
43
+ * (http://partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf)
44
+ *
45
+ * For BigTIFF design notes see the following links
46
+ * http://www.remotesensing.org/libtiff/bigtiffdesign.html
47
+ * http://www.awaresystems.be/imaging/tiff/bigtiff.html
48
+ */
49
+
50
+ #define TIFF_VERSION_CLASSIC 42
51
+ #define TIFF_VERSION_BIG 43
52
+
53
+ #define TIFF_BIGENDIAN 0x4d4d
54
+ #define TIFF_LITTLEENDIAN 0x4949
55
+ #define MDI_LITTLEENDIAN 0x5045
56
+ #define MDI_BIGENDIAN 0x4550
57
+
58
+ /*
59
+ * Intrinsic data types required by the file format:
60
+ *
61
+ * 8-bit quantities int8/uint8
62
+ * 16-bit quantities int16/uint16
63
+ * 32-bit quantities int32/uint32
64
+ * 64-bit quantities int64/uint64
65
+ * strings unsigned char*
66
+ */
67
+
68
+ typedef TIFF_INT8_T int8;
69
+ typedef TIFF_UINT8_T uint8;
70
+
71
+ typedef TIFF_INT16_T int16;
72
+ typedef TIFF_UINT16_T uint16;
73
+
74
+ typedef TIFF_INT32_T int32;
75
+ typedef TIFF_UINT32_T uint32;
76
+
77
+ typedef TIFF_INT64_T int64;
78
+ typedef TIFF_UINT64_T uint64;
79
+
80
+ /*
81
+ * Some types as promoted in a variable argument list
82
+ * We use uint16_vap rather then directly using int, because this way
83
+ * we document the type we actually want to pass through, conceptually,
84
+ * rather then confusing the issue by merely stating the type it gets
85
+ * promoted to
86
+ */
87
+
88
+ typedef int uint16_vap;
89
+
90
+ /*
91
+ * TIFF header.
92
+ */
93
+ typedef struct {
94
+ uint16 tiff_magic; /* magic number (defines byte order) */
95
+ uint16 tiff_version; /* TIFF version number */
96
+ } TIFFHeaderCommon;
97
+ typedef struct {
98
+ uint16 tiff_magic; /* magic number (defines byte order) */
99
+ uint16 tiff_version; /* TIFF version number */
100
+ uint32 tiff_diroff; /* byte offset to first directory */
101
+ } TIFFHeaderClassic;
102
+ typedef struct {
103
+ uint16 tiff_magic; /* magic number (defines byte order) */
104
+ uint16 tiff_version; /* TIFF version number */
105
+ uint16 tiff_offsetsize; /* size of offsets, should be 8 */
106
+ uint16 tiff_unused; /* unused word, should be 0 */
107
+ uint64 tiff_diroff; /* byte offset to first directory */
108
+ } TIFFHeaderBig;
109
+
110
+
111
+ /*
112
+ * NB: In the comments below,
113
+ * - items marked with a + are obsoleted by revision 5.0,
114
+ * - items marked with a ! are introduced in revision 6.0.
115
+ * - items marked with a % are introduced post revision 6.0.
116
+ * - items marked with a $ are obsoleted by revision 6.0.
117
+ * - items marked with a & are introduced by Adobe DNG specification.
118
+ */
119
+
120
+ /*
121
+ * Tag data type information.
122
+ *
123
+ * Note: RATIONALs are the ratio of two 32-bit integer values.
124
+ */
125
+ typedef enum {
126
+ TIFF_NOTYPE = 0, /* placeholder */
127
+ TIFF_BYTE = 1, /* 8-bit unsigned integer */
128
+ TIFF_ASCII = 2, /* 8-bit bytes w/ last byte null */
129
+ TIFF_SHORT = 3, /* 16-bit unsigned integer */
130
+ TIFF_LONG = 4, /* 32-bit unsigned integer */
131
+ TIFF_RATIONAL = 5, /* 64-bit unsigned fraction */
132
+ TIFF_SBYTE = 6, /* !8-bit signed integer */
133
+ TIFF_UNDEFINED = 7, /* !8-bit untyped data */
134
+ TIFF_SSHORT = 8, /* !16-bit signed integer */
135
+ TIFF_SLONG = 9, /* !32-bit signed integer */
136
+ TIFF_SRATIONAL = 10, /* !64-bit signed fraction */
137
+ TIFF_FLOAT = 11, /* !32-bit IEEE floating point */
138
+ TIFF_DOUBLE = 12, /* !64-bit IEEE floating point */
139
+ TIFF_IFD = 13, /* %32-bit unsigned integer (offset) */
140
+ TIFF_LONG8 = 16, /* BigTIFF 64-bit unsigned integer */
141
+ TIFF_SLONG8 = 17, /* BigTIFF 64-bit signed integer */
142
+ TIFF_IFD8 = 18 /* BigTIFF 64-bit unsigned integer (offset) */
143
+ } TIFFDataType;
144
+
145
+ /*
146
+ * TIFF Tag Definitions.
147
+ */
148
+ #define TIFFTAG_SUBFILETYPE 254 /* subfile data descriptor */
149
+ #define FILETYPE_REDUCEDIMAGE 0x1 /* reduced resolution version */
150
+ #define FILETYPE_PAGE 0x2 /* one page of many */
151
+ #define FILETYPE_MASK 0x4 /* transparency mask */
152
+ #define TIFFTAG_OSUBFILETYPE 255 /* +kind of data in subfile */
153
+ #define OFILETYPE_IMAGE 1 /* full resolution image data */
154
+ #define OFILETYPE_REDUCEDIMAGE 2 /* reduced size image data */
155
+ #define OFILETYPE_PAGE 3 /* one page of many */
156
+ #define TIFFTAG_IMAGEWIDTH 256 /* image width in pixels */
157
+ #define TIFFTAG_IMAGELENGTH 257 /* image height in pixels */
158
+ #define TIFFTAG_BITSPERSAMPLE 258 /* bits per channel (sample) */
159
+ #define TIFFTAG_COMPRESSION 259 /* data compression technique */
160
+ #define COMPRESSION_NONE 1 /* dump mode */
161
+ #define COMPRESSION_CCITTRLE 2 /* CCITT modified Huffman RLE */
162
+ #define COMPRESSION_CCITTFAX3 3 /* CCITT Group 3 fax encoding */
163
+ #define COMPRESSION_CCITT_T4 3 /* CCITT T.4 (TIFF 6 name) */
164
+ #define COMPRESSION_CCITTFAX4 4 /* CCITT Group 4 fax encoding */
165
+ #define COMPRESSION_CCITT_T6 4 /* CCITT T.6 (TIFF 6 name) */
166
+ #define COMPRESSION_LZW 5 /* Lempel-Ziv & Welch */
167
+ #define COMPRESSION_OJPEG 6 /* !6.0 JPEG */
168
+ #define COMPRESSION_JPEG 7 /* %JPEG DCT compression */
169
+ #define COMPRESSION_T85 9 /* !TIFF/FX T.85 JBIG compression */
170
+ #define COMPRESSION_T43 10 /* !TIFF/FX T.43 colour by layered JBIG compression */
171
+ #define COMPRESSION_NEXT 32766 /* NeXT 2-bit RLE */
172
+ #define COMPRESSION_CCITTRLEW 32771 /* #1 w/ word alignment */
173
+ #define COMPRESSION_PACKBITS 32773 /* Macintosh RLE */
174
+ #define COMPRESSION_THUNDERSCAN 32809 /* ThunderScan RLE */
175
+ /* codes 32895-32898 are reserved for ANSI IT8 TIFF/IT <dkelly@apago.com) */
176
+ #define COMPRESSION_IT8CTPAD 32895 /* IT8 CT w/padding */
177
+ #define COMPRESSION_IT8LW 32896 /* IT8 Linework RLE */
178
+ #define COMPRESSION_IT8MP 32897 /* IT8 Monochrome picture */
179
+ #define COMPRESSION_IT8BL 32898 /* IT8 Binary line art */
180
+ /* compression codes 32908-32911 are reserved for Pixar */
181
+ #define COMPRESSION_PIXARFILM 32908 /* Pixar companded 10bit LZW */
182
+ #define COMPRESSION_PIXARLOG 32909 /* Pixar companded 11bit ZIP */
183
+ #define COMPRESSION_DEFLATE 32946 /* Deflate compression */
184
+ #define COMPRESSION_ADOBE_DEFLATE 8 /* Deflate compression,
185
+ as recognized by Adobe */
186
+ /* compression code 32947 is reserved for Oceana Matrix <dev@oceana.com> */
187
+ #define COMPRESSION_DCS 32947 /* Kodak DCS encoding */
188
+ #define COMPRESSION_JBIG 34661 /* ISO JBIG */
189
+ #define COMPRESSION_SGILOG 34676 /* SGI Log Luminance RLE */
190
+ #define COMPRESSION_SGILOG24 34677 /* SGI Log 24-bit packed */
191
+ #define COMPRESSION_JP2000 34712 /* Leadtools JPEG2000 */
192
+ #define COMPRESSION_LZMA 34925 /* LZMA2 */
193
+ #define TIFFTAG_PHOTOMETRIC 262 /* photometric interpretation */
194
+ #define PHOTOMETRIC_MINISWHITE 0 /* min value is white */
195
+ #define PHOTOMETRIC_MINISBLACK 1 /* min value is black */
196
+ #define PHOTOMETRIC_RGB 2 /* RGB color model */
197
+ #define PHOTOMETRIC_PALETTE 3 /* color map indexed */
198
+ #define PHOTOMETRIC_MASK 4 /* $holdout mask */
199
+ #define PHOTOMETRIC_SEPARATED 5 /* !color separations */
200
+ #define PHOTOMETRIC_YCBCR 6 /* !CCIR 601 */
201
+ #define PHOTOMETRIC_CIELAB 8 /* !1976 CIE L*a*b* */
202
+ #define PHOTOMETRIC_ICCLAB 9 /* ICC L*a*b* [Adobe TIFF Technote 4] */
203
+ #define PHOTOMETRIC_ITULAB 10 /* ITU L*a*b* */
204
+ #define PHOTOMETRIC_CFA 32803 /* color filter array */
205
+ #define PHOTOMETRIC_LOGL 32844 /* CIE Log2(L) */
206
+ #define PHOTOMETRIC_LOGLUV 32845 /* CIE Log2(L) (u',v') */
207
+ #define TIFFTAG_THRESHHOLDING 263 /* +thresholding used on data */
208
+ #define THRESHHOLD_BILEVEL 1 /* b&w art scan */
209
+ #define THRESHHOLD_HALFTONE 2 /* or dithered scan */
210
+ #define THRESHHOLD_ERRORDIFFUSE 3 /* usually floyd-steinberg */
211
+ #define TIFFTAG_CELLWIDTH 264 /* +dithering matrix width */
212
+ #define TIFFTAG_CELLLENGTH 265 /* +dithering matrix height */
213
+ #define TIFFTAG_FILLORDER 266 /* data order within a byte */
214
+ #define FILLORDER_MSB2LSB 1 /* most significant -> least */
215
+ #define FILLORDER_LSB2MSB 2 /* least significant -> most */
216
+ #define TIFFTAG_DOCUMENTNAME 269 /* name of doc. image is from */
217
+ #define TIFFTAG_IMAGEDESCRIPTION 270 /* info about image */
218
+ #define TIFFTAG_MAKE 271 /* scanner manufacturer name */
219
+ #define TIFFTAG_MODEL 272 /* scanner model name/number */
220
+ #define TIFFTAG_STRIPOFFSETS 273 /* offsets to data strips */
221
+ #define TIFFTAG_ORIENTATION 274 /* +image orientation */
222
+ #define ORIENTATION_TOPLEFT 1 /* row 0 top, col 0 lhs */
223
+ #define ORIENTATION_TOPRIGHT 2 /* row 0 top, col 0 rhs */
224
+ #define ORIENTATION_BOTRIGHT 3 /* row 0 bottom, col 0 rhs */
225
+ #define ORIENTATION_BOTLEFT 4 /* row 0 bottom, col 0 lhs */
226
+ #define ORIENTATION_LEFTTOP 5 /* row 0 lhs, col 0 top */
227
+ #define ORIENTATION_RIGHTTOP 6 /* row 0 rhs, col 0 top */
228
+ #define ORIENTATION_RIGHTBOT 7 /* row 0 rhs, col 0 bottom */
229
+ #define ORIENTATION_LEFTBOT 8 /* row 0 lhs, col 0 bottom */
230
+ #define TIFFTAG_SAMPLESPERPIXEL 277 /* samples per pixel */
231
+ #define TIFFTAG_ROWSPERSTRIP 278 /* rows per strip of data */
232
+ #define TIFFTAG_STRIPBYTECOUNTS 279 /* bytes counts for strips */
233
+ #define TIFFTAG_MINSAMPLEVALUE 280 /* +minimum sample value */
234
+ #define TIFFTAG_MAXSAMPLEVALUE 281 /* +maximum sample value */
235
+ #define TIFFTAG_XRESOLUTION 282 /* pixels/resolution in x */
236
+ #define TIFFTAG_YRESOLUTION 283 /* pixels/resolution in y */
237
+ #define TIFFTAG_PLANARCONFIG 284 /* storage organization */
238
+ #define PLANARCONFIG_CONTIG 1 /* single image plane */
239
+ #define PLANARCONFIG_SEPARATE 2 /* separate planes of data */
240
+ #define TIFFTAG_PAGENAME 285 /* page name image is from */
241
+ #define TIFFTAG_XPOSITION 286 /* x page offset of image lhs */
242
+ #define TIFFTAG_YPOSITION 287 /* y page offset of image lhs */
243
+ #define TIFFTAG_FREEOFFSETS 288 /* +byte offset to free block */
244
+ #define TIFFTAG_FREEBYTECOUNTS 289 /* +sizes of free blocks */
245
+ #define TIFFTAG_GRAYRESPONSEUNIT 290 /* $gray scale curve accuracy */
246
+ #define GRAYRESPONSEUNIT_10S 1 /* tenths of a unit */
247
+ #define GRAYRESPONSEUNIT_100S 2 /* hundredths of a unit */
248
+ #define GRAYRESPONSEUNIT_1000S 3 /* thousandths of a unit */
249
+ #define GRAYRESPONSEUNIT_10000S 4 /* ten-thousandths of a unit */
250
+ #define GRAYRESPONSEUNIT_100000S 5 /* hundred-thousandths */
251
+ #define TIFFTAG_GRAYRESPONSECURVE 291 /* $gray scale response curve */
252
+ #define TIFFTAG_GROUP3OPTIONS 292 /* 32 flag bits */
253
+ #define TIFFTAG_T4OPTIONS 292 /* TIFF 6.0 proper name alias */
254
+ #define GROUP3OPT_2DENCODING 0x1 /* 2-dimensional coding */
255
+ #define GROUP3OPT_UNCOMPRESSED 0x2 /* data not compressed */
256
+ #define GROUP3OPT_FILLBITS 0x4 /* fill to byte boundary */
257
+ #define TIFFTAG_GROUP4OPTIONS 293 /* 32 flag bits */
258
+ #define TIFFTAG_T6OPTIONS 293 /* TIFF 6.0 proper name */
259
+ #define GROUP4OPT_UNCOMPRESSED 0x2 /* data not compressed */
260
+ #define TIFFTAG_RESOLUTIONUNIT 296 /* units of resolutions */
261
+ #define RESUNIT_NONE 1 /* no meaningful units */
262
+ #define RESUNIT_INCH 2 /* english */
263
+ #define RESUNIT_CENTIMETER 3 /* metric */
264
+ #define TIFFTAG_PAGENUMBER 297 /* page numbers of multi-page */
265
+ #define TIFFTAG_COLORRESPONSEUNIT 300 /* $color curve accuracy */
266
+ #define COLORRESPONSEUNIT_10S 1 /* tenths of a unit */
267
+ #define COLORRESPONSEUNIT_100S 2 /* hundredths of a unit */
268
+ #define COLORRESPONSEUNIT_1000S 3 /* thousandths of a unit */
269
+ #define COLORRESPONSEUNIT_10000S 4 /* ten-thousandths of a unit */
270
+ #define COLORRESPONSEUNIT_100000S 5 /* hundred-thousandths */
271
+ #define TIFFTAG_TRANSFERFUNCTION 301 /* !colorimetry info */
272
+ #define TIFFTAG_SOFTWARE 305 /* name & release */
273
+ #define TIFFTAG_DATETIME 306 /* creation date and time */
274
+ #define TIFFTAG_ARTIST 315 /* creator of image */
275
+ #define TIFFTAG_HOSTCOMPUTER 316 /* machine where created */
276
+ #define TIFFTAG_PREDICTOR 317 /* prediction scheme w/ LZW */
277
+ #define PREDICTOR_NONE 1 /* no prediction scheme used */
278
+ #define PREDICTOR_HORIZONTAL 2 /* horizontal differencing */
279
+ #define PREDICTOR_FLOATINGPOINT 3 /* floating point predictor */
280
+ #define TIFFTAG_WHITEPOINT 318 /* image white point */
281
+ #define TIFFTAG_PRIMARYCHROMATICITIES 319 /* !primary chromaticities */
282
+ #define TIFFTAG_COLORMAP 320 /* RGB map for pallette image */
283
+ #define TIFFTAG_HALFTONEHINTS 321 /* !highlight+shadow info */
284
+ #define TIFFTAG_TILEWIDTH 322 /* !tile width in pixels */
285
+ #define TIFFTAG_TILELENGTH 323 /* !tile height in pixels */
286
+ #define TIFFTAG_TILEOFFSETS 324 /* !offsets to data tiles */
287
+ #define TIFFTAG_TILEBYTECOUNTS 325 /* !byte counts for tiles */
288
+ #define TIFFTAG_BADFAXLINES 326 /* lines w/ wrong pixel count */
289
+ #define TIFFTAG_CLEANFAXDATA 327 /* regenerated line info */
290
+ #define CLEANFAXDATA_CLEAN 0 /* no errors detected */
291
+ #define CLEANFAXDATA_REGENERATED 1 /* receiver regenerated lines */
292
+ #define CLEANFAXDATA_UNCLEAN 2 /* uncorrected errors exist */
293
+ #define TIFFTAG_CONSECUTIVEBADFAXLINES 328 /* max consecutive bad lines */
294
+ #define TIFFTAG_SUBIFD 330 /* subimage descriptors */
295
+ #define TIFFTAG_INKSET 332 /* !inks in separated image */
296
+ #define INKSET_CMYK 1 /* !cyan-magenta-yellow-black color */
297
+ #define INKSET_MULTIINK 2 /* !multi-ink or hi-fi color */
298
+ #define TIFFTAG_INKNAMES 333 /* !ascii names of inks */
299
+ #define TIFFTAG_NUMBEROFINKS 334 /* !number of inks */
300
+ #define TIFFTAG_DOTRANGE 336 /* !0% and 100% dot codes */
301
+ #define TIFFTAG_TARGETPRINTER 337 /* !separation target */
302
+ #define TIFFTAG_EXTRASAMPLES 338 /* !info about extra samples */
303
+ #define EXTRASAMPLE_UNSPECIFIED 0 /* !unspecified data */
304
+ #define EXTRASAMPLE_ASSOCALPHA 1 /* !associated alpha data */
305
+ #define EXTRASAMPLE_UNASSALPHA 2 /* !unassociated alpha data */
306
+ #define TIFFTAG_SAMPLEFORMAT 339 /* !data sample format */
307
+ #define SAMPLEFORMAT_UINT 1 /* !unsigned integer data */
308
+ #define SAMPLEFORMAT_INT 2 /* !signed integer data */
309
+ #define SAMPLEFORMAT_IEEEFP 3 /* !IEEE floating point data */
310
+ #define SAMPLEFORMAT_VOID 4 /* !untyped data */
311
+ #define SAMPLEFORMAT_COMPLEXINT 5 /* !complex signed int */
312
+ #define SAMPLEFORMAT_COMPLEXIEEEFP 6 /* !complex ieee floating */
313
+ #define TIFFTAG_SMINSAMPLEVALUE 340 /* !variable MinSampleValue */
314
+ #define TIFFTAG_SMAXSAMPLEVALUE 341 /* !variable MaxSampleValue */
315
+ #define TIFFTAG_CLIPPATH 343 /* %ClipPath
316
+ [Adobe TIFF technote 2] */
317
+ #define TIFFTAG_XCLIPPATHUNITS 344 /* %XClipPathUnits
318
+ [Adobe TIFF technote 2] */
319
+ #define TIFFTAG_YCLIPPATHUNITS 345 /* %YClipPathUnits
320
+ [Adobe TIFF technote 2] */
321
+ #define TIFFTAG_INDEXED 346 /* %Indexed
322
+ [Adobe TIFF Technote 3] */
323
+ #define TIFFTAG_JPEGTABLES 347 /* %JPEG table stream */
324
+ #define TIFFTAG_OPIPROXY 351 /* %OPI Proxy [Adobe TIFF technote] */
325
+ /* Tags 400-435 are from the TIFF/FX spec */
326
+ #define TIFFTAG_GLOBALPARAMETERSIFD 400 /* ! */
327
+ #define TIFFTAG_PROFILETYPE 401 /* ! */
328
+ #define PROFILETYPE_UNSPECIFIED 0 /* ! */
329
+ #define PROFILETYPE_G3_FAX 1 /* ! */
330
+ #define TIFFTAG_FAXPROFILE 402 /* ! */
331
+ #define FAXPROFILE_S 1 /* !TIFF/FX FAX profile S */
332
+ #define FAXPROFILE_F 2 /* !TIFF/FX FAX profile F */
333
+ #define FAXPROFILE_J 3 /* !TIFF/FX FAX profile J */
334
+ #define FAXPROFILE_C 4 /* !TIFF/FX FAX profile C */
335
+ #define FAXPROFILE_L 5 /* !TIFF/FX FAX profile L */
336
+ #define FAXPROFILE_M 6 /* !TIFF/FX FAX profile LM */
337
+ #define TIFFTAG_CODINGMETHODS 403 /* !TIFF/FX coding methods */
338
+ #define CODINGMETHODS_T4_1D (1 << 1) /* !T.4 1D */
339
+ #define CODINGMETHODS_T4_2D (1 << 2) /* !T.4 2D */
340
+ #define CODINGMETHODS_T6 (1 << 3) /* !T.6 */
341
+ #define CODINGMETHODS_T85 (1 << 4) /* !T.85 JBIG */
342
+ #define CODINGMETHODS_T42 (1 << 5) /* !T.42 JPEG */
343
+ #define CODINGMETHODS_T43 (1 << 6) /* !T.43 colour by layered JBIG */
344
+ #define TIFFTAG_VERSIONYEAR 404 /* !TIFF/FX version year */
345
+ #define TIFFTAG_MODENUMBER 405 /* !TIFF/FX mode number */
346
+ #define TIFFTAG_DECODE 433 /* !TIFF/FX decode */
347
+ #define TIFFTAG_IMAGEBASECOLOR 434 /* !TIFF/FX image base colour */
348
+ #define TIFFTAG_T82OPTIONS 435 /* !TIFF/FX T.82 options */
349
+ /*
350
+ * Tags 512-521 are obsoleted by Technical Note #2 which specifies a
351
+ * revised JPEG-in-TIFF scheme.
352
+ */
353
+ #define TIFFTAG_JPEGPROC 512 /* !JPEG processing algorithm */
354
+ #define JPEGPROC_BASELINE 1 /* !baseline sequential */
355
+ #define JPEGPROC_LOSSLESS 14 /* !Huffman coded lossless */
356
+ #define TIFFTAG_JPEGIFOFFSET 513 /* !pointer to SOI marker */
357
+ #define TIFFTAG_JPEGIFBYTECOUNT 514 /* !JFIF stream length */
358
+ #define TIFFTAG_JPEGRESTARTINTERVAL 515 /* !restart interval length */
359
+ #define TIFFTAG_JPEGLOSSLESSPREDICTORS 517 /* !lossless proc predictor */
360
+ #define TIFFTAG_JPEGPOINTTRANSFORM 518 /* !lossless point transform */
361
+ #define TIFFTAG_JPEGQTABLES 519 /* !Q matrice offsets */
362
+ #define TIFFTAG_JPEGDCTABLES 520 /* !DCT table offsets */
363
+ #define TIFFTAG_JPEGACTABLES 521 /* !AC coefficient offsets */
364
+ #define TIFFTAG_YCBCRCOEFFICIENTS 529 /* !RGB -> YCbCr transform */
365
+ #define TIFFTAG_YCBCRSUBSAMPLING 530 /* !YCbCr subsampling factors */
366
+ #define TIFFTAG_YCBCRPOSITIONING 531 /* !subsample positioning */
367
+ #define YCBCRPOSITION_CENTERED 1 /* !as in PostScript Level 2 */
368
+ #define YCBCRPOSITION_COSITED 2 /* !as in CCIR 601-1 */
369
+ #define TIFFTAG_REFERENCEBLACKWHITE 532 /* !colorimetry info */
370
+ #define TIFFTAG_STRIPROWCOUNTS 559 /* !TIFF/FX strip row counts */
371
+ #define TIFFTAG_XMLPACKET 700 /* %XML packet
372
+ [Adobe XMP Specification,
373
+ January 2004 */
374
+ #define TIFFTAG_OPIIMAGEID 32781 /* %OPI ImageID
375
+ [Adobe TIFF technote] */
376
+ /* tags 32952-32956 are private tags registered to Island Graphics */
377
+ #define TIFFTAG_REFPTS 32953 /* image reference points */
378
+ #define TIFFTAG_REGIONTACKPOINT 32954 /* region-xform tack point */
379
+ #define TIFFTAG_REGIONWARPCORNERS 32955 /* warp quadrilateral */
380
+ #define TIFFTAG_REGIONAFFINE 32956 /* affine transformation mat */
381
+ /* tags 32995-32999 are private tags registered to SGI */
382
+ #define TIFFTAG_MATTEING 32995 /* $use ExtraSamples */
383
+ #define TIFFTAG_DATATYPE 32996 /* $use SampleFormat */
384
+ #define TIFFTAG_IMAGEDEPTH 32997 /* z depth of image */
385
+ #define TIFFTAG_TILEDEPTH 32998 /* z depth/data tile */
386
+ /* tags 33300-33309 are private tags registered to Pixar */
387
+ /*
388
+ * TIFFTAG_PIXAR_IMAGEFULLWIDTH and TIFFTAG_PIXAR_IMAGEFULLLENGTH
389
+ * are set when an image has been cropped out of a larger image.
390
+ * They reflect the size of the original uncropped image.
391
+ * The TIFFTAG_XPOSITION and TIFFTAG_YPOSITION can be used
392
+ * to determine the position of the smaller image in the larger one.
393
+ */
394
+ #define TIFFTAG_PIXAR_IMAGEFULLWIDTH 33300 /* full image size in x */
395
+ #define TIFFTAG_PIXAR_IMAGEFULLLENGTH 33301 /* full image size in y */
396
+ /* Tags 33302-33306 are used to identify special image modes and data
397
+ * used by Pixar's texture formats.
398
+ */
399
+ #define TIFFTAG_PIXAR_TEXTUREFORMAT 33302 /* texture map format */
400
+ #define TIFFTAG_PIXAR_WRAPMODES 33303 /* s & t wrap modes */
401
+ #define TIFFTAG_PIXAR_FOVCOT 33304 /* cotan(fov) for env. maps */
402
+ #define TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN 33305
403
+ #define TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA 33306
404
+ /* tag 33405 is a private tag registered to Eastman Kodak */
405
+ #define TIFFTAG_WRITERSERIALNUMBER 33405 /* device serial number */
406
+ #define TIFFTAG_CFAREPEATPATTERNDIM 33421 /* dimensions of CFA pattern */
407
+ #define TIFFTAG_CFAPATTERN 33422 /* color filter array pattern */
408
+ /* tag 33432 is listed in the 6.0 spec w/ unknown ownership */
409
+ #define TIFFTAG_COPYRIGHT 33432 /* copyright string */
410
+ /* IPTC TAG from RichTIFF specifications */
411
+ #define TIFFTAG_RICHTIFFIPTC 33723
412
+ /* 34016-34029 are reserved for ANSI IT8 TIFF/IT <dkelly@apago.com) */
413
+ #define TIFFTAG_IT8SITE 34016 /* site name */
414
+ #define TIFFTAG_IT8COLORSEQUENCE 34017 /* color seq. [RGB,CMYK,etc] */
415
+ #define TIFFTAG_IT8HEADER 34018 /* DDES Header */
416
+ #define TIFFTAG_IT8RASTERPADDING 34019 /* raster scanline padding */
417
+ #define TIFFTAG_IT8BITSPERRUNLENGTH 34020 /* # of bits in short run */
418
+ #define TIFFTAG_IT8BITSPEREXTENDEDRUNLENGTH 34021/* # of bits in long run */
419
+ #define TIFFTAG_IT8COLORTABLE 34022 /* LW colortable */
420
+ #define TIFFTAG_IT8IMAGECOLORINDICATOR 34023 /* BP/BL image color switch */
421
+ #define TIFFTAG_IT8BKGCOLORINDICATOR 34024 /* BP/BL bg color switch */
422
+ #define TIFFTAG_IT8IMAGECOLORVALUE 34025 /* BP/BL image color value */
423
+ #define TIFFTAG_IT8BKGCOLORVALUE 34026 /* BP/BL bg color value */
424
+ #define TIFFTAG_IT8PIXELINTENSITYRANGE 34027 /* MP pixel intensity value */
425
+ #define TIFFTAG_IT8TRANSPARENCYINDICATOR 34028 /* HC transparency switch */
426
+ #define TIFFTAG_IT8COLORCHARACTERIZATION 34029 /* color character. table */
427
+ #define TIFFTAG_IT8HCUSAGE 34030 /* HC usage indicator */
428
+ #define TIFFTAG_IT8TRAPINDICATOR 34031 /* Trapping indicator
429
+ (untrapped=0, trapped=1) */
430
+ #define TIFFTAG_IT8CMYKEQUIVALENT 34032 /* CMYK color equivalents */
431
+ /* tags 34232-34236 are private tags registered to Texas Instruments */
432
+ #define TIFFTAG_FRAMECOUNT 34232 /* Sequence Frame Count */
433
+ /* tag 34377 is private tag registered to Adobe for PhotoShop */
434
+ #define TIFFTAG_PHOTOSHOP 34377
435
+ /* tags 34665, 34853 and 40965 are documented in EXIF specification */
436
+ #define TIFFTAG_EXIFIFD 34665 /* Pointer to EXIF private directory */
437
+ /* tag 34750 is a private tag registered to Adobe? */
438
+ #define TIFFTAG_ICCPROFILE 34675 /* ICC profile data */
439
+ #define TIFFTAG_IMAGELAYER 34732 /* !TIFF/FX image layer information */
440
+ /* tag 34750 is a private tag registered to Pixel Magic */
441
+ #define TIFFTAG_JBIGOPTIONS 34750 /* JBIG options */
442
+ #define TIFFTAG_GPSIFD 34853 /* Pointer to GPS private directory */
443
+ /* tags 34908-34914 are private tags registered to SGI */
444
+ #define TIFFTAG_FAXRECVPARAMS 34908 /* encoded Class 2 ses. parms */
445
+ #define TIFFTAG_FAXSUBADDRESS 34909 /* received SubAddr string */
446
+ #define TIFFTAG_FAXRECVTIME 34910 /* receive time (secs) */
447
+ #define TIFFTAG_FAXDCS 34911 /* encoded fax ses. params, Table 2/T.30 */
448
+ /* tags 37439-37443 are registered to SGI <gregl@sgi.com> */
449
+ #define TIFFTAG_STONITS 37439 /* Sample value to Nits */
450
+ /* tag 34929 is a private tag registered to FedEx */
451
+ #define TIFFTAG_FEDEX_EDR 34929 /* unknown use */
452
+ #define TIFFTAG_INTEROPERABILITYIFD 40965 /* Pointer to Interoperability private directory */
453
+ /* Adobe Digital Negative (DNG) format tags */
454
+ #define TIFFTAG_DNGVERSION 50706 /* &DNG version number */
455
+ #define TIFFTAG_DNGBACKWARDVERSION 50707 /* &DNG compatibility version */
456
+ #define TIFFTAG_UNIQUECAMERAMODEL 50708 /* &name for the camera model */
457
+ #define TIFFTAG_LOCALIZEDCAMERAMODEL 50709 /* &localized camera model
458
+ name */
459
+ #define TIFFTAG_CFAPLANECOLOR 50710 /* &CFAPattern->LinearRaw space
460
+ mapping */
461
+ #define TIFFTAG_CFALAYOUT 50711 /* &spatial layout of the CFA */
462
+ #define TIFFTAG_LINEARIZATIONTABLE 50712 /* &lookup table description */
463
+ #define TIFFTAG_BLACKLEVELREPEATDIM 50713 /* &repeat pattern size for
464
+ the BlackLevel tag */
465
+ #define TIFFTAG_BLACKLEVEL 50714 /* &zero light encoding level */
466
+ #define TIFFTAG_BLACKLEVELDELTAH 50715 /* &zero light encoding level
467
+ differences (columns) */
468
+ #define TIFFTAG_BLACKLEVELDELTAV 50716 /* &zero light encoding level
469
+ differences (rows) */
470
+ #define TIFFTAG_WHITELEVEL 50717 /* &fully saturated encoding
471
+ level */
472
+ #define TIFFTAG_DEFAULTSCALE 50718 /* &default scale factors */
473
+ #define TIFFTAG_DEFAULTCROPORIGIN 50719 /* &origin of the final image
474
+ area */
475
+ #define TIFFTAG_DEFAULTCROPSIZE 50720 /* &size of the final image
476
+ area */
477
+ #define TIFFTAG_COLORMATRIX1 50721 /* &XYZ->reference color space
478
+ transformation matrix 1 */
479
+ #define TIFFTAG_COLORMATRIX2 50722 /* &XYZ->reference color space
480
+ transformation matrix 2 */
481
+ #define TIFFTAG_CAMERACALIBRATION1 50723 /* &calibration matrix 1 */
482
+ #define TIFFTAG_CAMERACALIBRATION2 50724 /* &calibration matrix 2 */
483
+ #define TIFFTAG_REDUCTIONMATRIX1 50725 /* &dimensionality reduction
484
+ matrix 1 */
485
+ #define TIFFTAG_REDUCTIONMATRIX2 50726 /* &dimensionality reduction
486
+ matrix 2 */
487
+ #define TIFFTAG_ANALOGBALANCE 50727 /* &gain applied the stored raw
488
+ values*/
489
+ #define TIFFTAG_ASSHOTNEUTRAL 50728 /* &selected white balance in
490
+ linear reference space */
491
+ #define TIFFTAG_ASSHOTWHITEXY 50729 /* &selected white balance in
492
+ x-y chromaticity
493
+ coordinates */
494
+ #define TIFFTAG_BASELINEEXPOSURE 50730 /* &how much to move the zero
495
+ point */
496
+ #define TIFFTAG_BASELINENOISE 50731 /* &relative noise level */
497
+ #define TIFFTAG_BASELINESHARPNESS 50732 /* &relative amount of
498
+ sharpening */
499
+ #define TIFFTAG_BAYERGREENSPLIT 50733 /* &how closely the values of
500
+ the green pixels in the
501
+ blue/green rows track the
502
+ values of the green pixels
503
+ in the red/green rows */
504
+ #define TIFFTAG_LINEARRESPONSELIMIT 50734 /* &non-linear encoding range */
505
+ #define TIFFTAG_CAMERASERIALNUMBER 50735 /* &camera's serial number */
506
+ #define TIFFTAG_LENSINFO 50736 /* info about the lens */
507
+ #define TIFFTAG_CHROMABLURRADIUS 50737 /* &chroma blur radius */
508
+ #define TIFFTAG_ANTIALIASSTRENGTH 50738 /* &relative strength of the
509
+ camera's anti-alias filter */
510
+ #define TIFFTAG_SHADOWSCALE 50739 /* &used by Adobe Camera Raw */
511
+ #define TIFFTAG_DNGPRIVATEDATA 50740 /* &manufacturer's private data */
512
+ #define TIFFTAG_MAKERNOTESAFETY 50741 /* &whether the EXIF MakerNote
513
+ tag is safe to preserve
514
+ along with the rest of the
515
+ EXIF data */
516
+ #define TIFFTAG_CALIBRATIONILLUMINANT1 50778 /* &illuminant 1 */
517
+ #define TIFFTAG_CALIBRATIONILLUMINANT2 50779 /* &illuminant 2 */
518
+ #define TIFFTAG_BESTQUALITYSCALE 50780 /* &best quality multiplier */
519
+ #define TIFFTAG_RAWDATAUNIQUEID 50781 /* &unique identifier for
520
+ the raw image data */
521
+ #define TIFFTAG_ORIGINALRAWFILENAME 50827 /* &file name of the original
522
+ raw file */
523
+ #define TIFFTAG_ORIGINALRAWFILEDATA 50828 /* &contents of the original
524
+ raw file */
525
+ #define TIFFTAG_ACTIVEAREA 50829 /* &active (non-masked) pixels
526
+ of the sensor */
527
+ #define TIFFTAG_MASKEDAREAS 50830 /* &list of coordinates
528
+ of fully masked pixels */
529
+ #define TIFFTAG_ASSHOTICCPROFILE 50831 /* &these two tags used to */
530
+ #define TIFFTAG_ASSHOTPREPROFILEMATRIX 50832 /* map cameras's color space
531
+ into ICC profile space */
532
+ #define TIFFTAG_CURRENTICCPROFILE 50833 /* & */
533
+ #define TIFFTAG_CURRENTPREPROFILEMATRIX 50834 /* & */
534
+ /* tag 65535 is an undefined tag used by Eastman Kodak */
535
+ #define TIFFTAG_DCSHUESHIFTVALUES 65535 /* hue shift correction data */
536
+
537
+ /*
538
+ * The following are ``pseudo tags'' that can be used to control
539
+ * codec-specific functionality. These tags are not written to file.
540
+ * Note that these values start at 0xffff+1 so that they'll never
541
+ * collide with Aldus-assigned tags.
542
+ *
543
+ * If you want your private pseudo tags ``registered'' (i.e. added to
544
+ * this file), please post a bug report via the tracking system at
545
+ * http://www.remotesensing.org/libtiff/bugs.html with the appropriate
546
+ * C definitions to add.
547
+ */
548
+ #define TIFFTAG_FAXMODE 65536 /* Group 3/4 format control */
549
+ #define FAXMODE_CLASSIC 0x0000 /* default, include RTC */
550
+ #define FAXMODE_NORTC 0x0001 /* no RTC at end of data */
551
+ #define FAXMODE_NOEOL 0x0002 /* no EOL code at end of row */
552
+ #define FAXMODE_BYTEALIGN 0x0004 /* byte align row */
553
+ #define FAXMODE_WORDALIGN 0x0008 /* word align row */
554
+ #define FAXMODE_CLASSF FAXMODE_NORTC /* TIFF Class F */
555
+ #define TIFFTAG_JPEGQUALITY 65537 /* Compression quality level */
556
+ /* Note: quality level is on the IJG 0-100 scale. Default value is 75 */
557
+ #define TIFFTAG_JPEGCOLORMODE 65538 /* Auto RGB<=>YCbCr convert? */
558
+ #define JPEGCOLORMODE_RAW 0x0000 /* no conversion (default) */
559
+ #define JPEGCOLORMODE_RGB 0x0001 /* do auto conversion */
560
+ #define TIFFTAG_JPEGTABLESMODE 65539 /* What to put in JPEGTables */
561
+ #define JPEGTABLESMODE_QUANT 0x0001 /* include quantization tbls */
562
+ #define JPEGTABLESMODE_HUFF 0x0002 /* include Huffman tbls */
563
+ /* Note: default is JPEGTABLESMODE_QUANT | JPEGTABLESMODE_HUFF */
564
+ #define TIFFTAG_FAXFILLFUNC 65540 /* G3/G4 fill function */
565
+ #define TIFFTAG_PIXARLOGDATAFMT 65549 /* PixarLogCodec I/O data sz */
566
+ #define PIXARLOGDATAFMT_8BIT 0 /* regular u_char samples */
567
+ #define PIXARLOGDATAFMT_8BITABGR 1 /* ABGR-order u_chars */
568
+ #define PIXARLOGDATAFMT_11BITLOG 2 /* 11-bit log-encoded (raw) */
569
+ #define PIXARLOGDATAFMT_12BITPICIO 3 /* as per PICIO (1.0==2048) */
570
+ #define PIXARLOGDATAFMT_16BIT 4 /* signed short samples */
571
+ #define PIXARLOGDATAFMT_FLOAT 5 /* IEEE float samples */
572
+ /* 65550-65556 are allocated to Oceana Matrix <dev@oceana.com> */
573
+ #define TIFFTAG_DCSIMAGERTYPE 65550 /* imager model & filter */
574
+ #define DCSIMAGERMODEL_M3 0 /* M3 chip (1280 x 1024) */
575
+ #define DCSIMAGERMODEL_M5 1 /* M5 chip (1536 x 1024) */
576
+ #define DCSIMAGERMODEL_M6 2 /* M6 chip (3072 x 2048) */
577
+ #define DCSIMAGERFILTER_IR 0 /* infrared filter */
578
+ #define DCSIMAGERFILTER_MONO 1 /* monochrome filter */
579
+ #define DCSIMAGERFILTER_CFA 2 /* color filter array */
580
+ #define DCSIMAGERFILTER_OTHER 3 /* other filter */
581
+ #define TIFFTAG_DCSINTERPMODE 65551 /* interpolation mode */
582
+ #define DCSINTERPMODE_NORMAL 0x0 /* whole image, default */
583
+ #define DCSINTERPMODE_PREVIEW 0x1 /* preview of image (384x256) */
584
+ #define TIFFTAG_DCSBALANCEARRAY 65552 /* color balance values */
585
+ #define TIFFTAG_DCSCORRECTMATRIX 65553 /* color correction values */
586
+ #define TIFFTAG_DCSGAMMA 65554 /* gamma value */
587
+ #define TIFFTAG_DCSTOESHOULDERPTS 65555 /* toe & shoulder points */
588
+ #define TIFFTAG_DCSCALIBRATIONFD 65556 /* calibration file desc */
589
+ /* Note: quality level is on the ZLIB 1-9 scale. Default value is -1 */
590
+ #define TIFFTAG_ZIPQUALITY 65557 /* compression quality level */
591
+ #define TIFFTAG_PIXARLOGQUALITY 65558 /* PixarLog uses same scale */
592
+ /* 65559 is allocated to Oceana Matrix <dev@oceana.com> */
593
+ #define TIFFTAG_DCSCLIPRECTANGLE 65559 /* area of image to acquire */
594
+ #define TIFFTAG_SGILOGDATAFMT 65560 /* SGILog user data format */
595
+ #define SGILOGDATAFMT_FLOAT 0 /* IEEE float samples */
596
+ #define SGILOGDATAFMT_16BIT 1 /* 16-bit samples */
597
+ #define SGILOGDATAFMT_RAW 2 /* uninterpreted data */
598
+ #define SGILOGDATAFMT_8BIT 3 /* 8-bit RGB monitor values */
599
+ #define TIFFTAG_SGILOGENCODE 65561 /* SGILog data encoding control*/
600
+ #define SGILOGENCODE_NODITHER 0 /* do not dither encoded values*/
601
+ #define SGILOGENCODE_RANDITHER 1 /* randomly dither encd values */
602
+ #define TIFFTAG_LZMAPRESET 65562 /* LZMA2 preset (compression level) */
603
+ #define TIFFTAG_PERSAMPLE 65563 /* interface for per sample tags */
604
+ #define PERSAMPLE_MERGED 0 /* present as a single value */
605
+ #define PERSAMPLE_MULTI 1 /* present as multiple values */
606
+
607
+ /*
608
+ * EXIF tags
609
+ */
610
+ #define EXIFTAG_EXPOSURETIME 33434 /* Exposure time */
611
+ #define EXIFTAG_FNUMBER 33437 /* F number */
612
+ #define EXIFTAG_EXPOSUREPROGRAM 34850 /* Exposure program */
613
+ #define EXIFTAG_SPECTRALSENSITIVITY 34852 /* Spectral sensitivity */
614
+ #define EXIFTAG_ISOSPEEDRATINGS 34855 /* ISO speed rating */
615
+ #define EXIFTAG_OECF 34856 /* Optoelectric conversion
616
+ factor */
617
+ #define EXIFTAG_EXIFVERSION 36864 /* Exif version */
618
+ #define EXIFTAG_DATETIMEORIGINAL 36867 /* Date and time of original
619
+ data generation */
620
+ #define EXIFTAG_DATETIMEDIGITIZED 36868 /* Date and time of digital
621
+ data generation */
622
+ #define EXIFTAG_COMPONENTSCONFIGURATION 37121 /* Meaning of each component */
623
+ #define EXIFTAG_COMPRESSEDBITSPERPIXEL 37122 /* Image compression mode */
624
+ #define EXIFTAG_SHUTTERSPEEDVALUE 37377 /* Shutter speed */
625
+ #define EXIFTAG_APERTUREVALUE 37378 /* Aperture */
626
+ #define EXIFTAG_BRIGHTNESSVALUE 37379 /* Brightness */
627
+ #define EXIFTAG_EXPOSUREBIASVALUE 37380 /* Exposure bias */
628
+ #define EXIFTAG_MAXAPERTUREVALUE 37381 /* Maximum lens aperture */
629
+ #define EXIFTAG_SUBJECTDISTANCE 37382 /* Subject distance */
630
+ #define EXIFTAG_METERINGMODE 37383 /* Metering mode */
631
+ #define EXIFTAG_LIGHTSOURCE 37384 /* Light source */
632
+ #define EXIFTAG_FLASH 37385 /* Flash */
633
+ #define EXIFTAG_FOCALLENGTH 37386 /* Lens focal length */
634
+ #define EXIFTAG_SUBJECTAREA 37396 /* Subject area */
635
+ #define EXIFTAG_MAKERNOTE 37500 /* Manufacturer notes */
636
+ #define EXIFTAG_USERCOMMENT 37510 /* User comments */
637
+ #define EXIFTAG_SUBSECTIME 37520 /* DateTime subseconds */
638
+ #define EXIFTAG_SUBSECTIMEORIGINAL 37521 /* DateTimeOriginal subseconds */
639
+ #define EXIFTAG_SUBSECTIMEDIGITIZED 37522 /* DateTimeDigitized subseconds */
640
+ #define EXIFTAG_FLASHPIXVERSION 40960 /* Supported Flashpix version */
641
+ #define EXIFTAG_COLORSPACE 40961 /* Color space information */
642
+ #define EXIFTAG_PIXELXDIMENSION 40962 /* Valid image width */
643
+ #define EXIFTAG_PIXELYDIMENSION 40963 /* Valid image height */
644
+ #define EXIFTAG_RELATEDSOUNDFILE 40964 /* Related audio file */
645
+ #define EXIFTAG_FLASHENERGY 41483 /* Flash energy */
646
+ #define EXIFTAG_SPATIALFREQUENCYRESPONSE 41484 /* Spatial frequency response */
647
+ #define EXIFTAG_FOCALPLANEXRESOLUTION 41486 /* Focal plane X resolution */
648
+ #define EXIFTAG_FOCALPLANEYRESOLUTION 41487 /* Focal plane Y resolution */
649
+ #define EXIFTAG_FOCALPLANERESOLUTIONUNIT 41488 /* Focal plane resolution unit */
650
+ #define EXIFTAG_SUBJECTLOCATION 41492 /* Subject location */
651
+ #define EXIFTAG_EXPOSUREINDEX 41493 /* Exposure index */
652
+ #define EXIFTAG_SENSINGMETHOD 41495 /* Sensing method */
653
+ #define EXIFTAG_FILESOURCE 41728 /* File source */
654
+ #define EXIFTAG_SCENETYPE 41729 /* Scene type */
655
+ #define EXIFTAG_CFAPATTERN 41730 /* CFA pattern */
656
+ #define EXIFTAG_CUSTOMRENDERED 41985 /* Custom image processing */
657
+ #define EXIFTAG_EXPOSUREMODE 41986 /* Exposure mode */
658
+ #define EXIFTAG_WHITEBALANCE 41987 /* White balance */
659
+ #define EXIFTAG_DIGITALZOOMRATIO 41988 /* Digital zoom ratio */
660
+ #define EXIFTAG_FOCALLENGTHIN35MMFILM 41989 /* Focal length in 35 mm film */
661
+ #define EXIFTAG_SCENECAPTURETYPE 41990 /* Scene capture type */
662
+ #define EXIFTAG_GAINCONTROL 41991 /* Gain control */
663
+ #define EXIFTAG_CONTRAST 41992 /* Contrast */
664
+ #define EXIFTAG_SATURATION 41993 /* Saturation */
665
+ #define EXIFTAG_SHARPNESS 41994 /* Sharpness */
666
+ #define EXIFTAG_DEVICESETTINGDESCRIPTION 41995 /* Device settings description */
667
+ #define EXIFTAG_SUBJECTDISTANCERANGE 41996 /* Subject distance range */
668
+ #define EXIFTAG_GAINCONTROL 41991 /* Gain control */
669
+ #define EXIFTAG_GAINCONTROL 41991 /* Gain control */
670
+ #define EXIFTAG_IMAGEUNIQUEID 42016 /* Unique image ID */
671
+
672
+ #endif /* _TIFF_ */
673
+
674
+ /* vim: set ts=8 sts=8 sw=8 noet: */
675
+ /*
676
+ * Local Variables:
677
+ * mode: c
678
+ * c-basic-offset: 8
679
+ * fill-column: 78
680
+ * End:
681
+ */