1PDF::Builder::Resource:U:sXeOrbjCeocntt:r:iPIbDmuFat:ge:edB:u:PiPelNrdMle(r3D:)o:cRuemseonutractei:o:nXObject::Image::PNM(3)
2
3
4

NAME

6       PDF::Builder::Resource::XObject::Image::PNM - support routines for PNM
7       (Portable aNy Map) image library. Inherits from
8       PDF::Builder::Resource::XObject::Image
9
10   METHODS
11       $res = PDF::Builder::Resource::XObject::Image::PNM->new($pdf, $file,
12       %opts)
13           Options:
14
15           'name' => 'string'
16               This is the name you can give for the PNM image object. The
17               default is Nxnnnn.
18
19           'compress' => 1
20               This is the compression you can give for the PNM image object.
21               Any value will cause the use of Flate compression, otherwise
22               ("compress" not given), ASCIIHexDecode is used.
23
24       Returns an image in the PDF. PNM types 1 (ASCII/plain bi-level/PBM), 2
25       (ASCII/plain grayscale/PGM), 3 (ASCII/plain RGB/PPM), 4 (binary/raw
26       bi-level/PBM), 5 (binary/raw grayscale/PGM), and 6 (binary/raw RGB/PPM)
27       are supported.
28
29       For bi-level, only values 0/1 (white/black) are supported. For
30       grayscale, the maximum sample (full white) may be anything from 1 to
31       65535, with 0 being full black. If the maximum sample value is 255 or
32       smaller, one byte of raw binary data per pixel, otherwise two bytes.
33       For RGB, each sample (full-on of that color) may be anything from 1 to
34       65535 (the same maximum for all three colors), with 0 being full black.
35       If the maximum sample value is 255 or smaller, three bytes of raw
36       binary data per pixel, otherwise six bytes.
37
38
39
40perl v5.38.0                    PD2F0:2:3B-u0i7l-d2e1r::Resource::XObject::Image::PNM(3)
Impressum