@img/sharp-libvips-dev 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (656) hide show
  1. package/README.md +47 -0
  2. package/cplusplus/VConnection.cpp +151 -0
  3. package/cplusplus/VError.cpp +49 -0
  4. package/cplusplus/VImage.cpp +1548 -0
  5. package/cplusplus/VInterpolate.cpp +62 -0
  6. package/cplusplus/VRegion.cpp +27 -0
  7. package/cplusplus/index.js +1 -0
  8. package/cplusplus/vips-operators.cpp +3760 -0
  9. package/include/aom/aom.h +127 -0
  10. package/include/aom/aom_codec.h +573 -0
  11. package/include/aom/aom_decoder.h +257 -0
  12. package/include/aom/aom_encoder.h +1137 -0
  13. package/include/aom/aom_external_partition.h +452 -0
  14. package/include/aom/aom_frame_buffer.h +84 -0
  15. package/include/aom/aom_image.h +448 -0
  16. package/include/aom/aom_integer.h +68 -0
  17. package/include/aom/aomcx.h +2112 -0
  18. package/include/aom/aomdx.h +604 -0
  19. package/include/archive.h +1212 -0
  20. package/include/archive_entry.h +723 -0
  21. package/include/cairo/cairo-deprecated.h +123 -0
  22. package/include/cairo/cairo-features.h +29 -0
  23. package/include/cairo/cairo-ft.h +118 -0
  24. package/include/cairo/cairo-gobject.h +192 -0
  25. package/include/cairo/cairo-svg.h +130 -0
  26. package/include/cairo/cairo-version.h +8 -0
  27. package/include/cairo/cairo.h +3281 -0
  28. package/include/cgif.h +80 -0
  29. package/include/expat.h +1064 -0
  30. package/include/expat_config.h +140 -0
  31. package/include/expat_external.h +165 -0
  32. package/include/ffi.h +531 -0
  33. package/include/ffitarget.h +164 -0
  34. package/include/fontconfig/fcfreetype.h +59 -0
  35. package/include/fontconfig/fcprivate.h +134 -0
  36. package/include/fontconfig/fontconfig.h +1158 -0
  37. package/include/freetype2/freetype/config/ftconfig.h +51 -0
  38. package/include/freetype2/freetype/config/ftheader.h +836 -0
  39. package/include/freetype2/freetype/config/ftmodule.h +21 -0
  40. package/include/freetype2/freetype/config/ftoption.h +1014 -0
  41. package/include/freetype2/freetype/config/ftstdlib.h +185 -0
  42. package/include/freetype2/freetype/config/integer-types.h +250 -0
  43. package/include/freetype2/freetype/config/mac-support.h +49 -0
  44. package/include/freetype2/freetype/config/public-macros.h +138 -0
  45. package/include/freetype2/freetype/freetype.h +5337 -0
  46. package/include/freetype2/freetype/ftadvanc.h +188 -0
  47. package/include/freetype2/freetype/ftbbox.h +101 -0
  48. package/include/freetype2/freetype/ftbdf.h +212 -0
  49. package/include/freetype2/freetype/ftbitmap.h +329 -0
  50. package/include/freetype2/freetype/ftbzip2.h +102 -0
  51. package/include/freetype2/freetype/ftcache.h +1087 -0
  52. package/include/freetype2/freetype/ftchapters.h +168 -0
  53. package/include/freetype2/freetype/ftcid.h +167 -0
  54. package/include/freetype2/freetype/ftcolor.h +1667 -0
  55. package/include/freetype2/freetype/ftdriver.h +1246 -0
  56. package/include/freetype2/freetype/fterrdef.h +283 -0
  57. package/include/freetype2/freetype/fterrors.h +296 -0
  58. package/include/freetype2/freetype/ftfntfmt.h +93 -0
  59. package/include/freetype2/freetype/ftgasp.h +143 -0
  60. package/include/freetype2/freetype/ftglyph.h +750 -0
  61. package/include/freetype2/freetype/ftgxval.h +354 -0
  62. package/include/freetype2/freetype/ftgzip.h +151 -0
  63. package/include/freetype2/freetype/ftimage.h +1284 -0
  64. package/include/freetype2/freetype/ftincrem.h +348 -0
  65. package/include/freetype2/freetype/ftlcdfil.h +323 -0
  66. package/include/freetype2/freetype/ftlist.h +296 -0
  67. package/include/freetype2/freetype/ftlzw.h +100 -0
  68. package/include/freetype2/freetype/ftmac.h +289 -0
  69. package/include/freetype2/freetype/ftmm.h +805 -0
  70. package/include/freetype2/freetype/ftmodapi.h +807 -0
  71. package/include/freetype2/freetype/ftmoderr.h +204 -0
  72. package/include/freetype2/freetype/ftotval.h +206 -0
  73. package/include/freetype2/freetype/ftoutln.h +588 -0
  74. package/include/freetype2/freetype/ftparams.h +218 -0
  75. package/include/freetype2/freetype/ftpfr.h +179 -0
  76. package/include/freetype2/freetype/ftrender.h +244 -0
  77. package/include/freetype2/freetype/ftsizes.h +159 -0
  78. package/include/freetype2/freetype/ftsnames.h +272 -0
  79. package/include/freetype2/freetype/ftstroke.h +773 -0
  80. package/include/freetype2/freetype/ftsynth.h +104 -0
  81. package/include/freetype2/freetype/ftsystem.h +350 -0
  82. package/include/freetype2/freetype/fttrigon.h +350 -0
  83. package/include/freetype2/freetype/fttypes.h +617 -0
  84. package/include/freetype2/freetype/ftwinfnt.h +276 -0
  85. package/include/freetype2/freetype/otsvg.h +336 -0
  86. package/include/freetype2/freetype/t1tables.h +793 -0
  87. package/include/freetype2/freetype/ttnameid.h +1235 -0
  88. package/include/freetype2/freetype/tttables.h +855 -0
  89. package/include/freetype2/freetype/tttags.h +124 -0
  90. package/include/freetype2/ft2build.h +42 -0
  91. package/include/fribidi/fribidi-arabic.h +81 -0
  92. package/include/fribidi/fribidi-begindecls.h +3 -0
  93. package/include/fribidi/fribidi-bidi-types-list.h +96 -0
  94. package/include/fribidi/fribidi-bidi-types.h +405 -0
  95. package/include/fribidi/fribidi-bidi.h +142 -0
  96. package/include/fribidi/fribidi-brackets.h +89 -0
  97. package/include/fribidi/fribidi-char-sets-list.h +54 -0
  98. package/include/fribidi/fribidi-char-sets.h +106 -0
  99. package/include/fribidi/fribidi-common.h +152 -0
  100. package/include/fribidi/fribidi-config.h +23 -0
  101. package/include/fribidi/fribidi-deprecated.h +175 -0
  102. package/include/fribidi/fribidi-enddecls.h +3 -0
  103. package/include/fribidi/fribidi-flags.h +72 -0
  104. package/include/fribidi/fribidi-joining-types-list.h +44 -0
  105. package/include/fribidi/fribidi-joining-types.h +249 -0
  106. package/include/fribidi/fribidi-joining.h +74 -0
  107. package/include/fribidi/fribidi-mirroring.h +86 -0
  108. package/include/fribidi/fribidi-shape.h +71 -0
  109. package/include/fribidi/fribidi-types.h +79 -0
  110. package/include/fribidi/fribidi-unicode-version.h +10 -0
  111. package/include/fribidi/fribidi-unicode.h +105 -0
  112. package/include/fribidi/fribidi.h +129 -0
  113. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +221 -0
  114. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +37 -0
  115. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +525 -0
  116. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +40 -0
  117. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +115 -0
  118. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +481 -0
  119. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +113 -0
  120. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +718 -0
  121. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +33 -0
  122. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +70 -0
  123. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +168 -0
  124. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +46 -0
  125. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +165 -0
  126. package/include/gio-unix-2.0/gio/gdesktopappinfo.h +200 -0
  127. package/include/gio-unix-2.0/gio/gfiledescriptorbased.h +67 -0
  128. package/include/gio-unix-2.0/gio/gunixfdmessage.h +86 -0
  129. package/include/gio-unix-2.0/gio/gunixinputstream.h +85 -0
  130. package/include/gio-unix-2.0/gio/gunixmounts.h +172 -0
  131. package/include/gio-unix-2.0/gio/gunixoutputstream.h +84 -0
  132. package/include/glib-2.0/gio/gaction.h +100 -0
  133. package/include/glib-2.0/gio/gactiongroup.h +163 -0
  134. package/include/glib-2.0/gio/gactiongroupexporter.h +47 -0
  135. package/include/glib-2.0/gio/gactionmap.h +101 -0
  136. package/include/glib-2.0/gio/gappinfo.h +369 -0
  137. package/include/glib-2.0/gio/gapplication.h +257 -0
  138. package/include/glib-2.0/gio/gapplicationcommandline.h +124 -0
  139. package/include/glib-2.0/gio/gasyncinitable.h +132 -0
  140. package/include/glib-2.0/gio/gasyncresult.h +87 -0
  141. package/include/glib-2.0/gio/gbufferedinputstream.h +135 -0
  142. package/include/glib-2.0/gio/gbufferedoutputstream.h +88 -0
  143. package/include/glib-2.0/gio/gbytesicon.h +54 -0
  144. package/include/glib-2.0/gio/gcancellable.h +120 -0
  145. package/include/glib-2.0/gio/gcharsetconverter.h +65 -0
  146. package/include/glib-2.0/gio/gcontenttype.h +84 -0
  147. package/include/glib-2.0/gio/gconverter.h +98 -0
  148. package/include/glib-2.0/gio/gconverterinputstream.h +82 -0
  149. package/include/glib-2.0/gio/gconverteroutputstream.h +82 -0
  150. package/include/glib-2.0/gio/gcredentials.h +87 -0
  151. package/include/glib-2.0/gio/gdatagrambased.h +146 -0
  152. package/include/glib-2.0/gio/gdatainputstream.h +182 -0
  153. package/include/glib-2.0/gio/gdataoutputstream.h +127 -0
  154. package/include/glib-2.0/gio/gdbusactiongroup.h +56 -0
  155. package/include/glib-2.0/gio/gdbusaddress.h +67 -0
  156. package/include/glib-2.0/gio/gdbusauthobserver.h +53 -0
  157. package/include/glib-2.0/gio/gdbusconnection.h +691 -0
  158. package/include/glib-2.0/gio/gdbuserror.h +111 -0
  159. package/include/glib-2.0/gio/gdbusinterface.h +83 -0
  160. package/include/glib-2.0/gio/gdbusinterfaceskeleton.h +129 -0
  161. package/include/glib-2.0/gio/gdbusintrospection.h +327 -0
  162. package/include/glib-2.0/gio/gdbusmenumodel.h +47 -0
  163. package/include/glib-2.0/gio/gdbusmessage.h +204 -0
  164. package/include/glib-2.0/gio/gdbusmethodinvocation.h +136 -0
  165. package/include/glib-2.0/gio/gdbusnameowning.h +117 -0
  166. package/include/glib-2.0/gio/gdbusnamewatching.h +104 -0
  167. package/include/glib-2.0/gio/gdbusobject.h +80 -0
  168. package/include/glib-2.0/gio/gdbusobjectmanager.h +96 -0
  169. package/include/glib-2.0/gio/gdbusobjectmanagerclient.h +148 -0
  170. package/include/glib-2.0/gio/gdbusobjectmanagerserver.h +95 -0
  171. package/include/glib-2.0/gio/gdbusobjectproxy.h +81 -0
  172. package/include/glib-2.0/gio/gdbusobjectskeleton.h +98 -0
  173. package/include/glib-2.0/gio/gdbusproxy.h +220 -0
  174. package/include/glib-2.0/gio/gdbusserver.h +62 -0
  175. package/include/glib-2.0/gio/gdbusutils.h +65 -0
  176. package/include/glib-2.0/gio/gdebugcontroller.h +81 -0
  177. package/include/glib-2.0/gio/gdebugcontrollerdbus.h +71 -0
  178. package/include/glib-2.0/gio/gdrive.h +274 -0
  179. package/include/glib-2.0/gio/gdtlsclientconnection.h +77 -0
  180. package/include/glib-2.0/gio/gdtlsconnection.h +230 -0
  181. package/include/glib-2.0/gio/gdtlsserverconnection.h +71 -0
  182. package/include/glib-2.0/gio/gemblem.h +63 -0
  183. package/include/glib-2.0/gio/gemblemedicon.h +83 -0
  184. package/include/glib-2.0/gio/gfile.h +1359 -0
  185. package/include/glib-2.0/gio/gfileattribute.h +86 -0
  186. package/include/glib-2.0/gio/gfileenumerator.h +154 -0
  187. package/include/glib-2.0/gio/gfileicon.h +59 -0
  188. package/include/glib-2.0/gio/gfileinfo.h +1546 -0
  189. package/include/glib-2.0/gio/gfileinputstream.h +116 -0
  190. package/include/glib-2.0/gio/gfileiostream.h +123 -0
  191. package/include/glib-2.0/gio/gfilemonitor.h +100 -0
  192. package/include/glib-2.0/gio/gfilenamecompleter.h +81 -0
  193. package/include/glib-2.0/gio/gfileoutputstream.h +124 -0
  194. package/include/glib-2.0/gio/gfilterinputstream.h +80 -0
  195. package/include/glib-2.0/gio/gfilteroutputstream.h +80 -0
  196. package/include/glib-2.0/gio/gicon.h +133 -0
  197. package/include/glib-2.0/gio/ginetaddress.h +125 -0
  198. package/include/glib-2.0/gio/ginetaddressmask.h +86 -0
  199. package/include/glib-2.0/gio/ginetsocketaddress.h +80 -0
  200. package/include/glib-2.0/gio/ginitable.h +107 -0
  201. package/include/glib-2.0/gio/ginputstream.h +218 -0
  202. package/include/glib-2.0/gio/gio-autocleanups.h +155 -0
  203. package/include/glib-2.0/gio/gio-visibility.h +952 -0
  204. package/include/glib-2.0/gio/gio.h +186 -0
  205. package/include/glib-2.0/gio/gioenums.h +2149 -0
  206. package/include/glib-2.0/gio/gioenumtypes.h +207 -0
  207. package/include/glib-2.0/gio/gioerror.h +58 -0
  208. package/include/glib-2.0/gio/giomodule.h +199 -0
  209. package/include/glib-2.0/gio/gioscheduler.h +56 -0
  210. package/include/glib-2.0/gio/giostream.h +137 -0
  211. package/include/glib-2.0/gio/giotypes.h +660 -0
  212. package/include/glib-2.0/gio/glistmodel.h +74 -0
  213. package/include/glib-2.0/gio/gliststore.h +97 -0
  214. package/include/glib-2.0/gio/gloadableicon.h +101 -0
  215. package/include/glib-2.0/gio/gmemoryinputstream.h +92 -0
  216. package/include/glib-2.0/gio/gmemorymonitor.h +64 -0
  217. package/include/glib-2.0/gio/gmemoryoutputstream.h +109 -0
  218. package/include/glib-2.0/gio/gmenu.h +184 -0
  219. package/include/glib-2.0/gio/gmenuexporter.h +55 -0
  220. package/include/glib-2.0/gio/gmenumodel.h +307 -0
  221. package/include/glib-2.0/gio/gmount.h +278 -0
  222. package/include/glib-2.0/gio/gmountoperation.h +179 -0
  223. package/include/glib-2.0/gio/gnativesocketaddress.h +67 -0
  224. package/include/glib-2.0/gio/gnativevolumemonitor.h +63 -0
  225. package/include/glib-2.0/gio/gnetworkaddress.h +82 -0
  226. package/include/glib-2.0/gio/gnetworking.h +81 -0
  227. package/include/glib-2.0/gio/gnetworkmonitor.h +101 -0
  228. package/include/glib-2.0/gio/gnetworkservice.h +77 -0
  229. package/include/glib-2.0/gio/gnotification.h +103 -0
  230. package/include/glib-2.0/gio/goutputstream.h +334 -0
  231. package/include/glib-2.0/gio/gpermission.h +129 -0
  232. package/include/glib-2.0/gio/gpollableinputstream.h +106 -0
  233. package/include/glib-2.0/gio/gpollableoutputstream.h +127 -0
  234. package/include/glib-2.0/gio/gpollableutils.h +66 -0
  235. package/include/glib-2.0/gio/gpowerprofilemonitor.h +65 -0
  236. package/include/glib-2.0/gio/gpropertyaction.h +49 -0
  237. package/include/glib-2.0/gio/gproxy.h +130 -0
  238. package/include/glib-2.0/gio/gproxyaddress.h +88 -0
  239. package/include/glib-2.0/gio/gproxyaddressenumerator.h +83 -0
  240. package/include/glib-2.0/gio/gproxyresolver.h +97 -0
  241. package/include/glib-2.0/gio/gremoteactiongroup.h +77 -0
  242. package/include/glib-2.0/gio/gresolver.h +299 -0
  243. package/include/glib-2.0/gio/gresource.h +132 -0
  244. package/include/glib-2.0/gio/gseekable.h +105 -0
  245. package/include/glib-2.0/gio/gsettings.h +347 -0
  246. package/include/glib-2.0/gio/gsettingsbackend.h +176 -0
  247. package/include/glib-2.0/gio/gsettingsschema.h +115 -0
  248. package/include/glib-2.0/gio/gsimpleaction.h +65 -0
  249. package/include/glib-2.0/gio/gsimpleactiongroup.h +99 -0
  250. package/include/glib-2.0/gio/gsimpleasyncresult.h +164 -0
  251. package/include/glib-2.0/gio/gsimpleiostream.h +47 -0
  252. package/include/glib-2.0/gio/gsimplepermission.h +47 -0
  253. package/include/glib-2.0/gio/gsimpleproxyresolver.h +91 -0
  254. package/include/glib-2.0/gio/gsocket.h +330 -0
  255. package/include/glib-2.0/gio/gsocketaddress.h +84 -0
  256. package/include/glib-2.0/gio/gsocketaddressenumerator.h +103 -0
  257. package/include/glib-2.0/gio/gsocketclient.h +199 -0
  258. package/include/glib-2.0/gio/gsocketconnectable.h +83 -0
  259. package/include/glib-2.0/gio/gsocketconnection.h +117 -0
  260. package/include/glib-2.0/gio/gsocketcontrolmessage.h +113 -0
  261. package/include/glib-2.0/gio/gsocketlistener.h +157 -0
  262. package/include/glib-2.0/gio/gsocketservice.h +95 -0
  263. package/include/glib-2.0/gio/gsrvtarget.h +60 -0
  264. package/include/glib-2.0/gio/gsubprocess.h +169 -0
  265. package/include/glib-2.0/gio/gsubprocesslauncher.h +121 -0
  266. package/include/glib-2.0/gio/gtask.h +207 -0
  267. package/include/glib-2.0/gio/gtcpconnection.h +71 -0
  268. package/include/glib-2.0/gio/gtcpwrapperconnection.h +71 -0
  269. package/include/glib-2.0/gio/gtestdbus.h +74 -0
  270. package/include/glib-2.0/gio/gthemedicon.h +70 -0
  271. package/include/glib-2.0/gio/gthreadedsocketservice.h +83 -0
  272. package/include/glib-2.0/gio/gtlsbackend.h +115 -0
  273. package/include/glib-2.0/gio/gtlscertificate.h +125 -0
  274. package/include/glib-2.0/gio/gtlsclientconnection.h +88 -0
  275. package/include/glib-2.0/gio/gtlsconnection.h +214 -0
  276. package/include/glib-2.0/gio/gtlsdatabase.h +249 -0
  277. package/include/glib-2.0/gio/gtlsfiledatabase.h +60 -0
  278. package/include/glib-2.0/gio/gtlsinteraction.h +150 -0
  279. package/include/glib-2.0/gio/gtlspassword.h +121 -0
  280. package/include/glib-2.0/gio/gtlsserverconnection.h +71 -0
  281. package/include/glib-2.0/gio/gunixconnection.h +102 -0
  282. package/include/glib-2.0/gio/gunixcredentialsmessage.h +89 -0
  283. package/include/glib-2.0/gio/gunixfdlist.h +97 -0
  284. package/include/glib-2.0/gio/gunixsocketaddress.h +83 -0
  285. package/include/glib-2.0/gio/gvfs.h +170 -0
  286. package/include/glib-2.0/gio/gvolume.h +255 -0
  287. package/include/glib-2.0/gio/gvolumemonitor.h +156 -0
  288. package/include/glib-2.0/gio/gzlibcompressor.h +64 -0
  289. package/include/glib-2.0/gio/gzlibdecompressor.h +60 -0
  290. package/include/glib-2.0/glib/deprecated/gallocator.h +88 -0
  291. package/include/glib-2.0/glib/deprecated/gcache.h +77 -0
  292. package/include/glib-2.0/glib/deprecated/gcompletion.h +85 -0
  293. package/include/glib-2.0/glib/deprecated/gmain.h +137 -0
  294. package/include/glib-2.0/glib/deprecated/grel.h +107 -0
  295. package/include/glib-2.0/glib/deprecated/gthread.h +295 -0
  296. package/include/glib-2.0/glib/galloca.h +147 -0
  297. package/include/glib-2.0/glib/garray.h +323 -0
  298. package/include/glib-2.0/glib/gasyncqueue.h +126 -0
  299. package/include/glib-2.0/glib/gatomic.h +587 -0
  300. package/include/glib-2.0/glib/gbacktrace.h +74 -0
  301. package/include/glib-2.0/glib/gbase64.h +63 -0
  302. package/include/glib-2.0/glib/gbitlock.h +78 -0
  303. package/include/glib-2.0/glib/gbookmarkfile.h +300 -0
  304. package/include/glib-2.0/glib/gbytes.h +99 -0
  305. package/include/glib-2.0/glib/gcharset.h +49 -0
  306. package/include/glib-2.0/glib/gchecksum.h +106 -0
  307. package/include/glib-2.0/glib/gconvert.h +179 -0
  308. package/include/glib-2.0/glib/gdataset.h +156 -0
  309. package/include/glib-2.0/glib/gdate.h +309 -0
  310. package/include/glib-2.0/glib/gdatetime.h +275 -0
  311. package/include/glib-2.0/glib/gdir.h +54 -0
  312. package/include/glib-2.0/glib/genviron.h +65 -0
  313. package/include/glib-2.0/glib/gerror.h +263 -0
  314. package/include/glib-2.0/glib/gfileutils.h +223 -0
  315. package/include/glib-2.0/glib/ggettext.h +65 -0
  316. package/include/glib-2.0/glib/ghash.h +206 -0
  317. package/include/glib-2.0/glib/ghmac.h +85 -0
  318. package/include/glib-2.0/glib/ghook.h +204 -0
  319. package/include/glib-2.0/glib/ghostutils.h +45 -0
  320. package/include/glib-2.0/glib/gi18n-lib.h +38 -0
  321. package/include/glib-2.0/glib/gi18n.h +34 -0
  322. package/include/glib-2.0/glib/giochannel.h +407 -0
  323. package/include/glib-2.0/glib/gkeyfile.h +332 -0
  324. package/include/glib-2.0/glib/glib-autocleanups.h +105 -0
  325. package/include/glib-2.0/glib/glib-typeof.h +47 -0
  326. package/include/glib-2.0/glib/glib-visibility.h +952 -0
  327. package/include/glib-2.0/glib/glist.h +179 -0
  328. package/include/glib-2.0/glib/gmacros.h +1425 -0
  329. package/include/glib-2.0/glib/gmain.h +862 -0
  330. package/include/glib-2.0/glib/gmappedfile.h +60 -0
  331. package/include/glib-2.0/glib/gmarkup.h +265 -0
  332. package/include/glib-2.0/glib/gmem.h +425 -0
  333. package/include/glib-2.0/glib/gmessages.h +690 -0
  334. package/include/glib-2.0/glib/gnode.h +309 -0
  335. package/include/glib-2.0/glib/goption.h +409 -0
  336. package/include/glib-2.0/glib/gpathbuf.h +90 -0
  337. package/include/glib-2.0/glib/gpattern.h +65 -0
  338. package/include/glib-2.0/glib/gpoll.h +122 -0
  339. package/include/glib-2.0/glib/gprimes.h +52 -0
  340. package/include/glib-2.0/glib/gprintf.h +59 -0
  341. package/include/glib-2.0/glib/gqsort.h +47 -0
  342. package/include/glib-2.0/glib/gquark.h +70 -0
  343. package/include/glib-2.0/glib/gqueue.h +205 -0
  344. package/include/glib-2.0/glib/grand.h +101 -0
  345. package/include/glib-2.0/glib/grcbox.h +91 -0
  346. package/include/glib-2.0/glib/grefcount.h +179 -0
  347. package/include/glib-2.0/glib/grefstring.h +59 -0
  348. package/include/glib-2.0/glib/gscanner.h +301 -0
  349. package/include/glib-2.0/glib/gsequence.h +175 -0
  350. package/include/glib-2.0/glib/gshell.h +59 -0
  351. package/include/glib-2.0/glib/gslice.h +117 -0
  352. package/include/glib-2.0/glib/gslist.h +166 -0
  353. package/include/glib-2.0/glib/gspawn.h +323 -0
  354. package/include/glib-2.0/glib/gstdio.h +231 -0
  355. package/include/glib-2.0/glib/gstrfuncs.h +504 -0
  356. package/include/glib-2.0/glib/gstring.h +296 -0
  357. package/include/glib-2.0/glib/gstringchunk.h +59 -0
  358. package/include/glib-2.0/glib/gstrvbuilder.h +69 -0
  359. package/include/glib-2.0/glib/gtestutils.h +763 -0
  360. package/include/glib-2.0/glib/gthread.h +603 -0
  361. package/include/glib-2.0/glib/gthreadpool.h +105 -0
  362. package/include/glib-2.0/glib/gtimer.h +80 -0
  363. package/include/glib-2.0/glib/gtimezone.h +98 -0
  364. package/include/glib-2.0/glib/gtrashstack.h +60 -0
  365. package/include/glib-2.0/glib/gtree.h +181 -0
  366. package/include/glib-2.0/glib/gtypes.h +591 -0
  367. package/include/glib-2.0/glib/gunicode.h +974 -0
  368. package/include/glib-2.0/glib/guri.h +420 -0
  369. package/include/glib-2.0/glib/gutils.h +479 -0
  370. package/include/glib-2.0/glib/guuid.h +42 -0
  371. package/include/glib-2.0/glib/gvariant.h +541 -0
  372. package/include/glib-2.0/glib/gvarianttype.h +384 -0
  373. package/include/glib-2.0/glib/gversion.h +57 -0
  374. package/include/glib-2.0/glib/gversionmacros.h +490 -0
  375. package/include/glib-2.0/glib/gwin32.h +142 -0
  376. package/include/glib-2.0/glib-object.h +46 -0
  377. package/include/glib-2.0/glib-unix.h +125 -0
  378. package/include/glib-2.0/glib.h +121 -0
  379. package/include/glib-2.0/gmodule/gmodule-visibility.h +952 -0
  380. package/include/glib-2.0/gmodule.h +147 -0
  381. package/include/glib-2.0/gobject/gbinding.h +156 -0
  382. package/include/glib-2.0/gobject/gbindinggroup.h +85 -0
  383. package/include/glib-2.0/gobject/gboxed.h +124 -0
  384. package/include/glib-2.0/gobject/gclosure.h +323 -0
  385. package/include/glib-2.0/gobject/genums.h +381 -0
  386. package/include/glib-2.0/gobject/glib-enumtypes.h +25 -0
  387. package/include/glib-2.0/gobject/glib-types.h +400 -0
  388. package/include/glib-2.0/gobject/gmarshal.h +434 -0
  389. package/include/glib-2.0/gobject/gobject-autocleanups.h +33 -0
  390. package/include/glib-2.0/gobject/gobject-visibility.h +952 -0
  391. package/include/glib-2.0/gobject/gobject.h +953 -0
  392. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +199 -0
  393. package/include/glib-2.0/gobject/gparam.h +476 -0
  394. package/include/glib-2.0/gobject/gparamspecs.h +1151 -0
  395. package/include/glib-2.0/gobject/gsignal.h +647 -0
  396. package/include/glib-2.0/gobject/gsignalgroup.h +98 -0
  397. package/include/glib-2.0/gobject/gsourceclosure.h +40 -0
  398. package/include/glib-2.0/gobject/gtype.h +2703 -0
  399. package/include/glib-2.0/gobject/gtypemodule.h +302 -0
  400. package/include/glib-2.0/gobject/gtypeplugin.h +136 -0
  401. package/include/glib-2.0/gobject/gvalue.h +212 -0
  402. package/include/glib-2.0/gobject/gvaluearray.h +106 -0
  403. package/include/glib-2.0/gobject/gvaluecollector.h +290 -0
  404. package/include/glib-2.0/gobject/gvaluetypes.h +318 -0
  405. package/include/harfbuzz/hb-aat-layout.h +795 -0
  406. package/include/harfbuzz/hb-aat.h +38 -0
  407. package/include/harfbuzz/hb-blob.h +160 -0
  408. package/include/harfbuzz/hb-buffer.h +799 -0
  409. package/include/harfbuzz/hb-common.h +938 -0
  410. package/include/harfbuzz/hb-cplusplus.hh +223 -0
  411. package/include/harfbuzz/hb-deprecated.h +309 -0
  412. package/include/harfbuzz/hb-draw.h +340 -0
  413. package/include/harfbuzz/hb-face.h +187 -0
  414. package/include/harfbuzz/hb-features.h +119 -0
  415. package/include/harfbuzz/hb-font.h +1153 -0
  416. package/include/harfbuzz/hb-ft.h +145 -0
  417. package/include/harfbuzz/hb-glib.h +56 -0
  418. package/include/harfbuzz/hb-map.h +143 -0
  419. package/include/harfbuzz/hb-ot-color.h +155 -0
  420. package/include/harfbuzz/hb-ot-deprecated.h +147 -0
  421. package/include/harfbuzz/hb-ot-font.h +45 -0
  422. package/include/harfbuzz/hb-ot-layout.h +549 -0
  423. package/include/harfbuzz/hb-ot-math.h +333 -0
  424. package/include/harfbuzz/hb-ot-meta.h +72 -0
  425. package/include/harfbuzz/hb-ot-metrics.h +129 -0
  426. package/include/harfbuzz/hb-ot-name.h +164 -0
  427. package/include/harfbuzz/hb-ot-shape.h +53 -0
  428. package/include/harfbuzz/hb-ot-var.h +191 -0
  429. package/include/harfbuzz/hb-ot.h +49 -0
  430. package/include/harfbuzz/hb-paint.h +1029 -0
  431. package/include/harfbuzz/hb-set.h +203 -0
  432. package/include/harfbuzz/hb-shape-plan.h +122 -0
  433. package/include/harfbuzz/hb-shape.h +74 -0
  434. package/include/harfbuzz/hb-style.h +81 -0
  435. package/include/harfbuzz/hb-subset-repacker.h +81 -0
  436. package/include/harfbuzz/hb-subset.h +241 -0
  437. package/include/harfbuzz/hb-unicode.h +643 -0
  438. package/include/harfbuzz/hb-version.h +95 -0
  439. package/include/harfbuzz/hb.h +51 -0
  440. package/include/index.js +1 -0
  441. package/include/jconfig.h +37 -0
  442. package/include/jerror.h +335 -0
  443. package/include/jmorecfg.h +382 -0
  444. package/include/jpeglib.h +1210 -0
  445. package/include/lcms2.h +1958 -0
  446. package/include/lcms2_plugin.h +700 -0
  447. package/include/libexif/_stdint.h +2 -0
  448. package/include/libexif/exif-byte-order.h +48 -0
  449. package/include/libexif/exif-content.h +181 -0
  450. package/include/libexif/exif-data-type.h +46 -0
  451. package/include/libexif/exif-data.h +267 -0
  452. package/include/libexif/exif-entry.h +186 -0
  453. package/include/libexif/exif-format.h +65 -0
  454. package/include/libexif/exif-ifd.h +51 -0
  455. package/include/libexif/exif-loader.h +128 -0
  456. package/include/libexif/exif-log.h +116 -0
  457. package/include/libexif/exif-mem.h +91 -0
  458. package/include/libexif/exif-mnote-data.h +122 -0
  459. package/include/libexif/exif-tag.h +307 -0
  460. package/include/libexif/exif-utils.h +194 -0
  461. package/include/libheif/heif.h +2092 -0
  462. package/include/libheif/heif_cxx.h +1359 -0
  463. package/include/libheif/heif_plugin.h +306 -0
  464. package/include/libheif/heif_version.h +38 -0
  465. package/include/libimagequant.h +111 -0
  466. package/include/libpng16/png.h +3247 -0
  467. package/include/libpng16/pngconf.h +623 -0
  468. package/include/libpng16/pnglibconf.h +219 -0
  469. package/include/librsvg-2.0/librsvg/rsvg-cairo.h +395 -0
  470. package/include/librsvg-2.0/librsvg/rsvg-features.h +184 -0
  471. package/include/librsvg-2.0/librsvg/rsvg-version.h +13 -0
  472. package/include/librsvg-2.0/librsvg/rsvg.h +1456 -0
  473. package/include/libxml2/libxml/HTMLparser.h +320 -0
  474. package/include/libxml2/libxml/HTMLtree.h +147 -0
  475. package/include/libxml2/libxml/SAX.h +204 -0
  476. package/include/libxml2/libxml/SAX2.h +173 -0
  477. package/include/libxml2/libxml/c14n.h +128 -0
  478. package/include/libxml2/libxml/catalog.h +182 -0
  479. package/include/libxml2/libxml/chvalid.h +230 -0
  480. package/include/libxml2/libxml/debugXML.h +217 -0
  481. package/include/libxml2/libxml/dict.h +81 -0
  482. package/include/libxml2/libxml/encoding.h +233 -0
  483. package/include/libxml2/libxml/entities.h +151 -0
  484. package/include/libxml2/libxml/globals.h +529 -0
  485. package/include/libxml2/libxml/hash.h +236 -0
  486. package/include/libxml2/libxml/list.h +137 -0
  487. package/include/libxml2/libxml/nanoftp.h +186 -0
  488. package/include/libxml2/libxml/nanohttp.h +81 -0
  489. package/include/libxml2/libxml/parser.h +1265 -0
  490. package/include/libxml2/libxml/parserInternals.h +662 -0
  491. package/include/libxml2/libxml/pattern.h +100 -0
  492. package/include/libxml2/libxml/relaxng.h +218 -0
  493. package/include/libxml2/libxml/schemasInternals.h +958 -0
  494. package/include/libxml2/libxml/schematron.h +142 -0
  495. package/include/libxml2/libxml/threads.h +94 -0
  496. package/include/libxml2/libxml/tree.h +1314 -0
  497. package/include/libxml2/libxml/uri.h +94 -0
  498. package/include/libxml2/libxml/valid.h +448 -0
  499. package/include/libxml2/libxml/xinclude.h +129 -0
  500. package/include/libxml2/libxml/xlink.h +189 -0
  501. package/include/libxml2/libxml/xmlIO.h +369 -0
  502. package/include/libxml2/libxml/xmlautomata.h +146 -0
  503. package/include/libxml2/libxml/xmlerror.h +919 -0
  504. package/include/libxml2/libxml/xmlexports.h +50 -0
  505. package/include/libxml2/libxml/xmlmemory.h +228 -0
  506. package/include/libxml2/libxml/xmlmodule.h +57 -0
  507. package/include/libxml2/libxml/xmlreader.h +428 -0
  508. package/include/libxml2/libxml/xmlregexp.h +222 -0
  509. package/include/libxml2/libxml/xmlsave.h +88 -0
  510. package/include/libxml2/libxml/xmlschemas.h +246 -0
  511. package/include/libxml2/libxml/xmlschemastypes.h +152 -0
  512. package/include/libxml2/libxml/xmlstring.h +140 -0
  513. package/include/libxml2/libxml/xmlunicode.h +202 -0
  514. package/include/libxml2/libxml/xmlversion.h +526 -0
  515. package/include/libxml2/libxml/xmlwriter.h +488 -0
  516. package/include/libxml2/libxml/xpath.h +575 -0
  517. package/include/libxml2/libxml/xpathInternals.h +632 -0
  518. package/include/libxml2/libxml/xpointer.h +137 -0
  519. package/include/orc-0.4/orc/orc-stdint.h +1 -0
  520. package/include/orc-0.4/orc/orc.h +16 -0
  521. package/include/orc-0.4/orc/orcarm.h +879 -0
  522. package/include/orc-0.4/orc/orcbytecode.h +35 -0
  523. package/include/orc-0.4/orc/orcbytecodes.h +255 -0
  524. package/include/orc-0.4/orc/orccode.h +53 -0
  525. package/include/orc-0.4/orc/orccompiler.h +176 -0
  526. package/include/orc-0.4/orc/orcconstant.h +39 -0
  527. package/include/orc-0.4/orc/orccpu.h +21 -0
  528. package/include/orc-0.4/orc/orccpuinsn.h +40 -0
  529. package/include/orc-0.4/orc/orcdebug.h +158 -0
  530. package/include/orc-0.4/orc/orcemulateopcodes.h +203 -0
  531. package/include/orc-0.4/orc/orcexecutor.h +135 -0
  532. package/include/orc-0.4/orc/orcfunctions.h +93 -0
  533. package/include/orc-0.4/orc/orcinstruction.h +39 -0
  534. package/include/orc-0.4/orc/orcinternal.h +46 -0
  535. package/include/orc-0.4/orc/orclimits.h +94 -0
  536. package/include/orc-0.4/orc/orcmips.h +229 -0
  537. package/include/orc-0.4/orc/orcmmx.h +79 -0
  538. package/include/orc-0.4/orc/orcneon.h +43 -0
  539. package/include/orc-0.4/orc/orconce.h +166 -0
  540. package/include/orc-0.4/orc/orcopcode.h +63 -0
  541. package/include/orc-0.4/orc/orcparse.h +27 -0
  542. package/include/orc-0.4/orc/orcpowerpc.h +209 -0
  543. package/include/orc-0.4/orc/orcprogram.h +192 -0
  544. package/include/orc-0.4/orc/orcrule.h +52 -0
  545. package/include/orc-0.4/orc/orcsse.h +55 -0
  546. package/include/orc-0.4/orc/orctarget.h +115 -0
  547. package/include/orc-0.4/orc/orcutils.h +238 -0
  548. package/include/orc-0.4/orc/orcvariable.h +81 -0
  549. package/include/orc-0.4/orc/orcx86.h +199 -0
  550. package/include/orc-0.4/orc/orcx86insn.h +672 -0
  551. package/include/pango-1.0/pango/pango-attributes.h +748 -0
  552. package/include/pango-1.0/pango/pango-bidi-type.h +117 -0
  553. package/include/pango-1.0/pango/pango-break.h +144 -0
  554. package/include/pango-1.0/pango/pango-color.h +75 -0
  555. package/include/pango-1.0/pango/pango-context.h +116 -0
  556. package/include/pango-1.0/pango/pango-coverage.h +108 -0
  557. package/include/pango-1.0/pango/pango-direction.h +72 -0
  558. package/include/pango-1.0/pango/pango-engine.h +457 -0
  559. package/include/pango-1.0/pango/pango-enum-types.h +120 -0
  560. package/include/pango-1.0/pango/pango-features.h +10 -0
  561. package/include/pango-1.0/pango/pango-font.h +699 -0
  562. package/include/pango-1.0/pango/pango-fontmap.h +132 -0
  563. package/include/pango-1.0/pango/pango-fontset-simple.h +64 -0
  564. package/include/pango-1.0/pango/pango-fontset.h +134 -0
  565. package/include/pango-1.0/pango/pango-glyph-item.h +175 -0
  566. package/include/pango-1.0/pango/pango-glyph.h +270 -0
  567. package/include/pango-1.0/pango/pango-gravity.h +137 -0
  568. package/include/pango-1.0/pango/pango-item.h +165 -0
  569. package/include/pango-1.0/pango/pango-language.h +70 -0
  570. package/include/pango-1.0/pango/pango-layout.h +554 -0
  571. package/include/pango-1.0/pango/pango-markup.h +52 -0
  572. package/include/pango-1.0/pango/pango-matrix.h +130 -0
  573. package/include/pango-1.0/pango/pango-modules.h +84 -0
  574. package/include/pango-1.0/pango/pango-ot.h +427 -0
  575. package/include/pango-1.0/pango/pango-renderer.h +290 -0
  576. package/include/pango-1.0/pango/pango-script.h +335 -0
  577. package/include/pango-1.0/pango/pango-tabs.h +117 -0
  578. package/include/pango-1.0/pango/pango-types.h +244 -0
  579. package/include/pango-1.0/pango/pango-utils.h +187 -0
  580. package/include/pango-1.0/pango/pango-version-macros.h +756 -0
  581. package/include/pango-1.0/pango/pango.h +54 -0
  582. package/include/pango-1.0/pango/pangocairo.h +220 -0
  583. package/include/pango-1.0/pango/pangofc-decoder.h +122 -0
  584. package/include/pango-1.0/pango/pangofc-font.h +120 -0
  585. package/include/pango-1.0/pango/pangofc-fontmap.h +244 -0
  586. package/include/pango-1.0/pango/pangoft2.h +158 -0
  587. package/include/pixman-1/pixman-version.h +54 -0
  588. package/include/pixman-1/pixman.h +1419 -0
  589. package/include/png.h +3247 -0
  590. package/include/pngconf.h +623 -0
  591. package/include/pnglibconf.h +219 -0
  592. package/include/spng.h +537 -0
  593. package/include/tiff.h +899 -0
  594. package/include/tiffconf.h +145 -0
  595. package/include/tiffio.h +653 -0
  596. package/include/tiffvers.h +36 -0
  597. package/include/vips/VConnection8.h +150 -0
  598. package/include/vips/VError8.h +76 -0
  599. package/include/vips/VImage8.h +6065 -0
  600. package/include/vips/VInterpolate8.h +77 -0
  601. package/include/vips/VRegion8.h +155 -0
  602. package/include/vips/arithmetic.h +571 -0
  603. package/include/vips/basic.h +113 -0
  604. package/include/vips/buf.h +118 -0
  605. package/include/vips/colour.h +306 -0
  606. package/include/vips/connection.h +570 -0
  607. package/include/vips/conversion.h +357 -0
  608. package/include/vips/convolution.h +95 -0
  609. package/include/vips/create.h +161 -0
  610. package/include/vips/dbuf.h +103 -0
  611. package/include/vips/debug.h +74 -0
  612. package/include/vips/draw.h +113 -0
  613. package/include/vips/enumtypes.h +181 -0
  614. package/include/vips/error.h +142 -0
  615. package/include/vips/foreign.h +993 -0
  616. package/include/vips/format.h +135 -0
  617. package/include/vips/freqfilt.h +64 -0
  618. package/include/vips/gate.h +82 -0
  619. package/include/vips/generate.h +92 -0
  620. package/include/vips/header.h +312 -0
  621. package/include/vips/histogram.h +85 -0
  622. package/include/vips/image.h +605 -0
  623. package/include/vips/interpolate.h +141 -0
  624. package/include/vips/memory.h +96 -0
  625. package/include/vips/morphology.h +73 -0
  626. package/include/vips/mosaicing.h +80 -0
  627. package/include/vips/object.h +706 -0
  628. package/include/vips/operation.h +182 -0
  629. package/include/vips/private.h +227 -0
  630. package/include/vips/rect.h +80 -0
  631. package/include/vips/region.h +238 -0
  632. package/include/vips/resample.h +123 -0
  633. package/include/vips/sbuf.h +144 -0
  634. package/include/vips/semaphore.h +77 -0
  635. package/include/vips/thread.h +72 -0
  636. package/include/vips/threadpool.h +160 -0
  637. package/include/vips/transform.h +89 -0
  638. package/include/vips/type.h +305 -0
  639. package/include/vips/util.h +406 -0
  640. package/include/vips/vector.h +183 -0
  641. package/include/vips/version.h +26 -0
  642. package/include/vips/vips.h +194 -0
  643. package/include/vips/vips8 +60 -0
  644. package/include/webp/decode.h +504 -0
  645. package/include/webp/demux.h +363 -0
  646. package/include/webp/encode.h +552 -0
  647. package/include/webp/mux.h +530 -0
  648. package/include/webp/mux_types.h +98 -0
  649. package/include/webp/sharpyuv/sharpyuv.h +103 -0
  650. package/include/webp/sharpyuv/sharpyuv_csp.h +60 -0
  651. package/include/webp/types.h +72 -0
  652. package/include/zconf.h +203 -0
  653. package/include/zlib.h +1855 -0
  654. package/include/zlib_name_mangling.h +8 -0
  655. package/package.json +30 -0
  656. package/versions.json +31 -0
@@ -0,0 +1,3760 @@
1
+ // bodies for vips operations
2
+ // this file is generated automatically, do not edit!
3
+
4
+ VImage VImage::CMC2LCh( VOption *options ) const
5
+ {
6
+ VImage out;
7
+
8
+ call( "CMC2LCh",
9
+ (options ? options : VImage::option())->
10
+ set( "in", *this )->
11
+ set( "out", &out ) );
12
+
13
+ return( out );
14
+ }
15
+
16
+ VImage VImage::CMYK2XYZ( VOption *options ) const
17
+ {
18
+ VImage out;
19
+
20
+ call( "CMYK2XYZ",
21
+ (options ? options : VImage::option())->
22
+ set( "in", *this )->
23
+ set( "out", &out ) );
24
+
25
+ return( out );
26
+ }
27
+
28
+ VImage VImage::HSV2sRGB( VOption *options ) const
29
+ {
30
+ VImage out;
31
+
32
+ call( "HSV2sRGB",
33
+ (options ? options : VImage::option())->
34
+ set( "in", *this )->
35
+ set( "out", &out ) );
36
+
37
+ return( out );
38
+ }
39
+
40
+ VImage VImage::LCh2CMC( VOption *options ) const
41
+ {
42
+ VImage out;
43
+
44
+ call( "LCh2CMC",
45
+ (options ? options : VImage::option())->
46
+ set( "in", *this )->
47
+ set( "out", &out ) );
48
+
49
+ return( out );
50
+ }
51
+
52
+ VImage VImage::LCh2Lab( VOption *options ) const
53
+ {
54
+ VImage out;
55
+
56
+ call( "LCh2Lab",
57
+ (options ? options : VImage::option())->
58
+ set( "in", *this )->
59
+ set( "out", &out ) );
60
+
61
+ return( out );
62
+ }
63
+
64
+ VImage VImage::Lab2LCh( VOption *options ) const
65
+ {
66
+ VImage out;
67
+
68
+ call( "Lab2LCh",
69
+ (options ? options : VImage::option())->
70
+ set( "in", *this )->
71
+ set( "out", &out ) );
72
+
73
+ return( out );
74
+ }
75
+
76
+ VImage VImage::Lab2LabQ( VOption *options ) const
77
+ {
78
+ VImage out;
79
+
80
+ call( "Lab2LabQ",
81
+ (options ? options : VImage::option())->
82
+ set( "in", *this )->
83
+ set( "out", &out ) );
84
+
85
+ return( out );
86
+ }
87
+
88
+ VImage VImage::Lab2LabS( VOption *options ) const
89
+ {
90
+ VImage out;
91
+
92
+ call( "Lab2LabS",
93
+ (options ? options : VImage::option())->
94
+ set( "in", *this )->
95
+ set( "out", &out ) );
96
+
97
+ return( out );
98
+ }
99
+
100
+ VImage VImage::Lab2XYZ( VOption *options ) const
101
+ {
102
+ VImage out;
103
+
104
+ call( "Lab2XYZ",
105
+ (options ? options : VImage::option())->
106
+ set( "in", *this )->
107
+ set( "out", &out ) );
108
+
109
+ return( out );
110
+ }
111
+
112
+ VImage VImage::LabQ2Lab( VOption *options ) const
113
+ {
114
+ VImage out;
115
+
116
+ call( "LabQ2Lab",
117
+ (options ? options : VImage::option())->
118
+ set( "in", *this )->
119
+ set( "out", &out ) );
120
+
121
+ return( out );
122
+ }
123
+
124
+ VImage VImage::LabQ2LabS( VOption *options ) const
125
+ {
126
+ VImage out;
127
+
128
+ call( "LabQ2LabS",
129
+ (options ? options : VImage::option())->
130
+ set( "in", *this )->
131
+ set( "out", &out ) );
132
+
133
+ return( out );
134
+ }
135
+
136
+ VImage VImage::LabQ2sRGB( VOption *options ) const
137
+ {
138
+ VImage out;
139
+
140
+ call( "LabQ2sRGB",
141
+ (options ? options : VImage::option())->
142
+ set( "in", *this )->
143
+ set( "out", &out ) );
144
+
145
+ return( out );
146
+ }
147
+
148
+ VImage VImage::LabS2Lab( VOption *options ) const
149
+ {
150
+ VImage out;
151
+
152
+ call( "LabS2Lab",
153
+ (options ? options : VImage::option())->
154
+ set( "in", *this )->
155
+ set( "out", &out ) );
156
+
157
+ return( out );
158
+ }
159
+
160
+ VImage VImage::LabS2LabQ( VOption *options ) const
161
+ {
162
+ VImage out;
163
+
164
+ call( "LabS2LabQ",
165
+ (options ? options : VImage::option())->
166
+ set( "in", *this )->
167
+ set( "out", &out ) );
168
+
169
+ return( out );
170
+ }
171
+
172
+ VImage VImage::XYZ2CMYK( VOption *options ) const
173
+ {
174
+ VImage out;
175
+
176
+ call( "XYZ2CMYK",
177
+ (options ? options : VImage::option())->
178
+ set( "in", *this )->
179
+ set( "out", &out ) );
180
+
181
+ return( out );
182
+ }
183
+
184
+ VImage VImage::XYZ2Lab( VOption *options ) const
185
+ {
186
+ VImage out;
187
+
188
+ call( "XYZ2Lab",
189
+ (options ? options : VImage::option())->
190
+ set( "in", *this )->
191
+ set( "out", &out ) );
192
+
193
+ return( out );
194
+ }
195
+
196
+ VImage VImage::XYZ2Yxy( VOption *options ) const
197
+ {
198
+ VImage out;
199
+
200
+ call( "XYZ2Yxy",
201
+ (options ? options : VImage::option())->
202
+ set( "in", *this )->
203
+ set( "out", &out ) );
204
+
205
+ return( out );
206
+ }
207
+
208
+ VImage VImage::XYZ2scRGB( VOption *options ) const
209
+ {
210
+ VImage out;
211
+
212
+ call( "XYZ2scRGB",
213
+ (options ? options : VImage::option())->
214
+ set( "in", *this )->
215
+ set( "out", &out ) );
216
+
217
+ return( out );
218
+ }
219
+
220
+ VImage VImage::Yxy2XYZ( VOption *options ) const
221
+ {
222
+ VImage out;
223
+
224
+ call( "Yxy2XYZ",
225
+ (options ? options : VImage::option())->
226
+ set( "in", *this )->
227
+ set( "out", &out ) );
228
+
229
+ return( out );
230
+ }
231
+
232
+ VImage VImage::abs( VOption *options ) const
233
+ {
234
+ VImage out;
235
+
236
+ call( "abs",
237
+ (options ? options : VImage::option())->
238
+ set( "in", *this )->
239
+ set( "out", &out ) );
240
+
241
+ return( out );
242
+ }
243
+
244
+ VImage VImage::add( VImage right, VOption *options ) const
245
+ {
246
+ VImage out;
247
+
248
+ call( "add",
249
+ (options ? options : VImage::option())->
250
+ set( "left", *this )->
251
+ set( "out", &out )->
252
+ set( "right", right ) );
253
+
254
+ return( out );
255
+ }
256
+
257
+ VImage VImage::affine( std::vector<double> matrix, VOption *options ) const
258
+ {
259
+ VImage out;
260
+
261
+ call( "affine",
262
+ (options ? options : VImage::option())->
263
+ set( "in", *this )->
264
+ set( "out", &out )->
265
+ set( "matrix", matrix ) );
266
+
267
+ return( out );
268
+ }
269
+
270
+ VImage VImage::analyzeload( const char *filename, VOption *options )
271
+ {
272
+ VImage out;
273
+
274
+ call( "analyzeload",
275
+ (options ? options : VImage::option())->
276
+ set( "out", &out )->
277
+ set( "filename", filename ) );
278
+
279
+ return( out );
280
+ }
281
+
282
+ VImage VImage::arrayjoin( std::vector<VImage> in, VOption *options )
283
+ {
284
+ VImage out;
285
+
286
+ call( "arrayjoin",
287
+ (options ? options : VImage::option())->
288
+ set( "out", &out )->
289
+ set( "in", in ) );
290
+
291
+ return( out );
292
+ }
293
+
294
+ VImage VImage::autorot( VOption *options ) const
295
+ {
296
+ VImage out;
297
+
298
+ call( "autorot",
299
+ (options ? options : VImage::option())->
300
+ set( "in", *this )->
301
+ set( "out", &out ) );
302
+
303
+ return( out );
304
+ }
305
+
306
+ double VImage::avg( VOption *options ) const
307
+ {
308
+ double out;
309
+
310
+ call( "avg",
311
+ (options ? options : VImage::option())->
312
+ set( "in", *this )->
313
+ set( "out", &out ) );
314
+
315
+ return( out );
316
+ }
317
+
318
+ VImage VImage::bandbool( VipsOperationBoolean boolean, VOption *options ) const
319
+ {
320
+ VImage out;
321
+
322
+ call( "bandbool",
323
+ (options ? options : VImage::option())->
324
+ set( "in", *this )->
325
+ set( "out", &out )->
326
+ set( "boolean", boolean ) );
327
+
328
+ return( out );
329
+ }
330
+
331
+ VImage VImage::bandfold( VOption *options ) const
332
+ {
333
+ VImage out;
334
+
335
+ call( "bandfold",
336
+ (options ? options : VImage::option())->
337
+ set( "in", *this )->
338
+ set( "out", &out ) );
339
+
340
+ return( out );
341
+ }
342
+
343
+ VImage VImage::bandjoin( std::vector<VImage> in, VOption *options )
344
+ {
345
+ VImage out;
346
+
347
+ call( "bandjoin",
348
+ (options ? options : VImage::option())->
349
+ set( "out", &out )->
350
+ set( "in", in ) );
351
+
352
+ return( out );
353
+ }
354
+
355
+ VImage VImage::bandjoin_const( std::vector<double> c, VOption *options ) const
356
+ {
357
+ VImage out;
358
+
359
+ call( "bandjoin_const",
360
+ (options ? options : VImage::option())->
361
+ set( "in", *this )->
362
+ set( "out", &out )->
363
+ set( "c", c ) );
364
+
365
+ return( out );
366
+ }
367
+
368
+ VImage VImage::bandmean( VOption *options ) const
369
+ {
370
+ VImage out;
371
+
372
+ call( "bandmean",
373
+ (options ? options : VImage::option())->
374
+ set( "in", *this )->
375
+ set( "out", &out ) );
376
+
377
+ return( out );
378
+ }
379
+
380
+ VImage VImage::bandrank( std::vector<VImage> in, VOption *options )
381
+ {
382
+ VImage out;
383
+
384
+ call( "bandrank",
385
+ (options ? options : VImage::option())->
386
+ set( "out", &out )->
387
+ set( "in", in ) );
388
+
389
+ return( out );
390
+ }
391
+
392
+ VImage VImage::bandunfold( VOption *options ) const
393
+ {
394
+ VImage out;
395
+
396
+ call( "bandunfold",
397
+ (options ? options : VImage::option())->
398
+ set( "in", *this )->
399
+ set( "out", &out ) );
400
+
401
+ return( out );
402
+ }
403
+
404
+ VImage VImage::black( int width, int height, VOption *options )
405
+ {
406
+ VImage out;
407
+
408
+ call( "black",
409
+ (options ? options : VImage::option())->
410
+ set( "out", &out )->
411
+ set( "width", width )->
412
+ set( "height", height ) );
413
+
414
+ return( out );
415
+ }
416
+
417
+ VImage VImage::boolean( VImage right, VipsOperationBoolean boolean, VOption *options ) const
418
+ {
419
+ VImage out;
420
+
421
+ call( "boolean",
422
+ (options ? options : VImage::option())->
423
+ set( "left", *this )->
424
+ set( "out", &out )->
425
+ set( "right", right )->
426
+ set( "boolean", boolean ) );
427
+
428
+ return( out );
429
+ }
430
+
431
+ VImage VImage::boolean_const( VipsOperationBoolean boolean, std::vector<double> c, VOption *options ) const
432
+ {
433
+ VImage out;
434
+
435
+ call( "boolean_const",
436
+ (options ? options : VImage::option())->
437
+ set( "in", *this )->
438
+ set( "out", &out )->
439
+ set( "boolean", boolean )->
440
+ set( "c", c ) );
441
+
442
+ return( out );
443
+ }
444
+
445
+ VImage VImage::buildlut( VOption *options ) const
446
+ {
447
+ VImage out;
448
+
449
+ call( "buildlut",
450
+ (options ? options : VImage::option())->
451
+ set( "in", *this )->
452
+ set( "out", &out ) );
453
+
454
+ return( out );
455
+ }
456
+
457
+ VImage VImage::byteswap( VOption *options ) const
458
+ {
459
+ VImage out;
460
+
461
+ call( "byteswap",
462
+ (options ? options : VImage::option())->
463
+ set( "in", *this )->
464
+ set( "out", &out ) );
465
+
466
+ return( out );
467
+ }
468
+
469
+ VImage VImage::cache( VOption *options ) const
470
+ {
471
+ VImage out;
472
+
473
+ call( "cache",
474
+ (options ? options : VImage::option())->
475
+ set( "in", *this )->
476
+ set( "out", &out ) );
477
+
478
+ return( out );
479
+ }
480
+
481
+ VImage VImage::canny( VOption *options ) const
482
+ {
483
+ VImage out;
484
+
485
+ call( "canny",
486
+ (options ? options : VImage::option())->
487
+ set( "in", *this )->
488
+ set( "out", &out ) );
489
+
490
+ return( out );
491
+ }
492
+
493
+ VImage VImage::case_image( std::vector<VImage> cases, VOption *options ) const
494
+ {
495
+ VImage out;
496
+
497
+ call( "case",
498
+ (options ? options : VImage::option())->
499
+ set( "index", *this )->
500
+ set( "out", &out )->
501
+ set( "cases", cases ) );
502
+
503
+ return( out );
504
+ }
505
+
506
+ VImage VImage::cast( VipsBandFormat format, VOption *options ) const
507
+ {
508
+ VImage out;
509
+
510
+ call( "cast",
511
+ (options ? options : VImage::option())->
512
+ set( "in", *this )->
513
+ set( "out", &out )->
514
+ set( "format", format ) );
515
+
516
+ return( out );
517
+ }
518
+
519
+ VImage VImage::colourspace( VipsInterpretation space, VOption *options ) const
520
+ {
521
+ VImage out;
522
+
523
+ call( "colourspace",
524
+ (options ? options : VImage::option())->
525
+ set( "in", *this )->
526
+ set( "out", &out )->
527
+ set( "space", space ) );
528
+
529
+ return( out );
530
+ }
531
+
532
+ VImage VImage::compass( VImage mask, VOption *options ) const
533
+ {
534
+ VImage out;
535
+
536
+ call( "compass",
537
+ (options ? options : VImage::option())->
538
+ set( "in", *this )->
539
+ set( "out", &out )->
540
+ set( "mask", mask ) );
541
+
542
+ return( out );
543
+ }
544
+
545
+ VImage VImage::complex( VipsOperationComplex cmplx, VOption *options ) const
546
+ {
547
+ VImage out;
548
+
549
+ call( "complex",
550
+ (options ? options : VImage::option())->
551
+ set( "in", *this )->
552
+ set( "out", &out )->
553
+ set( "cmplx", cmplx ) );
554
+
555
+ return( out );
556
+ }
557
+
558
+ VImage VImage::complex2( VImage right, VipsOperationComplex2 cmplx, VOption *options ) const
559
+ {
560
+ VImage out;
561
+
562
+ call( "complex2",
563
+ (options ? options : VImage::option())->
564
+ set( "left", *this )->
565
+ set( "out", &out )->
566
+ set( "right", right )->
567
+ set( "cmplx", cmplx ) );
568
+
569
+ return( out );
570
+ }
571
+
572
+ VImage VImage::complexform( VImage right, VOption *options ) const
573
+ {
574
+ VImage out;
575
+
576
+ call( "complexform",
577
+ (options ? options : VImage::option())->
578
+ set( "left", *this )->
579
+ set( "out", &out )->
580
+ set( "right", right ) );
581
+
582
+ return( out );
583
+ }
584
+
585
+ VImage VImage::complexget( VipsOperationComplexget get, VOption *options ) const
586
+ {
587
+ VImage out;
588
+
589
+ call( "complexget",
590
+ (options ? options : VImage::option())->
591
+ set( "in", *this )->
592
+ set( "out", &out )->
593
+ set( "get", get ) );
594
+
595
+ return( out );
596
+ }
597
+
598
+ VImage VImage::composite( std::vector<VImage> in, std::vector<int> mode, VOption *options )
599
+ {
600
+ VImage out;
601
+
602
+ call( "composite",
603
+ (options ? options : VImage::option())->
604
+ set( "out", &out )->
605
+ set( "in", in )->
606
+ set( "mode", mode ) );
607
+
608
+ return( out );
609
+ }
610
+
611
+ VImage VImage::composite2( VImage overlay, VipsBlendMode mode, VOption *options ) const
612
+ {
613
+ VImage out;
614
+
615
+ call( "composite2",
616
+ (options ? options : VImage::option())->
617
+ set( "base", *this )->
618
+ set( "out", &out )->
619
+ set( "overlay", overlay )->
620
+ set( "mode", mode ) );
621
+
622
+ return( out );
623
+ }
624
+
625
+ VImage VImage::conv( VImage mask, VOption *options ) const
626
+ {
627
+ VImage out;
628
+
629
+ call( "conv",
630
+ (options ? options : VImage::option())->
631
+ set( "in", *this )->
632
+ set( "out", &out )->
633
+ set( "mask", mask ) );
634
+
635
+ return( out );
636
+ }
637
+
638
+ VImage VImage::conva( VImage mask, VOption *options ) const
639
+ {
640
+ VImage out;
641
+
642
+ call( "conva",
643
+ (options ? options : VImage::option())->
644
+ set( "in", *this )->
645
+ set( "out", &out )->
646
+ set( "mask", mask ) );
647
+
648
+ return( out );
649
+ }
650
+
651
+ VImage VImage::convasep( VImage mask, VOption *options ) const
652
+ {
653
+ VImage out;
654
+
655
+ call( "convasep",
656
+ (options ? options : VImage::option())->
657
+ set( "in", *this )->
658
+ set( "out", &out )->
659
+ set( "mask", mask ) );
660
+
661
+ return( out );
662
+ }
663
+
664
+ VImage VImage::convf( VImage mask, VOption *options ) const
665
+ {
666
+ VImage out;
667
+
668
+ call( "convf",
669
+ (options ? options : VImage::option())->
670
+ set( "in", *this )->
671
+ set( "out", &out )->
672
+ set( "mask", mask ) );
673
+
674
+ return( out );
675
+ }
676
+
677
+ VImage VImage::convi( VImage mask, VOption *options ) const
678
+ {
679
+ VImage out;
680
+
681
+ call( "convi",
682
+ (options ? options : VImage::option())->
683
+ set( "in", *this )->
684
+ set( "out", &out )->
685
+ set( "mask", mask ) );
686
+
687
+ return( out );
688
+ }
689
+
690
+ VImage VImage::convsep( VImage mask, VOption *options ) const
691
+ {
692
+ VImage out;
693
+
694
+ call( "convsep",
695
+ (options ? options : VImage::option())->
696
+ set( "in", *this )->
697
+ set( "out", &out )->
698
+ set( "mask", mask ) );
699
+
700
+ return( out );
701
+ }
702
+
703
+ VImage VImage::copy( VOption *options ) const
704
+ {
705
+ VImage out;
706
+
707
+ call( "copy",
708
+ (options ? options : VImage::option())->
709
+ set( "in", *this )->
710
+ set( "out", &out ) );
711
+
712
+ return( out );
713
+ }
714
+
715
+ double VImage::countlines( VipsDirection direction, VOption *options ) const
716
+ {
717
+ double nolines;
718
+
719
+ call( "countlines",
720
+ (options ? options : VImage::option())->
721
+ set( "in", *this )->
722
+ set( "nolines", &nolines )->
723
+ set( "direction", direction ) );
724
+
725
+ return( nolines );
726
+ }
727
+
728
+ VImage VImage::crop( int left, int top, int width, int height, VOption *options ) const
729
+ {
730
+ VImage out;
731
+
732
+ call( "crop",
733
+ (options ? options : VImage::option())->
734
+ set( "input", *this )->
735
+ set( "out", &out )->
736
+ set( "left", left )->
737
+ set( "top", top )->
738
+ set( "width", width )->
739
+ set( "height", height ) );
740
+
741
+ return( out );
742
+ }
743
+
744
+ VImage VImage::csvload( const char *filename, VOption *options )
745
+ {
746
+ VImage out;
747
+
748
+ call( "csvload",
749
+ (options ? options : VImage::option())->
750
+ set( "out", &out )->
751
+ set( "filename", filename ) );
752
+
753
+ return( out );
754
+ }
755
+
756
+ VImage VImage::csvload_source( VSource source, VOption *options )
757
+ {
758
+ VImage out;
759
+
760
+ call( "csvload_source",
761
+ (options ? options : VImage::option())->
762
+ set( "out", &out )->
763
+ set( "source", source ) );
764
+
765
+ return( out );
766
+ }
767
+
768
+ void VImage::csvsave( const char *filename, VOption *options ) const
769
+ {
770
+ call( "csvsave",
771
+ (options ? options : VImage::option())->
772
+ set( "in", *this )->
773
+ set( "filename", filename ) );
774
+ }
775
+
776
+ void VImage::csvsave_target( VTarget target, VOption *options ) const
777
+ {
778
+ call( "csvsave_target",
779
+ (options ? options : VImage::option())->
780
+ set( "in", *this )->
781
+ set( "target", target ) );
782
+ }
783
+
784
+ VImage VImage::dE00( VImage right, VOption *options ) const
785
+ {
786
+ VImage out;
787
+
788
+ call( "dE00",
789
+ (options ? options : VImage::option())->
790
+ set( "left", *this )->
791
+ set( "out", &out )->
792
+ set( "right", right ) );
793
+
794
+ return( out );
795
+ }
796
+
797
+ VImage VImage::dE76( VImage right, VOption *options ) const
798
+ {
799
+ VImage out;
800
+
801
+ call( "dE76",
802
+ (options ? options : VImage::option())->
803
+ set( "left", *this )->
804
+ set( "out", &out )->
805
+ set( "right", right ) );
806
+
807
+ return( out );
808
+ }
809
+
810
+ VImage VImage::dECMC( VImage right, VOption *options ) const
811
+ {
812
+ VImage out;
813
+
814
+ call( "dECMC",
815
+ (options ? options : VImage::option())->
816
+ set( "left", *this )->
817
+ set( "out", &out )->
818
+ set( "right", right ) );
819
+
820
+ return( out );
821
+ }
822
+
823
+ double VImage::deviate( VOption *options ) const
824
+ {
825
+ double out;
826
+
827
+ call( "deviate",
828
+ (options ? options : VImage::option())->
829
+ set( "in", *this )->
830
+ set( "out", &out ) );
831
+
832
+ return( out );
833
+ }
834
+
835
+ VImage VImage::divide( VImage right, VOption *options ) const
836
+ {
837
+ VImage out;
838
+
839
+ call( "divide",
840
+ (options ? options : VImage::option())->
841
+ set( "left", *this )->
842
+ set( "out", &out )->
843
+ set( "right", right ) );
844
+
845
+ return( out );
846
+ }
847
+
848
+ void VImage::draw_circle( std::vector<double> ink, int cx, int cy, int radius, VOption *options ) const
849
+ {
850
+ call( "draw_circle",
851
+ (options ? options : VImage::option())->
852
+ set( "image", *this )->
853
+ set( "ink", ink )->
854
+ set( "cx", cx )->
855
+ set( "cy", cy )->
856
+ set( "radius", radius ) );
857
+ }
858
+
859
+ void VImage::draw_flood( std::vector<double> ink, int x, int y, VOption *options ) const
860
+ {
861
+ call( "draw_flood",
862
+ (options ? options : VImage::option())->
863
+ set( "image", *this )->
864
+ set( "ink", ink )->
865
+ set( "x", x )->
866
+ set( "y", y ) );
867
+ }
868
+
869
+ void VImage::draw_image( VImage sub, int x, int y, VOption *options ) const
870
+ {
871
+ call( "draw_image",
872
+ (options ? options : VImage::option())->
873
+ set( "image", *this )->
874
+ set( "sub", sub )->
875
+ set( "x", x )->
876
+ set( "y", y ) );
877
+ }
878
+
879
+ void VImage::draw_line( std::vector<double> ink, int x1, int y1, int x2, int y2, VOption *options ) const
880
+ {
881
+ call( "draw_line",
882
+ (options ? options : VImage::option())->
883
+ set( "image", *this )->
884
+ set( "ink", ink )->
885
+ set( "x1", x1 )->
886
+ set( "y1", y1 )->
887
+ set( "x2", x2 )->
888
+ set( "y2", y2 ) );
889
+ }
890
+
891
+ void VImage::draw_mask( std::vector<double> ink, VImage mask, int x, int y, VOption *options ) const
892
+ {
893
+ call( "draw_mask",
894
+ (options ? options : VImage::option())->
895
+ set( "image", *this )->
896
+ set( "ink", ink )->
897
+ set( "mask", mask )->
898
+ set( "x", x )->
899
+ set( "y", y ) );
900
+ }
901
+
902
+ void VImage::draw_rect( std::vector<double> ink, int left, int top, int width, int height, VOption *options ) const
903
+ {
904
+ call( "draw_rect",
905
+ (options ? options : VImage::option())->
906
+ set( "image", *this )->
907
+ set( "ink", ink )->
908
+ set( "left", left )->
909
+ set( "top", top )->
910
+ set( "width", width )->
911
+ set( "height", height ) );
912
+ }
913
+
914
+ void VImage::draw_smudge( int left, int top, int width, int height, VOption *options ) const
915
+ {
916
+ call( "draw_smudge",
917
+ (options ? options : VImage::option())->
918
+ set( "image", *this )->
919
+ set( "left", left )->
920
+ set( "top", top )->
921
+ set( "width", width )->
922
+ set( "height", height ) );
923
+ }
924
+
925
+ void VImage::dzsave( const char *filename, VOption *options ) const
926
+ {
927
+ call( "dzsave",
928
+ (options ? options : VImage::option())->
929
+ set( "in", *this )->
930
+ set( "filename", filename ) );
931
+ }
932
+
933
+ VipsBlob *VImage::dzsave_buffer( VOption *options ) const
934
+ {
935
+ VipsBlob *buffer;
936
+
937
+ call( "dzsave_buffer",
938
+ (options ? options : VImage::option())->
939
+ set( "in", *this )->
940
+ set( "buffer", &buffer ) );
941
+
942
+ return( buffer );
943
+ }
944
+
945
+ void VImage::dzsave_target( VTarget target, VOption *options ) const
946
+ {
947
+ call( "dzsave_target",
948
+ (options ? options : VImage::option())->
949
+ set( "in", *this )->
950
+ set( "target", target ) );
951
+ }
952
+
953
+ VImage VImage::embed( int x, int y, int width, int height, VOption *options ) const
954
+ {
955
+ VImage out;
956
+
957
+ call( "embed",
958
+ (options ? options : VImage::option())->
959
+ set( "in", *this )->
960
+ set( "out", &out )->
961
+ set( "x", x )->
962
+ set( "y", y )->
963
+ set( "width", width )->
964
+ set( "height", height ) );
965
+
966
+ return( out );
967
+ }
968
+
969
+ VImage VImage::extract_area( int left, int top, int width, int height, VOption *options ) const
970
+ {
971
+ VImage out;
972
+
973
+ call( "extract_area",
974
+ (options ? options : VImage::option())->
975
+ set( "input", *this )->
976
+ set( "out", &out )->
977
+ set( "left", left )->
978
+ set( "top", top )->
979
+ set( "width", width )->
980
+ set( "height", height ) );
981
+
982
+ return( out );
983
+ }
984
+
985
+ VImage VImage::extract_band( int band, VOption *options ) const
986
+ {
987
+ VImage out;
988
+
989
+ call( "extract_band",
990
+ (options ? options : VImage::option())->
991
+ set( "in", *this )->
992
+ set( "out", &out )->
993
+ set( "band", band ) );
994
+
995
+ return( out );
996
+ }
997
+
998
+ VImage VImage::eye( int width, int height, VOption *options )
999
+ {
1000
+ VImage out;
1001
+
1002
+ call( "eye",
1003
+ (options ? options : VImage::option())->
1004
+ set( "out", &out )->
1005
+ set( "width", width )->
1006
+ set( "height", height ) );
1007
+
1008
+ return( out );
1009
+ }
1010
+
1011
+ VImage VImage::falsecolour( VOption *options ) const
1012
+ {
1013
+ VImage out;
1014
+
1015
+ call( "falsecolour",
1016
+ (options ? options : VImage::option())->
1017
+ set( "in", *this )->
1018
+ set( "out", &out ) );
1019
+
1020
+ return( out );
1021
+ }
1022
+
1023
+ VImage VImage::fastcor( VImage ref, VOption *options ) const
1024
+ {
1025
+ VImage out;
1026
+
1027
+ call( "fastcor",
1028
+ (options ? options : VImage::option())->
1029
+ set( "in", *this )->
1030
+ set( "out", &out )->
1031
+ set( "ref", ref ) );
1032
+
1033
+ return( out );
1034
+ }
1035
+
1036
+ VImage VImage::fill_nearest( VOption *options ) const
1037
+ {
1038
+ VImage out;
1039
+
1040
+ call( "fill_nearest",
1041
+ (options ? options : VImage::option())->
1042
+ set( "in", *this )->
1043
+ set( "out", &out ) );
1044
+
1045
+ return( out );
1046
+ }
1047
+
1048
+ int VImage::find_trim( int *top, int *width, int *height, VOption *options ) const
1049
+ {
1050
+ int left;
1051
+
1052
+ call( "find_trim",
1053
+ (options ? options : VImage::option())->
1054
+ set( "in", *this )->
1055
+ set( "left", &left )->
1056
+ set( "top", top )->
1057
+ set( "width", width )->
1058
+ set( "height", height ) );
1059
+
1060
+ return( left );
1061
+ }
1062
+
1063
+ VImage VImage::fitsload( const char *filename, VOption *options )
1064
+ {
1065
+ VImage out;
1066
+
1067
+ call( "fitsload",
1068
+ (options ? options : VImage::option())->
1069
+ set( "out", &out )->
1070
+ set( "filename", filename ) );
1071
+
1072
+ return( out );
1073
+ }
1074
+
1075
+ VImage VImage::fitsload_source( VSource source, VOption *options )
1076
+ {
1077
+ VImage out;
1078
+
1079
+ call( "fitsload_source",
1080
+ (options ? options : VImage::option())->
1081
+ set( "out", &out )->
1082
+ set( "source", source ) );
1083
+
1084
+ return( out );
1085
+ }
1086
+
1087
+ void VImage::fitssave( const char *filename, VOption *options ) const
1088
+ {
1089
+ call( "fitssave",
1090
+ (options ? options : VImage::option())->
1091
+ set( "in", *this )->
1092
+ set( "filename", filename ) );
1093
+ }
1094
+
1095
+ VImage VImage::flatten( VOption *options ) const
1096
+ {
1097
+ VImage out;
1098
+
1099
+ call( "flatten",
1100
+ (options ? options : VImage::option())->
1101
+ set( "in", *this )->
1102
+ set( "out", &out ) );
1103
+
1104
+ return( out );
1105
+ }
1106
+
1107
+ VImage VImage::flip( VipsDirection direction, VOption *options ) const
1108
+ {
1109
+ VImage out;
1110
+
1111
+ call( "flip",
1112
+ (options ? options : VImage::option())->
1113
+ set( "in", *this )->
1114
+ set( "out", &out )->
1115
+ set( "direction", direction ) );
1116
+
1117
+ return( out );
1118
+ }
1119
+
1120
+ VImage VImage::float2rad( VOption *options ) const
1121
+ {
1122
+ VImage out;
1123
+
1124
+ call( "float2rad",
1125
+ (options ? options : VImage::option())->
1126
+ set( "in", *this )->
1127
+ set( "out", &out ) );
1128
+
1129
+ return( out );
1130
+ }
1131
+
1132
+ VImage VImage::fractsurf( int width, int height, double fractal_dimension, VOption *options )
1133
+ {
1134
+ VImage out;
1135
+
1136
+ call( "fractsurf",
1137
+ (options ? options : VImage::option())->
1138
+ set( "out", &out )->
1139
+ set( "width", width )->
1140
+ set( "height", height )->
1141
+ set( "fractal_dimension", fractal_dimension ) );
1142
+
1143
+ return( out );
1144
+ }
1145
+
1146
+ VImage VImage::freqmult( VImage mask, VOption *options ) const
1147
+ {
1148
+ VImage out;
1149
+
1150
+ call( "freqmult",
1151
+ (options ? options : VImage::option())->
1152
+ set( "in", *this )->
1153
+ set( "out", &out )->
1154
+ set( "mask", mask ) );
1155
+
1156
+ return( out );
1157
+ }
1158
+
1159
+ VImage VImage::fwfft( VOption *options ) const
1160
+ {
1161
+ VImage out;
1162
+
1163
+ call( "fwfft",
1164
+ (options ? options : VImage::option())->
1165
+ set( "in", *this )->
1166
+ set( "out", &out ) );
1167
+
1168
+ return( out );
1169
+ }
1170
+
1171
+ VImage VImage::gamma( VOption *options ) const
1172
+ {
1173
+ VImage out;
1174
+
1175
+ call( "gamma",
1176
+ (options ? options : VImage::option())->
1177
+ set( "in", *this )->
1178
+ set( "out", &out ) );
1179
+
1180
+ return( out );
1181
+ }
1182
+
1183
+ VImage VImage::gaussblur( double sigma, VOption *options ) const
1184
+ {
1185
+ VImage out;
1186
+
1187
+ call( "gaussblur",
1188
+ (options ? options : VImage::option())->
1189
+ set( "in", *this )->
1190
+ set( "out", &out )->
1191
+ set( "sigma", sigma ) );
1192
+
1193
+ return( out );
1194
+ }
1195
+
1196
+ VImage VImage::gaussmat( double sigma, double min_ampl, VOption *options )
1197
+ {
1198
+ VImage out;
1199
+
1200
+ call( "gaussmat",
1201
+ (options ? options : VImage::option())->
1202
+ set( "out", &out )->
1203
+ set( "sigma", sigma )->
1204
+ set( "min_ampl", min_ampl ) );
1205
+
1206
+ return( out );
1207
+ }
1208
+
1209
+ VImage VImage::gaussnoise( int width, int height, VOption *options )
1210
+ {
1211
+ VImage out;
1212
+
1213
+ call( "gaussnoise",
1214
+ (options ? options : VImage::option())->
1215
+ set( "out", &out )->
1216
+ set( "width", width )->
1217
+ set( "height", height ) );
1218
+
1219
+ return( out );
1220
+ }
1221
+
1222
+ std::vector<double> VImage::getpoint( int x, int y, VOption *options ) const
1223
+ {
1224
+ std::vector<double> out_array;
1225
+
1226
+ call( "getpoint",
1227
+ (options ? options : VImage::option())->
1228
+ set( "in", *this )->
1229
+ set( "out_array", &out_array )->
1230
+ set( "x", x )->
1231
+ set( "y", y ) );
1232
+
1233
+ return( out_array );
1234
+ }
1235
+
1236
+ VImage VImage::gifload( const char *filename, VOption *options )
1237
+ {
1238
+ VImage out;
1239
+
1240
+ call( "gifload",
1241
+ (options ? options : VImage::option())->
1242
+ set( "out", &out )->
1243
+ set( "filename", filename ) );
1244
+
1245
+ return( out );
1246
+ }
1247
+
1248
+ VImage VImage::gifload_buffer( VipsBlob *buffer, VOption *options )
1249
+ {
1250
+ VImage out;
1251
+
1252
+ call( "gifload_buffer",
1253
+ (options ? options : VImage::option())->
1254
+ set( "out", &out )->
1255
+ set( "buffer", buffer ) );
1256
+
1257
+ return( out );
1258
+ }
1259
+
1260
+ VImage VImage::gifload_source( VSource source, VOption *options )
1261
+ {
1262
+ VImage out;
1263
+
1264
+ call( "gifload_source",
1265
+ (options ? options : VImage::option())->
1266
+ set( "out", &out )->
1267
+ set( "source", source ) );
1268
+
1269
+ return( out );
1270
+ }
1271
+
1272
+ void VImage::gifsave( const char *filename, VOption *options ) const
1273
+ {
1274
+ call( "gifsave",
1275
+ (options ? options : VImage::option())->
1276
+ set( "in", *this )->
1277
+ set( "filename", filename ) );
1278
+ }
1279
+
1280
+ VipsBlob *VImage::gifsave_buffer( VOption *options ) const
1281
+ {
1282
+ VipsBlob *buffer;
1283
+
1284
+ call( "gifsave_buffer",
1285
+ (options ? options : VImage::option())->
1286
+ set( "in", *this )->
1287
+ set( "buffer", &buffer ) );
1288
+
1289
+ return( buffer );
1290
+ }
1291
+
1292
+ void VImage::gifsave_target( VTarget target, VOption *options ) const
1293
+ {
1294
+ call( "gifsave_target",
1295
+ (options ? options : VImage::option())->
1296
+ set( "in", *this )->
1297
+ set( "target", target ) );
1298
+ }
1299
+
1300
+ VImage VImage::globalbalance( VOption *options ) const
1301
+ {
1302
+ VImage out;
1303
+
1304
+ call( "globalbalance",
1305
+ (options ? options : VImage::option())->
1306
+ set( "in", *this )->
1307
+ set( "out", &out ) );
1308
+
1309
+ return( out );
1310
+ }
1311
+
1312
+ VImage VImage::gravity( VipsCompassDirection direction, int width, int height, VOption *options ) const
1313
+ {
1314
+ VImage out;
1315
+
1316
+ call( "gravity",
1317
+ (options ? options : VImage::option())->
1318
+ set( "in", *this )->
1319
+ set( "out", &out )->
1320
+ set( "direction", direction )->
1321
+ set( "width", width )->
1322
+ set( "height", height ) );
1323
+
1324
+ return( out );
1325
+ }
1326
+
1327
+ VImage VImage::grey( int width, int height, VOption *options )
1328
+ {
1329
+ VImage out;
1330
+
1331
+ call( "grey",
1332
+ (options ? options : VImage::option())->
1333
+ set( "out", &out )->
1334
+ set( "width", width )->
1335
+ set( "height", height ) );
1336
+
1337
+ return( out );
1338
+ }
1339
+
1340
+ VImage VImage::grid( int tile_height, int across, int down, VOption *options ) const
1341
+ {
1342
+ VImage out;
1343
+
1344
+ call( "grid",
1345
+ (options ? options : VImage::option())->
1346
+ set( "in", *this )->
1347
+ set( "out", &out )->
1348
+ set( "tile_height", tile_height )->
1349
+ set( "across", across )->
1350
+ set( "down", down ) );
1351
+
1352
+ return( out );
1353
+ }
1354
+
1355
+ VImage VImage::heifload( const char *filename, VOption *options )
1356
+ {
1357
+ VImage out;
1358
+
1359
+ call( "heifload",
1360
+ (options ? options : VImage::option())->
1361
+ set( "out", &out )->
1362
+ set( "filename", filename ) );
1363
+
1364
+ return( out );
1365
+ }
1366
+
1367
+ VImage VImage::heifload_buffer( VipsBlob *buffer, VOption *options )
1368
+ {
1369
+ VImage out;
1370
+
1371
+ call( "heifload_buffer",
1372
+ (options ? options : VImage::option())->
1373
+ set( "out", &out )->
1374
+ set( "buffer", buffer ) );
1375
+
1376
+ return( out );
1377
+ }
1378
+
1379
+ VImage VImage::heifload_source( VSource source, VOption *options )
1380
+ {
1381
+ VImage out;
1382
+
1383
+ call( "heifload_source",
1384
+ (options ? options : VImage::option())->
1385
+ set( "out", &out )->
1386
+ set( "source", source ) );
1387
+
1388
+ return( out );
1389
+ }
1390
+
1391
+ void VImage::heifsave( const char *filename, VOption *options ) const
1392
+ {
1393
+ call( "heifsave",
1394
+ (options ? options : VImage::option())->
1395
+ set( "in", *this )->
1396
+ set( "filename", filename ) );
1397
+ }
1398
+
1399
+ VipsBlob *VImage::heifsave_buffer( VOption *options ) const
1400
+ {
1401
+ VipsBlob *buffer;
1402
+
1403
+ call( "heifsave_buffer",
1404
+ (options ? options : VImage::option())->
1405
+ set( "in", *this )->
1406
+ set( "buffer", &buffer ) );
1407
+
1408
+ return( buffer );
1409
+ }
1410
+
1411
+ void VImage::heifsave_target( VTarget target, VOption *options ) const
1412
+ {
1413
+ call( "heifsave_target",
1414
+ (options ? options : VImage::option())->
1415
+ set( "in", *this )->
1416
+ set( "target", target ) );
1417
+ }
1418
+
1419
+ VImage VImage::hist_cum( VOption *options ) const
1420
+ {
1421
+ VImage out;
1422
+
1423
+ call( "hist_cum",
1424
+ (options ? options : VImage::option())->
1425
+ set( "in", *this )->
1426
+ set( "out", &out ) );
1427
+
1428
+ return( out );
1429
+ }
1430
+
1431
+ double VImage::hist_entropy( VOption *options ) const
1432
+ {
1433
+ double out;
1434
+
1435
+ call( "hist_entropy",
1436
+ (options ? options : VImage::option())->
1437
+ set( "in", *this )->
1438
+ set( "out", &out ) );
1439
+
1440
+ return( out );
1441
+ }
1442
+
1443
+ VImage VImage::hist_equal( VOption *options ) const
1444
+ {
1445
+ VImage out;
1446
+
1447
+ call( "hist_equal",
1448
+ (options ? options : VImage::option())->
1449
+ set( "in", *this )->
1450
+ set( "out", &out ) );
1451
+
1452
+ return( out );
1453
+ }
1454
+
1455
+ VImage VImage::hist_find( VOption *options ) const
1456
+ {
1457
+ VImage out;
1458
+
1459
+ call( "hist_find",
1460
+ (options ? options : VImage::option())->
1461
+ set( "in", *this )->
1462
+ set( "out", &out ) );
1463
+
1464
+ return( out );
1465
+ }
1466
+
1467
+ VImage VImage::hist_find_indexed( VImage index, VOption *options ) const
1468
+ {
1469
+ VImage out;
1470
+
1471
+ call( "hist_find_indexed",
1472
+ (options ? options : VImage::option())->
1473
+ set( "in", *this )->
1474
+ set( "out", &out )->
1475
+ set( "index", index ) );
1476
+
1477
+ return( out );
1478
+ }
1479
+
1480
+ VImage VImage::hist_find_ndim( VOption *options ) const
1481
+ {
1482
+ VImage out;
1483
+
1484
+ call( "hist_find_ndim",
1485
+ (options ? options : VImage::option())->
1486
+ set( "in", *this )->
1487
+ set( "out", &out ) );
1488
+
1489
+ return( out );
1490
+ }
1491
+
1492
+ bool VImage::hist_ismonotonic( VOption *options ) const
1493
+ {
1494
+ bool monotonic;
1495
+
1496
+ call( "hist_ismonotonic",
1497
+ (options ? options : VImage::option())->
1498
+ set( "in", *this )->
1499
+ set( "monotonic", &monotonic ) );
1500
+
1501
+ return( monotonic );
1502
+ }
1503
+
1504
+ VImage VImage::hist_local( int width, int height, VOption *options ) const
1505
+ {
1506
+ VImage out;
1507
+
1508
+ call( "hist_local",
1509
+ (options ? options : VImage::option())->
1510
+ set( "in", *this )->
1511
+ set( "out", &out )->
1512
+ set( "width", width )->
1513
+ set( "height", height ) );
1514
+
1515
+ return( out );
1516
+ }
1517
+
1518
+ VImage VImage::hist_match( VImage ref, VOption *options ) const
1519
+ {
1520
+ VImage out;
1521
+
1522
+ call( "hist_match",
1523
+ (options ? options : VImage::option())->
1524
+ set( "in", *this )->
1525
+ set( "out", &out )->
1526
+ set( "ref", ref ) );
1527
+
1528
+ return( out );
1529
+ }
1530
+
1531
+ VImage VImage::hist_norm( VOption *options ) const
1532
+ {
1533
+ VImage out;
1534
+
1535
+ call( "hist_norm",
1536
+ (options ? options : VImage::option())->
1537
+ set( "in", *this )->
1538
+ set( "out", &out ) );
1539
+
1540
+ return( out );
1541
+ }
1542
+
1543
+ VImage VImage::hist_plot( VOption *options ) const
1544
+ {
1545
+ VImage out;
1546
+
1547
+ call( "hist_plot",
1548
+ (options ? options : VImage::option())->
1549
+ set( "in", *this )->
1550
+ set( "out", &out ) );
1551
+
1552
+ return( out );
1553
+ }
1554
+
1555
+ VImage VImage::hough_circle( VOption *options ) const
1556
+ {
1557
+ VImage out;
1558
+
1559
+ call( "hough_circle",
1560
+ (options ? options : VImage::option())->
1561
+ set( "in", *this )->
1562
+ set( "out", &out ) );
1563
+
1564
+ return( out );
1565
+ }
1566
+
1567
+ VImage VImage::hough_line( VOption *options ) const
1568
+ {
1569
+ VImage out;
1570
+
1571
+ call( "hough_line",
1572
+ (options ? options : VImage::option())->
1573
+ set( "in", *this )->
1574
+ set( "out", &out ) );
1575
+
1576
+ return( out );
1577
+ }
1578
+
1579
+ VImage VImage::icc_export( VOption *options ) const
1580
+ {
1581
+ VImage out;
1582
+
1583
+ call( "icc_export",
1584
+ (options ? options : VImage::option())->
1585
+ set( "in", *this )->
1586
+ set( "out", &out ) );
1587
+
1588
+ return( out );
1589
+ }
1590
+
1591
+ VImage VImage::icc_import( VOption *options ) const
1592
+ {
1593
+ VImage out;
1594
+
1595
+ call( "icc_import",
1596
+ (options ? options : VImage::option())->
1597
+ set( "in", *this )->
1598
+ set( "out", &out ) );
1599
+
1600
+ return( out );
1601
+ }
1602
+
1603
+ VImage VImage::icc_transform( const char *output_profile, VOption *options ) const
1604
+ {
1605
+ VImage out;
1606
+
1607
+ call( "icc_transform",
1608
+ (options ? options : VImage::option())->
1609
+ set( "in", *this )->
1610
+ set( "out", &out )->
1611
+ set( "output_profile", output_profile ) );
1612
+
1613
+ return( out );
1614
+ }
1615
+
1616
+ VImage VImage::identity( VOption *options )
1617
+ {
1618
+ VImage out;
1619
+
1620
+ call( "identity",
1621
+ (options ? options : VImage::option())->
1622
+ set( "out", &out ) );
1623
+
1624
+ return( out );
1625
+ }
1626
+
1627
+ VImage VImage::ifthenelse( VImage in1, VImage in2, VOption *options ) const
1628
+ {
1629
+ VImage out;
1630
+
1631
+ call( "ifthenelse",
1632
+ (options ? options : VImage::option())->
1633
+ set( "cond", *this )->
1634
+ set( "out", &out )->
1635
+ set( "in1", in1 )->
1636
+ set( "in2", in2 ) );
1637
+
1638
+ return( out );
1639
+ }
1640
+
1641
+ VImage VImage::insert( VImage sub, int x, int y, VOption *options ) const
1642
+ {
1643
+ VImage out;
1644
+
1645
+ call( "insert",
1646
+ (options ? options : VImage::option())->
1647
+ set( "main", *this )->
1648
+ set( "out", &out )->
1649
+ set( "sub", sub )->
1650
+ set( "x", x )->
1651
+ set( "y", y ) );
1652
+
1653
+ return( out );
1654
+ }
1655
+
1656
+ VImage VImage::invert( VOption *options ) const
1657
+ {
1658
+ VImage out;
1659
+
1660
+ call( "invert",
1661
+ (options ? options : VImage::option())->
1662
+ set( "in", *this )->
1663
+ set( "out", &out ) );
1664
+
1665
+ return( out );
1666
+ }
1667
+
1668
+ VImage VImage::invertlut( VOption *options ) const
1669
+ {
1670
+ VImage out;
1671
+
1672
+ call( "invertlut",
1673
+ (options ? options : VImage::option())->
1674
+ set( "in", *this )->
1675
+ set( "out", &out ) );
1676
+
1677
+ return( out );
1678
+ }
1679
+
1680
+ VImage VImage::invfft( VOption *options ) const
1681
+ {
1682
+ VImage out;
1683
+
1684
+ call( "invfft",
1685
+ (options ? options : VImage::option())->
1686
+ set( "in", *this )->
1687
+ set( "out", &out ) );
1688
+
1689
+ return( out );
1690
+ }
1691
+
1692
+ VImage VImage::join( VImage in2, VipsDirection direction, VOption *options ) const
1693
+ {
1694
+ VImage out;
1695
+
1696
+ call( "join",
1697
+ (options ? options : VImage::option())->
1698
+ set( "in1", *this )->
1699
+ set( "out", &out )->
1700
+ set( "in2", in2 )->
1701
+ set( "direction", direction ) );
1702
+
1703
+ return( out );
1704
+ }
1705
+
1706
+ VImage VImage::jp2kload( const char *filename, VOption *options )
1707
+ {
1708
+ VImage out;
1709
+
1710
+ call( "jp2kload",
1711
+ (options ? options : VImage::option())->
1712
+ set( "out", &out )->
1713
+ set( "filename", filename ) );
1714
+
1715
+ return( out );
1716
+ }
1717
+
1718
+ VImage VImage::jp2kload_buffer( VipsBlob *buffer, VOption *options )
1719
+ {
1720
+ VImage out;
1721
+
1722
+ call( "jp2kload_buffer",
1723
+ (options ? options : VImage::option())->
1724
+ set( "out", &out )->
1725
+ set( "buffer", buffer ) );
1726
+
1727
+ return( out );
1728
+ }
1729
+
1730
+ VImage VImage::jp2kload_source( VSource source, VOption *options )
1731
+ {
1732
+ VImage out;
1733
+
1734
+ call( "jp2kload_source",
1735
+ (options ? options : VImage::option())->
1736
+ set( "out", &out )->
1737
+ set( "source", source ) );
1738
+
1739
+ return( out );
1740
+ }
1741
+
1742
+ void VImage::jp2ksave( const char *filename, VOption *options ) const
1743
+ {
1744
+ call( "jp2ksave",
1745
+ (options ? options : VImage::option())->
1746
+ set( "in", *this )->
1747
+ set( "filename", filename ) );
1748
+ }
1749
+
1750
+ VipsBlob *VImage::jp2ksave_buffer( VOption *options ) const
1751
+ {
1752
+ VipsBlob *buffer;
1753
+
1754
+ call( "jp2ksave_buffer",
1755
+ (options ? options : VImage::option())->
1756
+ set( "in", *this )->
1757
+ set( "buffer", &buffer ) );
1758
+
1759
+ return( buffer );
1760
+ }
1761
+
1762
+ void VImage::jp2ksave_target( VTarget target, VOption *options ) const
1763
+ {
1764
+ call( "jp2ksave_target",
1765
+ (options ? options : VImage::option())->
1766
+ set( "in", *this )->
1767
+ set( "target", target ) );
1768
+ }
1769
+
1770
+ VImage VImage::jpegload( const char *filename, VOption *options )
1771
+ {
1772
+ VImage out;
1773
+
1774
+ call( "jpegload",
1775
+ (options ? options : VImage::option())->
1776
+ set( "out", &out )->
1777
+ set( "filename", filename ) );
1778
+
1779
+ return( out );
1780
+ }
1781
+
1782
+ VImage VImage::jpegload_buffer( VipsBlob *buffer, VOption *options )
1783
+ {
1784
+ VImage out;
1785
+
1786
+ call( "jpegload_buffer",
1787
+ (options ? options : VImage::option())->
1788
+ set( "out", &out )->
1789
+ set( "buffer", buffer ) );
1790
+
1791
+ return( out );
1792
+ }
1793
+
1794
+ VImage VImage::jpegload_source( VSource source, VOption *options )
1795
+ {
1796
+ VImage out;
1797
+
1798
+ call( "jpegload_source",
1799
+ (options ? options : VImage::option())->
1800
+ set( "out", &out )->
1801
+ set( "source", source ) );
1802
+
1803
+ return( out );
1804
+ }
1805
+
1806
+ void VImage::jpegsave( const char *filename, VOption *options ) const
1807
+ {
1808
+ call( "jpegsave",
1809
+ (options ? options : VImage::option())->
1810
+ set( "in", *this )->
1811
+ set( "filename", filename ) );
1812
+ }
1813
+
1814
+ VipsBlob *VImage::jpegsave_buffer( VOption *options ) const
1815
+ {
1816
+ VipsBlob *buffer;
1817
+
1818
+ call( "jpegsave_buffer",
1819
+ (options ? options : VImage::option())->
1820
+ set( "in", *this )->
1821
+ set( "buffer", &buffer ) );
1822
+
1823
+ return( buffer );
1824
+ }
1825
+
1826
+ void VImage::jpegsave_mime( VOption *options ) const
1827
+ {
1828
+ call( "jpegsave_mime",
1829
+ (options ? options : VImage::option())->
1830
+ set( "in", *this ) );
1831
+ }
1832
+
1833
+ void VImage::jpegsave_target( VTarget target, VOption *options ) const
1834
+ {
1835
+ call( "jpegsave_target",
1836
+ (options ? options : VImage::option())->
1837
+ set( "in", *this )->
1838
+ set( "target", target ) );
1839
+ }
1840
+
1841
+ VImage VImage::jxlload( const char *filename, VOption *options )
1842
+ {
1843
+ VImage out;
1844
+
1845
+ call( "jxlload",
1846
+ (options ? options : VImage::option())->
1847
+ set( "out", &out )->
1848
+ set( "filename", filename ) );
1849
+
1850
+ return( out );
1851
+ }
1852
+
1853
+ VImage VImage::jxlload_buffer( VipsBlob *buffer, VOption *options )
1854
+ {
1855
+ VImage out;
1856
+
1857
+ call( "jxlload_buffer",
1858
+ (options ? options : VImage::option())->
1859
+ set( "out", &out )->
1860
+ set( "buffer", buffer ) );
1861
+
1862
+ return( out );
1863
+ }
1864
+
1865
+ VImage VImage::jxlload_source( VSource source, VOption *options )
1866
+ {
1867
+ VImage out;
1868
+
1869
+ call( "jxlload_source",
1870
+ (options ? options : VImage::option())->
1871
+ set( "out", &out )->
1872
+ set( "source", source ) );
1873
+
1874
+ return( out );
1875
+ }
1876
+
1877
+ void VImage::jxlsave( const char *filename, VOption *options ) const
1878
+ {
1879
+ call( "jxlsave",
1880
+ (options ? options : VImage::option())->
1881
+ set( "in", *this )->
1882
+ set( "filename", filename ) );
1883
+ }
1884
+
1885
+ VipsBlob *VImage::jxlsave_buffer( VOption *options ) const
1886
+ {
1887
+ VipsBlob *buffer;
1888
+
1889
+ call( "jxlsave_buffer",
1890
+ (options ? options : VImage::option())->
1891
+ set( "in", *this )->
1892
+ set( "buffer", &buffer ) );
1893
+
1894
+ return( buffer );
1895
+ }
1896
+
1897
+ void VImage::jxlsave_target( VTarget target, VOption *options ) const
1898
+ {
1899
+ call( "jxlsave_target",
1900
+ (options ? options : VImage::option())->
1901
+ set( "in", *this )->
1902
+ set( "target", target ) );
1903
+ }
1904
+
1905
+ VImage VImage::labelregions( VOption *options ) const
1906
+ {
1907
+ VImage mask;
1908
+
1909
+ call( "labelregions",
1910
+ (options ? options : VImage::option())->
1911
+ set( "in", *this )->
1912
+ set( "mask", &mask ) );
1913
+
1914
+ return( mask );
1915
+ }
1916
+
1917
+ VImage VImage::linear( std::vector<double> a, std::vector<double> b, VOption *options ) const
1918
+ {
1919
+ VImage out;
1920
+
1921
+ call( "linear",
1922
+ (options ? options : VImage::option())->
1923
+ set( "in", *this )->
1924
+ set( "out", &out )->
1925
+ set( "a", a )->
1926
+ set( "b", b ) );
1927
+
1928
+ return( out );
1929
+ }
1930
+
1931
+ VImage VImage::linecache( VOption *options ) const
1932
+ {
1933
+ VImage out;
1934
+
1935
+ call( "linecache",
1936
+ (options ? options : VImage::option())->
1937
+ set( "in", *this )->
1938
+ set( "out", &out ) );
1939
+
1940
+ return( out );
1941
+ }
1942
+
1943
+ VImage VImage::logmat( double sigma, double min_ampl, VOption *options )
1944
+ {
1945
+ VImage out;
1946
+
1947
+ call( "logmat",
1948
+ (options ? options : VImage::option())->
1949
+ set( "out", &out )->
1950
+ set( "sigma", sigma )->
1951
+ set( "min_ampl", min_ampl ) );
1952
+
1953
+ return( out );
1954
+ }
1955
+
1956
+ VImage VImage::magickload( const char *filename, VOption *options )
1957
+ {
1958
+ VImage out;
1959
+
1960
+ call( "magickload",
1961
+ (options ? options : VImage::option())->
1962
+ set( "out", &out )->
1963
+ set( "filename", filename ) );
1964
+
1965
+ return( out );
1966
+ }
1967
+
1968
+ VImage VImage::magickload_buffer( VipsBlob *buffer, VOption *options )
1969
+ {
1970
+ VImage out;
1971
+
1972
+ call( "magickload_buffer",
1973
+ (options ? options : VImage::option())->
1974
+ set( "out", &out )->
1975
+ set( "buffer", buffer ) );
1976
+
1977
+ return( out );
1978
+ }
1979
+
1980
+ void VImage::magicksave( const char *filename, VOption *options ) const
1981
+ {
1982
+ call( "magicksave",
1983
+ (options ? options : VImage::option())->
1984
+ set( "in", *this )->
1985
+ set( "filename", filename ) );
1986
+ }
1987
+
1988
+ VipsBlob *VImage::magicksave_buffer( VOption *options ) const
1989
+ {
1990
+ VipsBlob *buffer;
1991
+
1992
+ call( "magicksave_buffer",
1993
+ (options ? options : VImage::option())->
1994
+ set( "in", *this )->
1995
+ set( "buffer", &buffer ) );
1996
+
1997
+ return( buffer );
1998
+ }
1999
+
2000
+ VImage VImage::mapim( VImage index, VOption *options ) const
2001
+ {
2002
+ VImage out;
2003
+
2004
+ call( "mapim",
2005
+ (options ? options : VImage::option())->
2006
+ set( "in", *this )->
2007
+ set( "out", &out )->
2008
+ set( "index", index ) );
2009
+
2010
+ return( out );
2011
+ }
2012
+
2013
+ VImage VImage::maplut( VImage lut, VOption *options ) const
2014
+ {
2015
+ VImage out;
2016
+
2017
+ call( "maplut",
2018
+ (options ? options : VImage::option())->
2019
+ set( "in", *this )->
2020
+ set( "out", &out )->
2021
+ set( "lut", lut ) );
2022
+
2023
+ return( out );
2024
+ }
2025
+
2026
+ VImage VImage::mask_butterworth( int width, int height, double order, double frequency_cutoff, double amplitude_cutoff, VOption *options )
2027
+ {
2028
+ VImage out;
2029
+
2030
+ call( "mask_butterworth",
2031
+ (options ? options : VImage::option())->
2032
+ set( "out", &out )->
2033
+ set( "width", width )->
2034
+ set( "height", height )->
2035
+ set( "order", order )->
2036
+ set( "frequency_cutoff", frequency_cutoff )->
2037
+ set( "amplitude_cutoff", amplitude_cutoff ) );
2038
+
2039
+ return( out );
2040
+ }
2041
+
2042
+ VImage VImage::mask_butterworth_band( int width, int height, double order, double frequency_cutoff_x, double frequency_cutoff_y, double radius, double amplitude_cutoff, VOption *options )
2043
+ {
2044
+ VImage out;
2045
+
2046
+ call( "mask_butterworth_band",
2047
+ (options ? options : VImage::option())->
2048
+ set( "out", &out )->
2049
+ set( "width", width )->
2050
+ set( "height", height )->
2051
+ set( "order", order )->
2052
+ set( "frequency_cutoff_x", frequency_cutoff_x )->
2053
+ set( "frequency_cutoff_y", frequency_cutoff_y )->
2054
+ set( "radius", radius )->
2055
+ set( "amplitude_cutoff", amplitude_cutoff ) );
2056
+
2057
+ return( out );
2058
+ }
2059
+
2060
+ VImage VImage::mask_butterworth_ring( int width, int height, double order, double frequency_cutoff, double amplitude_cutoff, double ringwidth, VOption *options )
2061
+ {
2062
+ VImage out;
2063
+
2064
+ call( "mask_butterworth_ring",
2065
+ (options ? options : VImage::option())->
2066
+ set( "out", &out )->
2067
+ set( "width", width )->
2068
+ set( "height", height )->
2069
+ set( "order", order )->
2070
+ set( "frequency_cutoff", frequency_cutoff )->
2071
+ set( "amplitude_cutoff", amplitude_cutoff )->
2072
+ set( "ringwidth", ringwidth ) );
2073
+
2074
+ return( out );
2075
+ }
2076
+
2077
+ VImage VImage::mask_fractal( int width, int height, double fractal_dimension, VOption *options )
2078
+ {
2079
+ VImage out;
2080
+
2081
+ call( "mask_fractal",
2082
+ (options ? options : VImage::option())->
2083
+ set( "out", &out )->
2084
+ set( "width", width )->
2085
+ set( "height", height )->
2086
+ set( "fractal_dimension", fractal_dimension ) );
2087
+
2088
+ return( out );
2089
+ }
2090
+
2091
+ VImage VImage::mask_gaussian( int width, int height, double frequency_cutoff, double amplitude_cutoff, VOption *options )
2092
+ {
2093
+ VImage out;
2094
+
2095
+ call( "mask_gaussian",
2096
+ (options ? options : VImage::option())->
2097
+ set( "out", &out )->
2098
+ set( "width", width )->
2099
+ set( "height", height )->
2100
+ set( "frequency_cutoff", frequency_cutoff )->
2101
+ set( "amplitude_cutoff", amplitude_cutoff ) );
2102
+
2103
+ return( out );
2104
+ }
2105
+
2106
+ VImage VImage::mask_gaussian_band( int width, int height, double frequency_cutoff_x, double frequency_cutoff_y, double radius, double amplitude_cutoff, VOption *options )
2107
+ {
2108
+ VImage out;
2109
+
2110
+ call( "mask_gaussian_band",
2111
+ (options ? options : VImage::option())->
2112
+ set( "out", &out )->
2113
+ set( "width", width )->
2114
+ set( "height", height )->
2115
+ set( "frequency_cutoff_x", frequency_cutoff_x )->
2116
+ set( "frequency_cutoff_y", frequency_cutoff_y )->
2117
+ set( "radius", radius )->
2118
+ set( "amplitude_cutoff", amplitude_cutoff ) );
2119
+
2120
+ return( out );
2121
+ }
2122
+
2123
+ VImage VImage::mask_gaussian_ring( int width, int height, double frequency_cutoff, double amplitude_cutoff, double ringwidth, VOption *options )
2124
+ {
2125
+ VImage out;
2126
+
2127
+ call( "mask_gaussian_ring",
2128
+ (options ? options : VImage::option())->
2129
+ set( "out", &out )->
2130
+ set( "width", width )->
2131
+ set( "height", height )->
2132
+ set( "frequency_cutoff", frequency_cutoff )->
2133
+ set( "amplitude_cutoff", amplitude_cutoff )->
2134
+ set( "ringwidth", ringwidth ) );
2135
+
2136
+ return( out );
2137
+ }
2138
+
2139
+ VImage VImage::mask_ideal( int width, int height, double frequency_cutoff, VOption *options )
2140
+ {
2141
+ VImage out;
2142
+
2143
+ call( "mask_ideal",
2144
+ (options ? options : VImage::option())->
2145
+ set( "out", &out )->
2146
+ set( "width", width )->
2147
+ set( "height", height )->
2148
+ set( "frequency_cutoff", frequency_cutoff ) );
2149
+
2150
+ return( out );
2151
+ }
2152
+
2153
+ VImage VImage::mask_ideal_band( int width, int height, double frequency_cutoff_x, double frequency_cutoff_y, double radius, VOption *options )
2154
+ {
2155
+ VImage out;
2156
+
2157
+ call( "mask_ideal_band",
2158
+ (options ? options : VImage::option())->
2159
+ set( "out", &out )->
2160
+ set( "width", width )->
2161
+ set( "height", height )->
2162
+ set( "frequency_cutoff_x", frequency_cutoff_x )->
2163
+ set( "frequency_cutoff_y", frequency_cutoff_y )->
2164
+ set( "radius", radius ) );
2165
+
2166
+ return( out );
2167
+ }
2168
+
2169
+ VImage VImage::mask_ideal_ring( int width, int height, double frequency_cutoff, double ringwidth, VOption *options )
2170
+ {
2171
+ VImage out;
2172
+
2173
+ call( "mask_ideal_ring",
2174
+ (options ? options : VImage::option())->
2175
+ set( "out", &out )->
2176
+ set( "width", width )->
2177
+ set( "height", height )->
2178
+ set( "frequency_cutoff", frequency_cutoff )->
2179
+ set( "ringwidth", ringwidth ) );
2180
+
2181
+ return( out );
2182
+ }
2183
+
2184
+ VImage VImage::match( VImage sec, int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VOption *options ) const
2185
+ {
2186
+ VImage out;
2187
+
2188
+ call( "match",
2189
+ (options ? options : VImage::option())->
2190
+ set( "ref", *this )->
2191
+ set( "out", &out )->
2192
+ set( "sec", sec )->
2193
+ set( "xr1", xr1 )->
2194
+ set( "yr1", yr1 )->
2195
+ set( "xs1", xs1 )->
2196
+ set( "ys1", ys1 )->
2197
+ set( "xr2", xr2 )->
2198
+ set( "yr2", yr2 )->
2199
+ set( "xs2", xs2 )->
2200
+ set( "ys2", ys2 ) );
2201
+
2202
+ return( out );
2203
+ }
2204
+
2205
+ VImage VImage::math( VipsOperationMath math, VOption *options ) const
2206
+ {
2207
+ VImage out;
2208
+
2209
+ call( "math",
2210
+ (options ? options : VImage::option())->
2211
+ set( "in", *this )->
2212
+ set( "out", &out )->
2213
+ set( "math", math ) );
2214
+
2215
+ return( out );
2216
+ }
2217
+
2218
+ VImage VImage::math2( VImage right, VipsOperationMath2 math2, VOption *options ) const
2219
+ {
2220
+ VImage out;
2221
+
2222
+ call( "math2",
2223
+ (options ? options : VImage::option())->
2224
+ set( "left", *this )->
2225
+ set( "out", &out )->
2226
+ set( "right", right )->
2227
+ set( "math2", math2 ) );
2228
+
2229
+ return( out );
2230
+ }
2231
+
2232
+ VImage VImage::math2_const( VipsOperationMath2 math2, std::vector<double> c, VOption *options ) const
2233
+ {
2234
+ VImage out;
2235
+
2236
+ call( "math2_const",
2237
+ (options ? options : VImage::option())->
2238
+ set( "in", *this )->
2239
+ set( "out", &out )->
2240
+ set( "math2", math2 )->
2241
+ set( "c", c ) );
2242
+
2243
+ return( out );
2244
+ }
2245
+
2246
+ VImage VImage::matload( const char *filename, VOption *options )
2247
+ {
2248
+ VImage out;
2249
+
2250
+ call( "matload",
2251
+ (options ? options : VImage::option())->
2252
+ set( "out", &out )->
2253
+ set( "filename", filename ) );
2254
+
2255
+ return( out );
2256
+ }
2257
+
2258
+ VImage VImage::matrixinvert( VOption *options ) const
2259
+ {
2260
+ VImage out;
2261
+
2262
+ call( "matrixinvert",
2263
+ (options ? options : VImage::option())->
2264
+ set( "in", *this )->
2265
+ set( "out", &out ) );
2266
+
2267
+ return( out );
2268
+ }
2269
+
2270
+ VImage VImage::matrixload( const char *filename, VOption *options )
2271
+ {
2272
+ VImage out;
2273
+
2274
+ call( "matrixload",
2275
+ (options ? options : VImage::option())->
2276
+ set( "out", &out )->
2277
+ set( "filename", filename ) );
2278
+
2279
+ return( out );
2280
+ }
2281
+
2282
+ VImage VImage::matrixload_source( VSource source, VOption *options )
2283
+ {
2284
+ VImage out;
2285
+
2286
+ call( "matrixload_source",
2287
+ (options ? options : VImage::option())->
2288
+ set( "out", &out )->
2289
+ set( "source", source ) );
2290
+
2291
+ return( out );
2292
+ }
2293
+
2294
+ void VImage::matrixprint( VOption *options ) const
2295
+ {
2296
+ call( "matrixprint",
2297
+ (options ? options : VImage::option())->
2298
+ set( "in", *this ) );
2299
+ }
2300
+
2301
+ void VImage::matrixsave( const char *filename, VOption *options ) const
2302
+ {
2303
+ call( "matrixsave",
2304
+ (options ? options : VImage::option())->
2305
+ set( "in", *this )->
2306
+ set( "filename", filename ) );
2307
+ }
2308
+
2309
+ void VImage::matrixsave_target( VTarget target, VOption *options ) const
2310
+ {
2311
+ call( "matrixsave_target",
2312
+ (options ? options : VImage::option())->
2313
+ set( "in", *this )->
2314
+ set( "target", target ) );
2315
+ }
2316
+
2317
+ double VImage::max( VOption *options ) const
2318
+ {
2319
+ double out;
2320
+
2321
+ call( "max",
2322
+ (options ? options : VImage::option())->
2323
+ set( "in", *this )->
2324
+ set( "out", &out ) );
2325
+
2326
+ return( out );
2327
+ }
2328
+
2329
+ VImage VImage::measure( int h, int v, VOption *options ) const
2330
+ {
2331
+ VImage out;
2332
+
2333
+ call( "measure",
2334
+ (options ? options : VImage::option())->
2335
+ set( "in", *this )->
2336
+ set( "out", &out )->
2337
+ set( "h", h )->
2338
+ set( "v", v ) );
2339
+
2340
+ return( out );
2341
+ }
2342
+
2343
+ VImage VImage::merge( VImage sec, VipsDirection direction, int dx, int dy, VOption *options ) const
2344
+ {
2345
+ VImage out;
2346
+
2347
+ call( "merge",
2348
+ (options ? options : VImage::option())->
2349
+ set( "ref", *this )->
2350
+ set( "out", &out )->
2351
+ set( "sec", sec )->
2352
+ set( "direction", direction )->
2353
+ set( "dx", dx )->
2354
+ set( "dy", dy ) );
2355
+
2356
+ return( out );
2357
+ }
2358
+
2359
+ double VImage::min( VOption *options ) const
2360
+ {
2361
+ double out;
2362
+
2363
+ call( "min",
2364
+ (options ? options : VImage::option())->
2365
+ set( "in", *this )->
2366
+ set( "out", &out ) );
2367
+
2368
+ return( out );
2369
+ }
2370
+
2371
+ VImage VImage::morph( VImage mask, VipsOperationMorphology morph, VOption *options ) const
2372
+ {
2373
+ VImage out;
2374
+
2375
+ call( "morph",
2376
+ (options ? options : VImage::option())->
2377
+ set( "in", *this )->
2378
+ set( "out", &out )->
2379
+ set( "mask", mask )->
2380
+ set( "morph", morph ) );
2381
+
2382
+ return( out );
2383
+ }
2384
+
2385
+ VImage VImage::mosaic( VImage sec, VipsDirection direction, int xref, int yref, int xsec, int ysec, VOption *options ) const
2386
+ {
2387
+ VImage out;
2388
+
2389
+ call( "mosaic",
2390
+ (options ? options : VImage::option())->
2391
+ set( "ref", *this )->
2392
+ set( "out", &out )->
2393
+ set( "sec", sec )->
2394
+ set( "direction", direction )->
2395
+ set( "xref", xref )->
2396
+ set( "yref", yref )->
2397
+ set( "xsec", xsec )->
2398
+ set( "ysec", ysec ) );
2399
+
2400
+ return( out );
2401
+ }
2402
+
2403
+ VImage VImage::mosaic1( VImage sec, VipsDirection direction, int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VOption *options ) const
2404
+ {
2405
+ VImage out;
2406
+
2407
+ call( "mosaic1",
2408
+ (options ? options : VImage::option())->
2409
+ set( "ref", *this )->
2410
+ set( "out", &out )->
2411
+ set( "sec", sec )->
2412
+ set( "direction", direction )->
2413
+ set( "xr1", xr1 )->
2414
+ set( "yr1", yr1 )->
2415
+ set( "xs1", xs1 )->
2416
+ set( "ys1", ys1 )->
2417
+ set( "xr2", xr2 )->
2418
+ set( "yr2", yr2 )->
2419
+ set( "xs2", xs2 )->
2420
+ set( "ys2", ys2 ) );
2421
+
2422
+ return( out );
2423
+ }
2424
+
2425
+ VImage VImage::msb( VOption *options ) const
2426
+ {
2427
+ VImage out;
2428
+
2429
+ call( "msb",
2430
+ (options ? options : VImage::option())->
2431
+ set( "in", *this )->
2432
+ set( "out", &out ) );
2433
+
2434
+ return( out );
2435
+ }
2436
+
2437
+ VImage VImage::multiply( VImage right, VOption *options ) const
2438
+ {
2439
+ VImage out;
2440
+
2441
+ call( "multiply",
2442
+ (options ? options : VImage::option())->
2443
+ set( "left", *this )->
2444
+ set( "out", &out )->
2445
+ set( "right", right ) );
2446
+
2447
+ return( out );
2448
+ }
2449
+
2450
+ VImage VImage::niftiload( const char *filename, VOption *options )
2451
+ {
2452
+ VImage out;
2453
+
2454
+ call( "niftiload",
2455
+ (options ? options : VImage::option())->
2456
+ set( "out", &out )->
2457
+ set( "filename", filename ) );
2458
+
2459
+ return( out );
2460
+ }
2461
+
2462
+ VImage VImage::niftiload_source( VSource source, VOption *options )
2463
+ {
2464
+ VImage out;
2465
+
2466
+ call( "niftiload_source",
2467
+ (options ? options : VImage::option())->
2468
+ set( "out", &out )->
2469
+ set( "source", source ) );
2470
+
2471
+ return( out );
2472
+ }
2473
+
2474
+ void VImage::niftisave( const char *filename, VOption *options ) const
2475
+ {
2476
+ call( "niftisave",
2477
+ (options ? options : VImage::option())->
2478
+ set( "in", *this )->
2479
+ set( "filename", filename ) );
2480
+ }
2481
+
2482
+ VImage VImage::openexrload( const char *filename, VOption *options )
2483
+ {
2484
+ VImage out;
2485
+
2486
+ call( "openexrload",
2487
+ (options ? options : VImage::option())->
2488
+ set( "out", &out )->
2489
+ set( "filename", filename ) );
2490
+
2491
+ return( out );
2492
+ }
2493
+
2494
+ VImage VImage::openslideload( const char *filename, VOption *options )
2495
+ {
2496
+ VImage out;
2497
+
2498
+ call( "openslideload",
2499
+ (options ? options : VImage::option())->
2500
+ set( "out", &out )->
2501
+ set( "filename", filename ) );
2502
+
2503
+ return( out );
2504
+ }
2505
+
2506
+ VImage VImage::openslideload_source( VSource source, VOption *options )
2507
+ {
2508
+ VImage out;
2509
+
2510
+ call( "openslideload_source",
2511
+ (options ? options : VImage::option())->
2512
+ set( "out", &out )->
2513
+ set( "source", source ) );
2514
+
2515
+ return( out );
2516
+ }
2517
+
2518
+ VImage VImage::pdfload( const char *filename, VOption *options )
2519
+ {
2520
+ VImage out;
2521
+
2522
+ call( "pdfload",
2523
+ (options ? options : VImage::option())->
2524
+ set( "out", &out )->
2525
+ set( "filename", filename ) );
2526
+
2527
+ return( out );
2528
+ }
2529
+
2530
+ VImage VImage::pdfload_buffer( VipsBlob *buffer, VOption *options )
2531
+ {
2532
+ VImage out;
2533
+
2534
+ call( "pdfload_buffer",
2535
+ (options ? options : VImage::option())->
2536
+ set( "out", &out )->
2537
+ set( "buffer", buffer ) );
2538
+
2539
+ return( out );
2540
+ }
2541
+
2542
+ VImage VImage::pdfload_source( VSource source, VOption *options )
2543
+ {
2544
+ VImage out;
2545
+
2546
+ call( "pdfload_source",
2547
+ (options ? options : VImage::option())->
2548
+ set( "out", &out )->
2549
+ set( "source", source ) );
2550
+
2551
+ return( out );
2552
+ }
2553
+
2554
+ int VImage::percent( double percent, VOption *options ) const
2555
+ {
2556
+ int threshold;
2557
+
2558
+ call( "percent",
2559
+ (options ? options : VImage::option())->
2560
+ set( "in", *this )->
2561
+ set( "threshold", &threshold )->
2562
+ set( "percent", percent ) );
2563
+
2564
+ return( threshold );
2565
+ }
2566
+
2567
+ VImage VImage::perlin( int width, int height, VOption *options )
2568
+ {
2569
+ VImage out;
2570
+
2571
+ call( "perlin",
2572
+ (options ? options : VImage::option())->
2573
+ set( "out", &out )->
2574
+ set( "width", width )->
2575
+ set( "height", height ) );
2576
+
2577
+ return( out );
2578
+ }
2579
+
2580
+ VImage VImage::phasecor( VImage in2, VOption *options ) const
2581
+ {
2582
+ VImage out;
2583
+
2584
+ call( "phasecor",
2585
+ (options ? options : VImage::option())->
2586
+ set( "in", *this )->
2587
+ set( "out", &out )->
2588
+ set( "in2", in2 ) );
2589
+
2590
+ return( out );
2591
+ }
2592
+
2593
+ VImage VImage::pngload( const char *filename, VOption *options )
2594
+ {
2595
+ VImage out;
2596
+
2597
+ call( "pngload",
2598
+ (options ? options : VImage::option())->
2599
+ set( "out", &out )->
2600
+ set( "filename", filename ) );
2601
+
2602
+ return( out );
2603
+ }
2604
+
2605
+ VImage VImage::pngload_buffer( VipsBlob *buffer, VOption *options )
2606
+ {
2607
+ VImage out;
2608
+
2609
+ call( "pngload_buffer",
2610
+ (options ? options : VImage::option())->
2611
+ set( "out", &out )->
2612
+ set( "buffer", buffer ) );
2613
+
2614
+ return( out );
2615
+ }
2616
+
2617
+ VImage VImage::pngload_source( VSource source, VOption *options )
2618
+ {
2619
+ VImage out;
2620
+
2621
+ call( "pngload_source",
2622
+ (options ? options : VImage::option())->
2623
+ set( "out", &out )->
2624
+ set( "source", source ) );
2625
+
2626
+ return( out );
2627
+ }
2628
+
2629
+ void VImage::pngsave( const char *filename, VOption *options ) const
2630
+ {
2631
+ call( "pngsave",
2632
+ (options ? options : VImage::option())->
2633
+ set( "in", *this )->
2634
+ set( "filename", filename ) );
2635
+ }
2636
+
2637
+ VipsBlob *VImage::pngsave_buffer( VOption *options ) const
2638
+ {
2639
+ VipsBlob *buffer;
2640
+
2641
+ call( "pngsave_buffer",
2642
+ (options ? options : VImage::option())->
2643
+ set( "in", *this )->
2644
+ set( "buffer", &buffer ) );
2645
+
2646
+ return( buffer );
2647
+ }
2648
+
2649
+ void VImage::pngsave_target( VTarget target, VOption *options ) const
2650
+ {
2651
+ call( "pngsave_target",
2652
+ (options ? options : VImage::option())->
2653
+ set( "in", *this )->
2654
+ set( "target", target ) );
2655
+ }
2656
+
2657
+ VImage VImage::ppmload( const char *filename, VOption *options )
2658
+ {
2659
+ VImage out;
2660
+
2661
+ call( "ppmload",
2662
+ (options ? options : VImage::option())->
2663
+ set( "out", &out )->
2664
+ set( "filename", filename ) );
2665
+
2666
+ return( out );
2667
+ }
2668
+
2669
+ VImage VImage::ppmload_source( VSource source, VOption *options )
2670
+ {
2671
+ VImage out;
2672
+
2673
+ call( "ppmload_source",
2674
+ (options ? options : VImage::option())->
2675
+ set( "out", &out )->
2676
+ set( "source", source ) );
2677
+
2678
+ return( out );
2679
+ }
2680
+
2681
+ void VImage::ppmsave( const char *filename, VOption *options ) const
2682
+ {
2683
+ call( "ppmsave",
2684
+ (options ? options : VImage::option())->
2685
+ set( "in", *this )->
2686
+ set( "filename", filename ) );
2687
+ }
2688
+
2689
+ void VImage::ppmsave_target( VTarget target, VOption *options ) const
2690
+ {
2691
+ call( "ppmsave_target",
2692
+ (options ? options : VImage::option())->
2693
+ set( "in", *this )->
2694
+ set( "target", target ) );
2695
+ }
2696
+
2697
+ VImage VImage::premultiply( VOption *options ) const
2698
+ {
2699
+ VImage out;
2700
+
2701
+ call( "premultiply",
2702
+ (options ? options : VImage::option())->
2703
+ set( "in", *this )->
2704
+ set( "out", &out ) );
2705
+
2706
+ return( out );
2707
+ }
2708
+
2709
+ VImage VImage::profile( VImage *rows, VOption *options ) const
2710
+ {
2711
+ VImage columns;
2712
+
2713
+ call( "profile",
2714
+ (options ? options : VImage::option())->
2715
+ set( "in", *this )->
2716
+ set( "columns", &columns )->
2717
+ set( "rows", rows ) );
2718
+
2719
+ return( columns );
2720
+ }
2721
+
2722
+ VipsBlob *VImage::profile_load( const char *name, VOption *options )
2723
+ {
2724
+ VipsBlob *profile;
2725
+
2726
+ call( "profile_load",
2727
+ (options ? options : VImage::option())->
2728
+ set( "profile", &profile )->
2729
+ set( "name", name ) );
2730
+
2731
+ return( profile );
2732
+ }
2733
+
2734
+ VImage VImage::project( VImage *rows, VOption *options ) const
2735
+ {
2736
+ VImage columns;
2737
+
2738
+ call( "project",
2739
+ (options ? options : VImage::option())->
2740
+ set( "in", *this )->
2741
+ set( "columns", &columns )->
2742
+ set( "rows", rows ) );
2743
+
2744
+ return( columns );
2745
+ }
2746
+
2747
+ VImage VImage::quadratic( VImage coeff, VOption *options ) const
2748
+ {
2749
+ VImage out;
2750
+
2751
+ call( "quadratic",
2752
+ (options ? options : VImage::option())->
2753
+ set( "in", *this )->
2754
+ set( "out", &out )->
2755
+ set( "coeff", coeff ) );
2756
+
2757
+ return( out );
2758
+ }
2759
+
2760
+ VImage VImage::rad2float( VOption *options ) const
2761
+ {
2762
+ VImage out;
2763
+
2764
+ call( "rad2float",
2765
+ (options ? options : VImage::option())->
2766
+ set( "in", *this )->
2767
+ set( "out", &out ) );
2768
+
2769
+ return( out );
2770
+ }
2771
+
2772
+ VImage VImage::radload( const char *filename, VOption *options )
2773
+ {
2774
+ VImage out;
2775
+
2776
+ call( "radload",
2777
+ (options ? options : VImage::option())->
2778
+ set( "out", &out )->
2779
+ set( "filename", filename ) );
2780
+
2781
+ return( out );
2782
+ }
2783
+
2784
+ VImage VImage::radload_buffer( VipsBlob *buffer, VOption *options )
2785
+ {
2786
+ VImage out;
2787
+
2788
+ call( "radload_buffer",
2789
+ (options ? options : VImage::option())->
2790
+ set( "out", &out )->
2791
+ set( "buffer", buffer ) );
2792
+
2793
+ return( out );
2794
+ }
2795
+
2796
+ VImage VImage::radload_source( VSource source, VOption *options )
2797
+ {
2798
+ VImage out;
2799
+
2800
+ call( "radload_source",
2801
+ (options ? options : VImage::option())->
2802
+ set( "out", &out )->
2803
+ set( "source", source ) );
2804
+
2805
+ return( out );
2806
+ }
2807
+
2808
+ void VImage::radsave( const char *filename, VOption *options ) const
2809
+ {
2810
+ call( "radsave",
2811
+ (options ? options : VImage::option())->
2812
+ set( "in", *this )->
2813
+ set( "filename", filename ) );
2814
+ }
2815
+
2816
+ VipsBlob *VImage::radsave_buffer( VOption *options ) const
2817
+ {
2818
+ VipsBlob *buffer;
2819
+
2820
+ call( "radsave_buffer",
2821
+ (options ? options : VImage::option())->
2822
+ set( "in", *this )->
2823
+ set( "buffer", &buffer ) );
2824
+
2825
+ return( buffer );
2826
+ }
2827
+
2828
+ void VImage::radsave_target( VTarget target, VOption *options ) const
2829
+ {
2830
+ call( "radsave_target",
2831
+ (options ? options : VImage::option())->
2832
+ set( "in", *this )->
2833
+ set( "target", target ) );
2834
+ }
2835
+
2836
+ VImage VImage::rank( int width, int height, int index, VOption *options ) const
2837
+ {
2838
+ VImage out;
2839
+
2840
+ call( "rank",
2841
+ (options ? options : VImage::option())->
2842
+ set( "in", *this )->
2843
+ set( "out", &out )->
2844
+ set( "width", width )->
2845
+ set( "height", height )->
2846
+ set( "index", index ) );
2847
+
2848
+ return( out );
2849
+ }
2850
+
2851
+ VImage VImage::rawload( const char *filename, int width, int height, int bands, VOption *options )
2852
+ {
2853
+ VImage out;
2854
+
2855
+ call( "rawload",
2856
+ (options ? options : VImage::option())->
2857
+ set( "out", &out )->
2858
+ set( "filename", filename )->
2859
+ set( "width", width )->
2860
+ set( "height", height )->
2861
+ set( "bands", bands ) );
2862
+
2863
+ return( out );
2864
+ }
2865
+
2866
+ void VImage::rawsave( const char *filename, VOption *options ) const
2867
+ {
2868
+ call( "rawsave",
2869
+ (options ? options : VImage::option())->
2870
+ set( "in", *this )->
2871
+ set( "filename", filename ) );
2872
+ }
2873
+
2874
+ void VImage::rawsave_fd( int fd, VOption *options ) const
2875
+ {
2876
+ call( "rawsave_fd",
2877
+ (options ? options : VImage::option())->
2878
+ set( "in", *this )->
2879
+ set( "fd", fd ) );
2880
+ }
2881
+
2882
+ VImage VImage::recomb( VImage m, VOption *options ) const
2883
+ {
2884
+ VImage out;
2885
+
2886
+ call( "recomb",
2887
+ (options ? options : VImage::option())->
2888
+ set( "in", *this )->
2889
+ set( "out", &out )->
2890
+ set( "m", m ) );
2891
+
2892
+ return( out );
2893
+ }
2894
+
2895
+ VImage VImage::reduce( double hshrink, double vshrink, VOption *options ) const
2896
+ {
2897
+ VImage out;
2898
+
2899
+ call( "reduce",
2900
+ (options ? options : VImage::option())->
2901
+ set( "in", *this )->
2902
+ set( "out", &out )->
2903
+ set( "hshrink", hshrink )->
2904
+ set( "vshrink", vshrink ) );
2905
+
2906
+ return( out );
2907
+ }
2908
+
2909
+ VImage VImage::reduceh( double hshrink, VOption *options ) const
2910
+ {
2911
+ VImage out;
2912
+
2913
+ call( "reduceh",
2914
+ (options ? options : VImage::option())->
2915
+ set( "in", *this )->
2916
+ set( "out", &out )->
2917
+ set( "hshrink", hshrink ) );
2918
+
2919
+ return( out );
2920
+ }
2921
+
2922
+ VImage VImage::reducev( double vshrink, VOption *options ) const
2923
+ {
2924
+ VImage out;
2925
+
2926
+ call( "reducev",
2927
+ (options ? options : VImage::option())->
2928
+ set( "in", *this )->
2929
+ set( "out", &out )->
2930
+ set( "vshrink", vshrink ) );
2931
+
2932
+ return( out );
2933
+ }
2934
+
2935
+ VImage VImage::relational( VImage right, VipsOperationRelational relational, VOption *options ) const
2936
+ {
2937
+ VImage out;
2938
+
2939
+ call( "relational",
2940
+ (options ? options : VImage::option())->
2941
+ set( "left", *this )->
2942
+ set( "out", &out )->
2943
+ set( "right", right )->
2944
+ set( "relational", relational ) );
2945
+
2946
+ return( out );
2947
+ }
2948
+
2949
+ VImage VImage::relational_const( VipsOperationRelational relational, std::vector<double> c, VOption *options ) const
2950
+ {
2951
+ VImage out;
2952
+
2953
+ call( "relational_const",
2954
+ (options ? options : VImage::option())->
2955
+ set( "in", *this )->
2956
+ set( "out", &out )->
2957
+ set( "relational", relational )->
2958
+ set( "c", c ) );
2959
+
2960
+ return( out );
2961
+ }
2962
+
2963
+ VImage VImage::remainder( VImage right, VOption *options ) const
2964
+ {
2965
+ VImage out;
2966
+
2967
+ call( "remainder",
2968
+ (options ? options : VImage::option())->
2969
+ set( "left", *this )->
2970
+ set( "out", &out )->
2971
+ set( "right", right ) );
2972
+
2973
+ return( out );
2974
+ }
2975
+
2976
+ VImage VImage::remainder_const( std::vector<double> c, VOption *options ) const
2977
+ {
2978
+ VImage out;
2979
+
2980
+ call( "remainder_const",
2981
+ (options ? options : VImage::option())->
2982
+ set( "in", *this )->
2983
+ set( "out", &out )->
2984
+ set( "c", c ) );
2985
+
2986
+ return( out );
2987
+ }
2988
+
2989
+ VImage VImage::replicate( int across, int down, VOption *options ) const
2990
+ {
2991
+ VImage out;
2992
+
2993
+ call( "replicate",
2994
+ (options ? options : VImage::option())->
2995
+ set( "in", *this )->
2996
+ set( "out", &out )->
2997
+ set( "across", across )->
2998
+ set( "down", down ) );
2999
+
3000
+ return( out );
3001
+ }
3002
+
3003
+ VImage VImage::resize( double scale, VOption *options ) const
3004
+ {
3005
+ VImage out;
3006
+
3007
+ call( "resize",
3008
+ (options ? options : VImage::option())->
3009
+ set( "in", *this )->
3010
+ set( "out", &out )->
3011
+ set( "scale", scale ) );
3012
+
3013
+ return( out );
3014
+ }
3015
+
3016
+ VImage VImage::rot( VipsAngle angle, VOption *options ) const
3017
+ {
3018
+ VImage out;
3019
+
3020
+ call( "rot",
3021
+ (options ? options : VImage::option())->
3022
+ set( "in", *this )->
3023
+ set( "out", &out )->
3024
+ set( "angle", angle ) );
3025
+
3026
+ return( out );
3027
+ }
3028
+
3029
+ VImage VImage::rot45( VOption *options ) const
3030
+ {
3031
+ VImage out;
3032
+
3033
+ call( "rot45",
3034
+ (options ? options : VImage::option())->
3035
+ set( "in", *this )->
3036
+ set( "out", &out ) );
3037
+
3038
+ return( out );
3039
+ }
3040
+
3041
+ VImage VImage::rotate( double angle, VOption *options ) const
3042
+ {
3043
+ VImage out;
3044
+
3045
+ call( "rotate",
3046
+ (options ? options : VImage::option())->
3047
+ set( "in", *this )->
3048
+ set( "out", &out )->
3049
+ set( "angle", angle ) );
3050
+
3051
+ return( out );
3052
+ }
3053
+
3054
+ VImage VImage::round( VipsOperationRound round, VOption *options ) const
3055
+ {
3056
+ VImage out;
3057
+
3058
+ call( "round",
3059
+ (options ? options : VImage::option())->
3060
+ set( "in", *this )->
3061
+ set( "out", &out )->
3062
+ set( "round", round ) );
3063
+
3064
+ return( out );
3065
+ }
3066
+
3067
+ VImage VImage::sRGB2HSV( VOption *options ) const
3068
+ {
3069
+ VImage out;
3070
+
3071
+ call( "sRGB2HSV",
3072
+ (options ? options : VImage::option())->
3073
+ set( "in", *this )->
3074
+ set( "out", &out ) );
3075
+
3076
+ return( out );
3077
+ }
3078
+
3079
+ VImage VImage::sRGB2scRGB( VOption *options ) const
3080
+ {
3081
+ VImage out;
3082
+
3083
+ call( "sRGB2scRGB",
3084
+ (options ? options : VImage::option())->
3085
+ set( "in", *this )->
3086
+ set( "out", &out ) );
3087
+
3088
+ return( out );
3089
+ }
3090
+
3091
+ VImage VImage::scRGB2BW( VOption *options ) const
3092
+ {
3093
+ VImage out;
3094
+
3095
+ call( "scRGB2BW",
3096
+ (options ? options : VImage::option())->
3097
+ set( "in", *this )->
3098
+ set( "out", &out ) );
3099
+
3100
+ return( out );
3101
+ }
3102
+
3103
+ VImage VImage::scRGB2XYZ( VOption *options ) const
3104
+ {
3105
+ VImage out;
3106
+
3107
+ call( "scRGB2XYZ",
3108
+ (options ? options : VImage::option())->
3109
+ set( "in", *this )->
3110
+ set( "out", &out ) );
3111
+
3112
+ return( out );
3113
+ }
3114
+
3115
+ VImage VImage::scRGB2sRGB( VOption *options ) const
3116
+ {
3117
+ VImage out;
3118
+
3119
+ call( "scRGB2sRGB",
3120
+ (options ? options : VImage::option())->
3121
+ set( "in", *this )->
3122
+ set( "out", &out ) );
3123
+
3124
+ return( out );
3125
+ }
3126
+
3127
+ VImage VImage::scale( VOption *options ) const
3128
+ {
3129
+ VImage out;
3130
+
3131
+ call( "scale",
3132
+ (options ? options : VImage::option())->
3133
+ set( "in", *this )->
3134
+ set( "out", &out ) );
3135
+
3136
+ return( out );
3137
+ }
3138
+
3139
+ VImage VImage::sequential( VOption *options ) const
3140
+ {
3141
+ VImage out;
3142
+
3143
+ call( "sequential",
3144
+ (options ? options : VImage::option())->
3145
+ set( "in", *this )->
3146
+ set( "out", &out ) );
3147
+
3148
+ return( out );
3149
+ }
3150
+
3151
+ VImage VImage::sharpen( VOption *options ) const
3152
+ {
3153
+ VImage out;
3154
+
3155
+ call( "sharpen",
3156
+ (options ? options : VImage::option())->
3157
+ set( "in", *this )->
3158
+ set( "out", &out ) );
3159
+
3160
+ return( out );
3161
+ }
3162
+
3163
+ VImage VImage::shrink( double hshrink, double vshrink, VOption *options ) const
3164
+ {
3165
+ VImage out;
3166
+
3167
+ call( "shrink",
3168
+ (options ? options : VImage::option())->
3169
+ set( "in", *this )->
3170
+ set( "out", &out )->
3171
+ set( "hshrink", hshrink )->
3172
+ set( "vshrink", vshrink ) );
3173
+
3174
+ return( out );
3175
+ }
3176
+
3177
+ VImage VImage::shrinkh( int hshrink, VOption *options ) const
3178
+ {
3179
+ VImage out;
3180
+
3181
+ call( "shrinkh",
3182
+ (options ? options : VImage::option())->
3183
+ set( "in", *this )->
3184
+ set( "out", &out )->
3185
+ set( "hshrink", hshrink ) );
3186
+
3187
+ return( out );
3188
+ }
3189
+
3190
+ VImage VImage::shrinkv( int vshrink, VOption *options ) const
3191
+ {
3192
+ VImage out;
3193
+
3194
+ call( "shrinkv",
3195
+ (options ? options : VImage::option())->
3196
+ set( "in", *this )->
3197
+ set( "out", &out )->
3198
+ set( "vshrink", vshrink ) );
3199
+
3200
+ return( out );
3201
+ }
3202
+
3203
+ VImage VImage::sign( VOption *options ) const
3204
+ {
3205
+ VImage out;
3206
+
3207
+ call( "sign",
3208
+ (options ? options : VImage::option())->
3209
+ set( "in", *this )->
3210
+ set( "out", &out ) );
3211
+
3212
+ return( out );
3213
+ }
3214
+
3215
+ VImage VImage::similarity( VOption *options ) const
3216
+ {
3217
+ VImage out;
3218
+
3219
+ call( "similarity",
3220
+ (options ? options : VImage::option())->
3221
+ set( "in", *this )->
3222
+ set( "out", &out ) );
3223
+
3224
+ return( out );
3225
+ }
3226
+
3227
+ VImage VImage::sines( int width, int height, VOption *options )
3228
+ {
3229
+ VImage out;
3230
+
3231
+ call( "sines",
3232
+ (options ? options : VImage::option())->
3233
+ set( "out", &out )->
3234
+ set( "width", width )->
3235
+ set( "height", height ) );
3236
+
3237
+ return( out );
3238
+ }
3239
+
3240
+ VImage VImage::smartcrop( int width, int height, VOption *options ) const
3241
+ {
3242
+ VImage out;
3243
+
3244
+ call( "smartcrop",
3245
+ (options ? options : VImage::option())->
3246
+ set( "input", *this )->
3247
+ set( "out", &out )->
3248
+ set( "width", width )->
3249
+ set( "height", height ) );
3250
+
3251
+ return( out );
3252
+ }
3253
+
3254
+ VImage VImage::sobel( VOption *options ) const
3255
+ {
3256
+ VImage out;
3257
+
3258
+ call( "sobel",
3259
+ (options ? options : VImage::option())->
3260
+ set( "in", *this )->
3261
+ set( "out", &out ) );
3262
+
3263
+ return( out );
3264
+ }
3265
+
3266
+ VImage VImage::spcor( VImage ref, VOption *options ) const
3267
+ {
3268
+ VImage out;
3269
+
3270
+ call( "spcor",
3271
+ (options ? options : VImage::option())->
3272
+ set( "in", *this )->
3273
+ set( "out", &out )->
3274
+ set( "ref", ref ) );
3275
+
3276
+ return( out );
3277
+ }
3278
+
3279
+ VImage VImage::spectrum( VOption *options ) const
3280
+ {
3281
+ VImage out;
3282
+
3283
+ call( "spectrum",
3284
+ (options ? options : VImage::option())->
3285
+ set( "in", *this )->
3286
+ set( "out", &out ) );
3287
+
3288
+ return( out );
3289
+ }
3290
+
3291
+ VImage VImage::stats( VOption *options ) const
3292
+ {
3293
+ VImage out;
3294
+
3295
+ call( "stats",
3296
+ (options ? options : VImage::option())->
3297
+ set( "in", *this )->
3298
+ set( "out", &out ) );
3299
+
3300
+ return( out );
3301
+ }
3302
+
3303
+ VImage VImage::stdif( int width, int height, VOption *options ) const
3304
+ {
3305
+ VImage out;
3306
+
3307
+ call( "stdif",
3308
+ (options ? options : VImage::option())->
3309
+ set( "in", *this )->
3310
+ set( "out", &out )->
3311
+ set( "width", width )->
3312
+ set( "height", height ) );
3313
+
3314
+ return( out );
3315
+ }
3316
+
3317
+ VImage VImage::subsample( int xfac, int yfac, VOption *options ) const
3318
+ {
3319
+ VImage out;
3320
+
3321
+ call( "subsample",
3322
+ (options ? options : VImage::option())->
3323
+ set( "input", *this )->
3324
+ set( "out", &out )->
3325
+ set( "xfac", xfac )->
3326
+ set( "yfac", yfac ) );
3327
+
3328
+ return( out );
3329
+ }
3330
+
3331
+ VImage VImage::subtract( VImage right, VOption *options ) const
3332
+ {
3333
+ VImage out;
3334
+
3335
+ call( "subtract",
3336
+ (options ? options : VImage::option())->
3337
+ set( "left", *this )->
3338
+ set( "out", &out )->
3339
+ set( "right", right ) );
3340
+
3341
+ return( out );
3342
+ }
3343
+
3344
+ VImage VImage::sum( std::vector<VImage> in, VOption *options )
3345
+ {
3346
+ VImage out;
3347
+
3348
+ call( "sum",
3349
+ (options ? options : VImage::option())->
3350
+ set( "out", &out )->
3351
+ set( "in", in ) );
3352
+
3353
+ return( out );
3354
+ }
3355
+
3356
+ VImage VImage::svgload( const char *filename, VOption *options )
3357
+ {
3358
+ VImage out;
3359
+
3360
+ call( "svgload",
3361
+ (options ? options : VImage::option())->
3362
+ set( "out", &out )->
3363
+ set( "filename", filename ) );
3364
+
3365
+ return( out );
3366
+ }
3367
+
3368
+ VImage VImage::svgload_buffer( VipsBlob *buffer, VOption *options )
3369
+ {
3370
+ VImage out;
3371
+
3372
+ call( "svgload_buffer",
3373
+ (options ? options : VImage::option())->
3374
+ set( "out", &out )->
3375
+ set( "buffer", buffer ) );
3376
+
3377
+ return( out );
3378
+ }
3379
+
3380
+ VImage VImage::svgload_source( VSource source, VOption *options )
3381
+ {
3382
+ VImage out;
3383
+
3384
+ call( "svgload_source",
3385
+ (options ? options : VImage::option())->
3386
+ set( "out", &out )->
3387
+ set( "source", source ) );
3388
+
3389
+ return( out );
3390
+ }
3391
+
3392
+ VImage VImage::switch_image( std::vector<VImage> tests, VOption *options )
3393
+ {
3394
+ VImage out;
3395
+
3396
+ call( "switch",
3397
+ (options ? options : VImage::option())->
3398
+ set( "out", &out )->
3399
+ set( "tests", tests ) );
3400
+
3401
+ return( out );
3402
+ }
3403
+
3404
+ void VImage::system( const char *cmd_format, VOption *options )
3405
+ {
3406
+ call( "system",
3407
+ (options ? options : VImage::option())->
3408
+ set( "cmd_format", cmd_format ) );
3409
+ }
3410
+
3411
+ VImage VImage::text( const char *text, VOption *options )
3412
+ {
3413
+ VImage out;
3414
+
3415
+ call( "text",
3416
+ (options ? options : VImage::option())->
3417
+ set( "out", &out )->
3418
+ set( "text", text ) );
3419
+
3420
+ return( out );
3421
+ }
3422
+
3423
+ VImage VImage::thumbnail( const char *filename, int width, VOption *options )
3424
+ {
3425
+ VImage out;
3426
+
3427
+ call( "thumbnail",
3428
+ (options ? options : VImage::option())->
3429
+ set( "out", &out )->
3430
+ set( "filename", filename )->
3431
+ set( "width", width ) );
3432
+
3433
+ return( out );
3434
+ }
3435
+
3436
+ VImage VImage::thumbnail_buffer( VipsBlob *buffer, int width, VOption *options )
3437
+ {
3438
+ VImage out;
3439
+
3440
+ call( "thumbnail_buffer",
3441
+ (options ? options : VImage::option())->
3442
+ set( "out", &out )->
3443
+ set( "buffer", buffer )->
3444
+ set( "width", width ) );
3445
+
3446
+ return( out );
3447
+ }
3448
+
3449
+ VImage VImage::thumbnail_image( int width, VOption *options ) const
3450
+ {
3451
+ VImage out;
3452
+
3453
+ call( "thumbnail_image",
3454
+ (options ? options : VImage::option())->
3455
+ set( "in", *this )->
3456
+ set( "out", &out )->
3457
+ set( "width", width ) );
3458
+
3459
+ return( out );
3460
+ }
3461
+
3462
+ VImage VImage::thumbnail_source( VSource source, int width, VOption *options )
3463
+ {
3464
+ VImage out;
3465
+
3466
+ call( "thumbnail_source",
3467
+ (options ? options : VImage::option())->
3468
+ set( "out", &out )->
3469
+ set( "source", source )->
3470
+ set( "width", width ) );
3471
+
3472
+ return( out );
3473
+ }
3474
+
3475
+ VImage VImage::tiffload( const char *filename, VOption *options )
3476
+ {
3477
+ VImage out;
3478
+
3479
+ call( "tiffload",
3480
+ (options ? options : VImage::option())->
3481
+ set( "out", &out )->
3482
+ set( "filename", filename ) );
3483
+
3484
+ return( out );
3485
+ }
3486
+
3487
+ VImage VImage::tiffload_buffer( VipsBlob *buffer, VOption *options )
3488
+ {
3489
+ VImage out;
3490
+
3491
+ call( "tiffload_buffer",
3492
+ (options ? options : VImage::option())->
3493
+ set( "out", &out )->
3494
+ set( "buffer", buffer ) );
3495
+
3496
+ return( out );
3497
+ }
3498
+
3499
+ VImage VImage::tiffload_source( VSource source, VOption *options )
3500
+ {
3501
+ VImage out;
3502
+
3503
+ call( "tiffload_source",
3504
+ (options ? options : VImage::option())->
3505
+ set( "out", &out )->
3506
+ set( "source", source ) );
3507
+
3508
+ return( out );
3509
+ }
3510
+
3511
+ void VImage::tiffsave( const char *filename, VOption *options ) const
3512
+ {
3513
+ call( "tiffsave",
3514
+ (options ? options : VImage::option())->
3515
+ set( "in", *this )->
3516
+ set( "filename", filename ) );
3517
+ }
3518
+
3519
+ VipsBlob *VImage::tiffsave_buffer( VOption *options ) const
3520
+ {
3521
+ VipsBlob *buffer;
3522
+
3523
+ call( "tiffsave_buffer",
3524
+ (options ? options : VImage::option())->
3525
+ set( "in", *this )->
3526
+ set( "buffer", &buffer ) );
3527
+
3528
+ return( buffer );
3529
+ }
3530
+
3531
+ void VImage::tiffsave_target( VTarget target, VOption *options ) const
3532
+ {
3533
+ call( "tiffsave_target",
3534
+ (options ? options : VImage::option())->
3535
+ set( "in", *this )->
3536
+ set( "target", target ) );
3537
+ }
3538
+
3539
+ VImage VImage::tilecache( VOption *options ) const
3540
+ {
3541
+ VImage out;
3542
+
3543
+ call( "tilecache",
3544
+ (options ? options : VImage::option())->
3545
+ set( "in", *this )->
3546
+ set( "out", &out ) );
3547
+
3548
+ return( out );
3549
+ }
3550
+
3551
+ VImage VImage::tonelut( VOption *options )
3552
+ {
3553
+ VImage out;
3554
+
3555
+ call( "tonelut",
3556
+ (options ? options : VImage::option())->
3557
+ set( "out", &out ) );
3558
+
3559
+ return( out );
3560
+ }
3561
+
3562
+ VImage VImage::transpose3d( VOption *options ) const
3563
+ {
3564
+ VImage out;
3565
+
3566
+ call( "transpose3d",
3567
+ (options ? options : VImage::option())->
3568
+ set( "in", *this )->
3569
+ set( "out", &out ) );
3570
+
3571
+ return( out );
3572
+ }
3573
+
3574
+ VImage VImage::unpremultiply( VOption *options ) const
3575
+ {
3576
+ VImage out;
3577
+
3578
+ call( "unpremultiply",
3579
+ (options ? options : VImage::option())->
3580
+ set( "in", *this )->
3581
+ set( "out", &out ) );
3582
+
3583
+ return( out );
3584
+ }
3585
+
3586
+ VImage VImage::vipsload( const char *filename, VOption *options )
3587
+ {
3588
+ VImage out;
3589
+
3590
+ call( "vipsload",
3591
+ (options ? options : VImage::option())->
3592
+ set( "out", &out )->
3593
+ set( "filename", filename ) );
3594
+
3595
+ return( out );
3596
+ }
3597
+
3598
+ VImage VImage::vipsload_source( VSource source, VOption *options )
3599
+ {
3600
+ VImage out;
3601
+
3602
+ call( "vipsload_source",
3603
+ (options ? options : VImage::option())->
3604
+ set( "out", &out )->
3605
+ set( "source", source ) );
3606
+
3607
+ return( out );
3608
+ }
3609
+
3610
+ void VImage::vipssave( const char *filename, VOption *options ) const
3611
+ {
3612
+ call( "vipssave",
3613
+ (options ? options : VImage::option())->
3614
+ set( "in", *this )->
3615
+ set( "filename", filename ) );
3616
+ }
3617
+
3618
+ void VImage::vipssave_target( VTarget target, VOption *options ) const
3619
+ {
3620
+ call( "vipssave_target",
3621
+ (options ? options : VImage::option())->
3622
+ set( "in", *this )->
3623
+ set( "target", target ) );
3624
+ }
3625
+
3626
+ VImage VImage::webpload( const char *filename, VOption *options )
3627
+ {
3628
+ VImage out;
3629
+
3630
+ call( "webpload",
3631
+ (options ? options : VImage::option())->
3632
+ set( "out", &out )->
3633
+ set( "filename", filename ) );
3634
+
3635
+ return( out );
3636
+ }
3637
+
3638
+ VImage VImage::webpload_buffer( VipsBlob *buffer, VOption *options )
3639
+ {
3640
+ VImage out;
3641
+
3642
+ call( "webpload_buffer",
3643
+ (options ? options : VImage::option())->
3644
+ set( "out", &out )->
3645
+ set( "buffer", buffer ) );
3646
+
3647
+ return( out );
3648
+ }
3649
+
3650
+ VImage VImage::webpload_source( VSource source, VOption *options )
3651
+ {
3652
+ VImage out;
3653
+
3654
+ call( "webpload_source",
3655
+ (options ? options : VImage::option())->
3656
+ set( "out", &out )->
3657
+ set( "source", source ) );
3658
+
3659
+ return( out );
3660
+ }
3661
+
3662
+ void VImage::webpsave( const char *filename, VOption *options ) const
3663
+ {
3664
+ call( "webpsave",
3665
+ (options ? options : VImage::option())->
3666
+ set( "in", *this )->
3667
+ set( "filename", filename ) );
3668
+ }
3669
+
3670
+ VipsBlob *VImage::webpsave_buffer( VOption *options ) const
3671
+ {
3672
+ VipsBlob *buffer;
3673
+
3674
+ call( "webpsave_buffer",
3675
+ (options ? options : VImage::option())->
3676
+ set( "in", *this )->
3677
+ set( "buffer", &buffer ) );
3678
+
3679
+ return( buffer );
3680
+ }
3681
+
3682
+ void VImage::webpsave_mime( VOption *options ) const
3683
+ {
3684
+ call( "webpsave_mime",
3685
+ (options ? options : VImage::option())->
3686
+ set( "in", *this ) );
3687
+ }
3688
+
3689
+ void VImage::webpsave_target( VTarget target, VOption *options ) const
3690
+ {
3691
+ call( "webpsave_target",
3692
+ (options ? options : VImage::option())->
3693
+ set( "in", *this )->
3694
+ set( "target", target ) );
3695
+ }
3696
+
3697
+ VImage VImage::worley( int width, int height, VOption *options )
3698
+ {
3699
+ VImage out;
3700
+
3701
+ call( "worley",
3702
+ (options ? options : VImage::option())->
3703
+ set( "out", &out )->
3704
+ set( "width", width )->
3705
+ set( "height", height ) );
3706
+
3707
+ return( out );
3708
+ }
3709
+
3710
+ VImage VImage::wrap( VOption *options ) const
3711
+ {
3712
+ VImage out;
3713
+
3714
+ call( "wrap",
3715
+ (options ? options : VImage::option())->
3716
+ set( "in", *this )->
3717
+ set( "out", &out ) );
3718
+
3719
+ return( out );
3720
+ }
3721
+
3722
+ VImage VImage::xyz( int width, int height, VOption *options )
3723
+ {
3724
+ VImage out;
3725
+
3726
+ call( "xyz",
3727
+ (options ? options : VImage::option())->
3728
+ set( "out", &out )->
3729
+ set( "width", width )->
3730
+ set( "height", height ) );
3731
+
3732
+ return( out );
3733
+ }
3734
+
3735
+ VImage VImage::zone( int width, int height, VOption *options )
3736
+ {
3737
+ VImage out;
3738
+
3739
+ call( "zone",
3740
+ (options ? options : VImage::option())->
3741
+ set( "out", &out )->
3742
+ set( "width", width )->
3743
+ set( "height", height ) );
3744
+
3745
+ return( out );
3746
+ }
3747
+
3748
+ VImage VImage::zoom( int xfac, int yfac, VOption *options ) const
3749
+ {
3750
+ VImage out;
3751
+
3752
+ call( "zoom",
3753
+ (options ? options : VImage::option())->
3754
+ set( "input", *this )->
3755
+ set( "out", &out )->
3756
+ set( "xfac", xfac )->
3757
+ set( "yfac", yfac ) );
3758
+
3759
+ return( out );
3760
+ }