class HexaPDF::CLI::Images::ImageLocationProcessor

Parent

Extracts the PPI (pixel per inch) information for each image of a content stream.

Attributes

result[R]

The mapping of XObject name to [x_ppi, y_ppi].

Public Class Methods

new(names, user_unit)

Initialize the processor with the names of the images for which the PPI should be determined.

Calls superclass method HexaPDF::Content::Processor::new

Public Instance Methods

paint_xobject(name)

Determine the PPI in x- and y-directions of the specified images.