The OpenD Programming Language

detect_jpeg_image_from_memory

read JPEG image header, determine dimensions and number of components. return false if image is not JPEG (i hope).

@system
bool
detect_jpeg_image_from_memory
(
const(void)[] buf
,
out int width
,
out int height
,
out int actual_comps
)

Meta