phpdftk API Documentation

ImageParser
in package

FinalYes

Detect image format from magic bytes and delegate to the format-specific parser.

Extracts only header metadata (dimensions, color space, bit depth) — never decodes pixel data. This keeps image embedding fast since PDF can reference the compressed image bytes directly.

Table of Contents

Methods

parse()  : ImageInfo
parseString()  : ImageInfo

Methods


        
On this page

Search results