The OpenD Programming Language

detect_jpeg_image_from_file

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_file
(
const(char)[] filename
,
out int width
,
out int height
,
out int actual_comps
)

Meta