Chemical
Dark
Light
Paper
Themes
Dark
Light
Paper
Modules
cstd
core
std
compiler
compiler_runtime
lab
transformer
atomic
async
crashsave
osrand
crypto
encoding
bcrypt
uuid
regex
datetime
path
fs
compression
archive
image
audio
font
mime
json
html_comp
html_parser
html
ide
minlsp
html_ide
css_parser
css
css_ide
js_syntax
universal_parser
js_parser
js
js_cbi_lexer
js_ide
md_parser
md
md_ide
universal
universal_ide
page
net
tls
http
server
environment
process
window
webview
docgen
test_env
test
api
bmp.ch
Declarations in
bmp.ch
1
declarations
image
Declarations
Public only
image
#
Public
namespace
namespace
image
load_bmp
#
Public
function
func
load_bmp(path : *char) :
Result
<
Image
,
ImageError
>
copy
parse_bmp
#
Public
function
func
parse_bmp(data : *u8, data_len : size_t) :
Result
<
Image
,
ImageError
>
copy
encode_bmp
#
Public
function
func
encode_bmp(img : *
Image
) :
Result
<
vector
<u8>,
ImageError
>
copy
encode_bmp — encode Image to in-memory BMP bytes (no file I/O).
save_bmp
#
Public
function
func
save_bmp(img : *
Image
, path : *char) :
Result
<
Unit
,
ImageError
>
copy
Show Debug Info
Generated from: /home/runner/work/chemical/chemical/chemical-tcc/libs/image/src/bmp.ch
File ID: 267
↑