JpegParser
in package
FinalYes
Parse JPEG headers (SOF marker) for dimensions, components, and color space.
Also extracts ICC profile data from APP2 markers when present, which is needed for accurate color reproduction in PDF/A output.
Table of Contents
Methods
Methods
parse()
public
static parse(string $data) : ImageInfo
Parameters
- $data : string
Return values
ImageInfoparseFile()
public
static parseFile(string $path) : ImageInfo
Parameters
- $path : string