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