constitute.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. Copyright 1999 ImageMagick Studio LLC, a non-profit organization
  3. dedicated to making software imaging solutions freely available.
  4. You may not use this file except in compliance with the License. You may
  5. obtain a copy of the License at
  6. https://imagemagick.org/script/license.php
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. MagickCore image constitute methods.
  13. */
  14. #ifndef MAGICKCORE_CONSTITUTE_H
  15. #define MAGICKCORE_CONSTITUTE_H
  16. #if defined(__cplusplus) || defined(c_plusplus)
  17. extern "C" {
  18. #endif
  19. typedef enum
  20. {
  21. UndefinedPixel,
  22. CharPixel,
  23. DoublePixel,
  24. FloatPixel,
  25. IntegerPixel,
  26. LongPixel,
  27. QuantumPixel,
  28. ShortPixel
  29. } StorageType;
  30. extern MagickExport Image
  31. *ConstituteImage(const size_t,const size_t,const char *,const StorageType,
  32. const void *,ExceptionInfo *),
  33. *PingImage(const ImageInfo *,ExceptionInfo *),
  34. *PingImages(const ImageInfo *,ExceptionInfo *),
  35. *ReadImage(const ImageInfo *,ExceptionInfo *),
  36. *ReadImages(const ImageInfo *,ExceptionInfo *),
  37. *ReadInlineImage(const ImageInfo *,const char *,ExceptionInfo *);
  38. extern MagickExport MagickBooleanType
  39. WriteImage(const ImageInfo *,Image *),
  40. WriteImages(const ImageInfo *,Image *,const char *,ExceptionInfo *);
  41. #if defined(__cplusplus) || defined(c_plusplus)
  42. }
  43. #endif
  44. #endif