Image Handlers
#blitzmax #library
|
2 сар өмнө | |
---|---|---|
bmp.mod | 3 жил өмнө | |
cms.mod | 2 жил өмнө | |
gif.mod | 1 жил өмнө | |
ilbm.mod | 6 сар өмнө | |
jpeg2000.mod | 2 жил өмнө | |
jpg.mod | 3 жил өмнө | |
jxl.mod | 2 жил өмнө | |
jxlwriter.mod | 2 жил өмнө | |
pcx.mod | 3 жил өмнө | |
pic.mod | 3 жил өмнө | |
png.mod | 2 сар өмнө | |
pnm.mod | 3 жил өмнө | |
qoi.mod | 3 жил өмнө | |
raw.mod | 3 жил өмнө | |
stb.mod | 10 сар өмнө | |
svg.mod | 10 сар өмнө | |
tga.mod | 3 жил өмнө | |
tiff.mod | 5 сар өмнө | |
webp.mod | 1 жил өмнө | |
yuv.mod | 11 сар өмнө | |
.gitignore | 3 жил өмнө | |
README.md | 2 жил өмнө |
BlitzMax includes support for loading many different image formats.
Simply import one of the image modules, and you will be able to load images of that format into a TPixmap
.
The following image formats are currently supported :
Usage :
Import Image.BMP
See Wikipedia for more information about the format.
Usage :
Import Image.GIF
Supports both static and animated GIFs.
To load an animated GIF, use the following function, TGifImage.LoadImage(url:Object)
:
Local image:TImage = TGifImage.LoadImage("image-name.gif")
This function returns a fully populated Max2D TImage
object directly (similar to calling LoadAnimImage
), rather than a TPixmap
.
GIF frame delays are stored in the frameDuration:Int[]
field of TImage
as a time in milliseconds.
See Wikipedia for more information about the format.
Usage :
Import Image.ILBM
See Wikipedia for more information about the format.
Usage :
Import Image.JPG
See Wikipedia for more information about the format.
Usage :
Import Image.PCX
See Wikipedia for more information about the format.
Usage :
Import Image.PIC
See Wikipedia for more information about the format.
Usage :
Import Image.PNG
See Wikipedia for more information about the format.
Usage :
Import Image.PNM
See Wikipedia for more information about the format.
Usage :
Import Image.QOI
Usage :
Import Image.RAW
See Wikipedia for more information about the format.
Usage :
Import Image.SVG
See Wikipedia for more information about the format.
Usage :
Import Image.TGA
See Wikipedia for more information about the format.
Usage :
Import Image.WEBP
See Wikipedia for more information about the format.