create.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /* create.h
  2. *
  3. * 20/9/09
  4. * - from proto.h
  5. */
  6. /*
  7. This file is part of VIPS.
  8. VIPS is free software; you can redistribute it and/or modify
  9. it under the terms of the GNU Lesser General Public License as published by
  10. the Free Software Foundation; either version 2 of the License, or
  11. (at your option) any later version.
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. GNU Lesser General Public License for more details.
  16. You should have received a copy of the GNU Lesser General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  19. 02110-1301 USA
  20. */
  21. /*
  22. These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
  23. */
  24. #ifndef VIPS_CREATE_H
  25. #define VIPS_CREATE_H
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif /*__cplusplus*/
  29. int vips_black( VipsImage **out, int width, int height, ... )
  30. __attribute__((sentinel));
  31. int vips_xyz( VipsImage **out, int width, int height, ... )
  32. __attribute__((sentinel));
  33. int vips_grey( VipsImage **out, int width, int height, ... )
  34. __attribute__((sentinel));
  35. int vips_gaussmat( VipsImage **out, double sigma, double min_ampl, ... )
  36. __attribute__((sentinel));
  37. int vips_logmat( VipsImage **out, double sigma, double min_ampl, ... )
  38. __attribute__((sentinel));
  39. int vips_text( VipsImage **out, const char *text, ... )
  40. __attribute__((sentinel));
  41. int vips_gaussnoise( VipsImage **out, int width, int height, ... )
  42. __attribute__((sentinel));
  43. int vips_eye( VipsImage **out, int width, int height, ... )
  44. __attribute__((sentinel));
  45. int vips_sines( VipsImage **out, int width, int height, ... )
  46. __attribute__((sentinel));
  47. int vips_zone( VipsImage **out, int width, int height, ... )
  48. __attribute__((sentinel));
  49. int vips_identity( VipsImage **out, ... )
  50. __attribute__((sentinel));
  51. int vips_buildlut( VipsImage *in, VipsImage **out, ... )
  52. __attribute__((sentinel));
  53. int vips_invertlut( VipsImage *in, VipsImage **out, ... )
  54. __attribute__((sentinel));
  55. int vips_tonelut( VipsImage **out, ... )
  56. __attribute__((sentinel));
  57. int vips_mask_ideal( VipsImage **out, int width, int height,
  58. double frequency_cutoff, ... )
  59. __attribute__((sentinel));
  60. int vips_mask_ideal_ring( VipsImage **out, int width, int height,
  61. double frequency_cutoff, double ringwidth, ... )
  62. __attribute__((sentinel));
  63. int vips_mask_ideal_band( VipsImage **out, int width, int height,
  64. double frequency_cutoff_x, double frequency_cutoff_y,
  65. double radius, ... )
  66. __attribute__((sentinel));
  67. int vips_mask_butterworth( VipsImage **out, int width, int height,
  68. double order,
  69. double frequency_cutoff, double amplitude_cutoff, ... )
  70. __attribute__((sentinel));
  71. int vips_mask_butterworth_ring( VipsImage **out, int width, int height,
  72. double order,
  73. double frequency_cutoff, double amplitude_cutoff,
  74. double ringwidth, ... )
  75. __attribute__((sentinel));
  76. int vips_mask_butterworth_band( VipsImage **out, int width, int height,
  77. double order,
  78. double frequency_cutoff_x, double frequency_cutoff_y, double radius,
  79. double amplitude_cutoff, ... )
  80. __attribute__((sentinel));
  81. int vips_mask_gaussian( VipsImage **out, int width, int height,
  82. double frequency_cutoff, double amplitude_cutoff, ... )
  83. __attribute__((sentinel));
  84. int vips_mask_gaussian_ring( VipsImage **out, int width, int height,
  85. double frequency_cutoff, double amplitude_cutoff,
  86. double ringwidth, ... )
  87. __attribute__((sentinel));
  88. int vips_mask_gaussian_band( VipsImage **out, int width, int height,
  89. double frequency_cutoff_x, double frequency_cutoff_y, double radius,
  90. double amplitude_cutoff, ... )
  91. __attribute__((sentinel));
  92. int vips_mask_fractal( VipsImage **out, int width, int height,
  93. double fractal_dimension, ... )
  94. __attribute__((sentinel));
  95. int vips_fractsurf( VipsImage **out,
  96. int width, int height, double fractal_dimension, ... )
  97. __attribute__((sentinel));
  98. int vips_worley( VipsImage **out, int width, int height, ... )
  99. __attribute__((sentinel));
  100. int vips_perlin( VipsImage **out, int width, int height, ... )
  101. __attribute__((sentinel));
  102. #ifdef __cplusplus
  103. }
  104. #endif /*__cplusplus*/
  105. #endif /*VIPS_CREATE_H*/