DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

ImageReadJPEGInfo

Get information about image in JPEG file (in dipIO)

SYNOPSIS

#include "dipio_jpeg.h"

dip_Error dipio_ImageReadJPEGInfo ( imInfo, filename, imageNumber )

FUNCTION

Opens a JPEG file and fills a dipio_ImageFileInformation structure with the information from that file. imInfo must be allocated before calling this function.

ARGUMENTS

Data typeNameDescription
dipio_ImageFileInformationimInfoOutput image file information. See ImageFileInformationNew
dip_StringfilenameFile name

SOFTWARE

This function uses libjpeg (version 6b or later). Copyright (c)1994-1998, Thomas G. Lane.

SEE ALSO

ImageFileGetInfo, ImageIsJPEG, ImageReadJPEG, ImageWriteJPEG, ImageFileInformationNew