The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
encodeJpeg
arsd
jpeg
Encodes an image as jpeg in memory.
ubyte
[]
encodeJpeg
(TrueColorImage img, JpegParams params)
void
encodeJpeg
(bool delegate(const scope ubyte[]) dg, TrueColorImage img, JpegParams params)
@
system
static if
(
JpegHasArsd
)
void
encodeJpeg
(
scope
bool
delegate
(
const
scope
ubyte
[]
)
dg
,
TrueColorImage
img
,
JpegParams
params
=
JpegParams.init
)
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.