png-compressor
    Preparing search index...

    Interface IPngMetadataOffset

    A metadata entry that defines the image's offset. This could be for example the position on a printed page at which the image should be output when printed alone, or the image's location with respect to a larger screen.

    interface IPngMetadataOffset {
        offset: { x: number; y: number };
        type: "oFFs";
        unitType: "pixel" | "micrometer";
    }
    Index

    Properties

    Properties

    offset: { x: number; y: number }

    The offset.

    type: "oFFs"

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

    unitType: "pixel" | "micrometer"

    The unit type of the offset.