VampyreImaging.dpr 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. {
  2. Vampyre Imaging Library
  3. by Marek Mauder
  4. http://imaginglib.sourceforge.net
  5. The contents of this file are used with permission, subject to the Mozilla
  6. Public License Version 1.1 (the "License"); you may not use this file except
  7. in compliance with the License. You may obtain a copy of the License at
  8. http://www.mozilla.org/MPL/MPL-1.1.html
  9. Software distributed under the License is distributed on an "AS IS" basis,
  10. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
  11. the specific language governing rights and limitations under the License.
  12. Alternatively, the contents of this file may be used under the terms of the
  13. GNU Lesser General Public License (the "LGPL License"), in which case the
  14. provisions of the LGPL License are applicable instead of those above.
  15. If you wish to allow use of your version of this file only under the terms
  16. of the LGPL License and not to allow others to use your version of this file
  17. under the MPL, indicate your decision by deleting the provisions above and
  18. replace them with the notice and other provisions required by the LGPL
  19. License. If you do not delete the provisions above, a recipient may use
  20. your version of this file under either the MPL or the LGPL License.
  21. For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html
  22. }
  23. { This is main file for Imaging dynamic link library. It exports
  24. some low level functions operating on TImageData record. All string are
  25. exported as PChars.}
  26. library VampyreImaging;
  27. { $DEFINE EXPORT_GLEXT}
  28. {$I ImagingOptions.inc}
  29. uses
  30. {$IFDEF EXPORT_GLEXT}
  31. ImagingOpenGL,
  32. {$ENDIF}
  33. ImagingTypes,
  34. ImagingExport;
  35. {$IFDEF MSWINDOWS}
  36. {$R *.res}
  37. {$ENDIF}
  38. {$IFDEF EXPORT_GLEXT}
  39. function ImLoadGLTextureFromFile(FileName: PAnsiChar): LongWord; cdecl;
  40. begin
  41. Result := ImagingOpenGL.LoadGLTextureFromFile(FileName, nil, nil);
  42. end;
  43. {$ENDIF}
  44. exports
  45. {$IFDEF EXPORT_GLEXT}
  46. ImLoadGLTextureFromFile,
  47. {$ENDIF}
  48. ImGetVersion,
  49. ImInitImage,
  50. ImNewImage,
  51. ImTestImage,
  52. ImFreeImage,
  53. ImDetermineFileFormat,
  54. ImDetermineMemoryFormat,
  55. ImIsFileFormatSupported,
  56. ImEnumFileFormats,
  57. ImInitImageList,
  58. ImGetImageListSize,
  59. ImGetImageListElement,
  60. ImSetImageListSize,
  61. ImSetImageListElement,
  62. ImTestImagesInList,
  63. ImFreeImageList,
  64. ImLoadImageFromFile,
  65. ImLoadMultiImageFromFile,
  66. ImLoadImageFromMemory,
  67. ImLoadMultiImageFromMemory,
  68. ImSaveImageToFile,
  69. ImSaveImageToMemory,
  70. ImSaveMultiImageToFile,
  71. ImSaveMultiImageToMemory,
  72. ImCloneImage,
  73. ImConvertImage,
  74. ImFlipImage,
  75. ImMirrorImage,
  76. ImResizeImage,
  77. ImSwapChannels,
  78. ImReduceColors,
  79. ImGenerateMipMaps,
  80. ImMapImageToPalette,
  81. ImSplitImage,
  82. ImMakePaletteForImages,
  83. ImRotateImage,
  84. ImCopyRect,
  85. ImFillRect,
  86. ImReplaceColor,
  87. ImStretchRect,
  88. ImGetPixelDirect,
  89. ImSetPixelDirect,
  90. ImGetPixel32,
  91. ImSetPixel32,
  92. ImGetPixelFP,
  93. ImSetPixelFP,
  94. ImNewPalette,
  95. ImFreePalette,
  96. ImCopyPalette,
  97. ImFindColor,
  98. ImFillGrayscalePalette,
  99. ImFillCustomPalette,
  100. ImSwapChannelsOfPalette,
  101. ImSetOption,
  102. ImGetOption,
  103. ImPushOptions,
  104. ImPopOptions,
  105. ImGetImageFormatInfo,
  106. ImGetPixelsSize,
  107. ImSetUserFileIO,
  108. ImResetFileIO;
  109. begin
  110. {
  111. Changes/Bug Fixes:
  112. -- 0.26.3 ---------------------------------------------------
  113. - Added optional GL extension exports.
  114. -- 0.19 -----------------------------------------------------
  115. - updated to reflect changes in ImagingExport
  116. -- 0.13 -----------------------------------------------------
  117. - Free Pascal's smartlinking was turned off when building library
  118. because nothing got exported from it when it was on
  119. }
  120. end.