ImageWrite
stb.ImageWrite (extern class)
Static Members
write_bmp(filename: String, w: Int, h: Int, comp: Int, bytes: haxe.io.BytesData, byteOffset: Int, byteLength: Int): Int
Name | Type |
---|---|
filename |
String |
w |
Int |
h |
Int |
comp |
Int |
bytes |
haxe.io.BytesData |
byteOffset |
Int |
byteLength |
Int |
Returns |
---|
Int |
write_tga(filename: String, w: Int, h: Int, comp: Int, bytes: haxe.io.BytesData, byteOffset: Int, byteLength: Int): Int
Name | Type |
---|---|
filename |
String |
w |
Int |
h |
Int |
comp |
Int |
bytes |
haxe.io.BytesData |
byteOffset |
Int |
byteLength |
Int |
Returns |
---|
Int |
write_hdr(filename: String, w: Int, h: Int, comp: Int, bytes: haxe.io.BytesData, byteOffset: Int, byteLength: Int): Int
Name | Type |
---|---|
filename |
String |
w |
Int |
h |
Int |
comp |
Int |
bytes |
haxe.io.BytesData |
byteOffset |
Int |
byteLength |
Int |
Returns |
---|
Int |
write_png(filename: String, w: Int, h: Int, comp: Int, bytes: haxe.io.BytesData, byteOffset: Int, byteLength: Int, stride_in_bytes: Int): Int
Name | Type |
---|---|
filename |
String |
w |
Int |
h |
Int |
comp |
Int |
bytes |
haxe.io.BytesData |
byteOffset |
Int |
byteLength |
Int |
stride_in_bytes |
Int |
Returns |
---|
Int |
write_jpg(filename: String, w: Int, h: Int, comp: Int, bytes: haxe.io.BytesData, byteOffset: Int, byteLength: Int, quality: Int): Int
Name | Type |
---|---|
filename |
String |
w |
Int |
h |
Int |
comp |
Int |
bytes |
haxe.io.BytesData |
byteOffset |
Int |
byteLength |
Int |
quality |
Int |
Returns |
---|
Int |
write_png_to_mem(w: Int, h: Int, comp: Int, bytes: haxe.io.BytesData, byteOffset: Int, byteLength: Int, stride_in_bytes: Int): haxe.io.BytesData
Name | Type |
---|---|
w |
Int |
h |
Int |
comp |
Int |
bytes |
haxe.io.BytesData |
byteOffset |
Int |
byteLength |
Int |
stride_in_bytes |
Int |
Returns |
---|
haxe.io.BytesData |
Metadata
Name | Parameters |
---|---|
:build |
linc.Linc.touch() |
:build |
linc.Linc.xml("stb_image_write") |
:include |
"linc_stb_image_write.h" |