png-compressor
    Preparing search index...

    Interface IPngMetadataPhysicalScaleOfImageSubject

    A metadata entry that defines the physical scale of the subject within the image. This is often used for maps, floor plans, etc.

    interface IPngMetadataPhysicalScaleOfImageSubject {
        pixelsPerUnit: { x: number; y: number };
        type: "sCAL";
        unitType: "meter" | "radian";
    }
    Index

    Properties

    pixelsPerUnit: { x: number; y: number }

    The number of pixels per unit for each dimension.

    type: "sCAL"

    The type of metadata, this is typically the name of the chunk from which is originates.

    unitType: "meter" | "radian"

    The unit type of the dimensions.