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