Image Handlers
#blitzmax #library
|
hai 2 meses | |
---|---|---|
bmp.mod | %!s(int64=3) %!d(string=hai) anos | |
cms.mod | %!s(int64=2) %!d(string=hai) anos | |
gif.mod | hai 1 ano | |
ilbm.mod | hai 6 meses | |
jpeg2000.mod | %!s(int64=2) %!d(string=hai) anos | |
jpg.mod | %!s(int64=3) %!d(string=hai) anos | |
jxl.mod | %!s(int64=2) %!d(string=hai) anos | |
jxlwriter.mod | %!s(int64=2) %!d(string=hai) anos | |
pcx.mod | %!s(int64=3) %!d(string=hai) anos | |
pic.mod | %!s(int64=3) %!d(string=hai) anos | |
png.mod | hai 2 meses | |
pnm.mod | %!s(int64=3) %!d(string=hai) anos | |
qoi.mod | %!s(int64=3) %!d(string=hai) anos | |
raw.mod | %!s(int64=3) %!d(string=hai) anos | |
stb.mod | hai 10 meses | |
svg.mod | hai 10 meses | |
tga.mod | %!s(int64=3) %!d(string=hai) anos | |
tiff.mod | hai 5 meses | |
webp.mod | hai 1 ano | |
yuv.mod | hai 11 meses | |
.gitignore | %!s(int64=3) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos |
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.