arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
encodeJpeg
arsd
jpeg
Encodes an image as jpeg in memory.
ubyte
[]
encodeJpeg
(TrueColorImage img, JpegParams params)
@
system
static if
(
JpegHasArsd
)
ubyte
[]
encodeJpeg
(
TrueColorImage
img
,
JpegParams
params
=
JpegParams.init
)
void
encodeJpeg
(bool delegate(const scope ubyte[]) dg, TrueColorImage img, JpegParams params)
Meta
Source
See Implementation
History
Added January 22, 2021 (release version 9.2)
arsd
jpeg
aliases
JpegStreamReadFunc
enums
JpegSubsampling
functions
compress_image_to_jpeg_file
compress_image_to_jpeg_stream
decompress_jpeg_image_from_file
decompress_jpeg_image_from_memory
decompress_jpeg_image_from_stream
detect_jpeg_image_from_file
detect_jpeg_image_from_memory
detect_jpeg_image_from_stream
encodeJpeg
readJpeg
readJpegFromMemory
readJpegFromStream
writeJpeg
structs
JpegParams
Encodes an image as jpeg in memory.