| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:34+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "PGM Format Specification" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux |
| 28 |
#, no-wrap |
| 29 |
msgid "27 November 2013" |
| 30 |
msgstr "" |
| 31 |
|
| 32 |
#. type: TH |
| 33 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 34 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 35 |
#, no-wrap |
| 36 |
msgid "netpbm documentation" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "pgm - Netpbm grayscale image format" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "DESCRIPTION" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 61 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "This program is part of B<Netpbm>(1) \\&." |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: Plain text |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
msgid "" |
| 69 |
"The PGM format is a lowest common denominator grayscale file format. It is " |
| 70 |
"designed to be extremely easy to learn and write programs for. (It's so " |
| 71 |
"simple that most people will simply reverse engineer it because it's easier " |
| 72 |
"than reading this specification)." |
| 73 |
msgstr "" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 77 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
msgid "" |
| 79 |
"A PGM image represents a grayscale graphic image. There are many pseudo-PGM " |
| 80 |
"formats in use where everything is as specified herein except for the " |
| 81 |
"meaning of individual pixel values. For most purposes, a PGM image can just " |
| 82 |
"be thought of an array of arbitrary integers, and all the programs in the " |
| 83 |
"world that think they're processing a grayscale image can easily be tricked " |
| 84 |
"into processing something else." |
| 85 |
msgstr "" |
| 86 |
|
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
msgid "The name \"PGM\" is an acronym derived from \"Portable Gray Map.\"" |
| 91 |
msgstr "" |
| 92 |
|
| 93 |
#. type: Plain text |
| 94 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 95 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 96 |
msgid "" |
| 97 |
"One official variant of PGM is the transparency mask. A transparency mask " |
| 98 |
"in Netpbm is represented by a PGM image, except that in place of pixel " |
| 99 |
"intensities, there are opaqueness values. See below." |
| 100 |
msgstr "" |
| 101 |
|
| 102 |
#. type: SH |
| 103 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 104 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 105 |
#, no-wrap |
| 106 |
msgid "THE FORMAT" |
| 107 |
msgstr "" |
| 108 |
|
| 109 |
#. type: Plain text |
| 110 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 111 |
#: mageia-cauldron |
| 112 |
msgid "" |
| 113 |
"The format definition is as follows. You can use the B<libnetpbm>(1) \\& C " |
| 114 |
"subroutine library to conveniently and accurately read and interpret the " |
| 115 |
"format." |
| 116 |
msgstr "" |
| 117 |
|
| 118 |
#. type: Plain text |
| 119 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 120 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 121 |
msgid "" |
| 122 |
"A PGM file consists of a sequence of one or more PGM images. There are no " |
| 123 |
"data, delimiters, or padding before, after, or between images." |
| 124 |
msgstr "" |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 128 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 129 |
msgid "Each PGM image consists of the following:" |
| 130 |
msgstr "" |
| 131 |
|
| 132 |
#. type: IP |
| 133 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 134 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 135 |
#, no-wrap |
| 136 |
msgid "\\(bu" |
| 137 |
msgstr "" |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux |
| 141 |
msgid "" |
| 142 |
"A 'magic number' for identifying the file type. A pgm image's magic number " |
| 143 |
"is the two characters 'P5'." |
| 144 |
msgstr "" |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 148 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 149 |
msgid "Whitespace (blanks, TABs, CRs, LFs)." |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "A width, formatted as ASCII characters in decimal." |
| 156 |
msgstr "" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
msgid "Whitespace." |
| 162 |
msgstr "" |
| 163 |
|
| 164 |
#. type: Plain text |
| 165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 167 |
msgid "A height, again in ASCII decimal." |
| 168 |
msgstr "" |
| 169 |
|
| 170 |
#. type: Plain text |
| 171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
msgid "" |
| 174 |
"The maximum gray value (Maxval), again in ASCII decimal. Must be less than " |
| 175 |
"65536, and more than zero." |
| 176 |
msgstr "" |
| 177 |
|
| 178 |
#. type: Plain text |
| 179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 181 |
msgid "A single whitespace character (usually a newline)." |
| 182 |
msgstr "" |
| 183 |
|
| 184 |
#. type: Plain text |
| 185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 187 |
msgid "" |
| 188 |
"A raster of Height rows, in order from top to bottom. Each row consists of " |
| 189 |
"Width gray values, in order from left to right. Each gray value is a number " |
| 190 |
"from 0 through Maxval, with 0 being black and Maxval being white. Each gray " |
| 191 |
"value is represented in pure binary by either 1 or 2 bytes. If the Maxval " |
| 192 |
"is less than 256, it is 1 byte. Otherwise, it is 2 bytes. The most " |
| 193 |
"significant byte is first." |
| 194 |
msgstr "" |
| 195 |
|
| 196 |
#. type: Plain text |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
msgid "" |
| 200 |
"A row of an image is horizontal. A column is vertical. The pixels in the " |
| 201 |
"image are square and contiguous." |
| 202 |
msgstr "" |
| 203 |
|
| 204 |
#. type: Plain text |
| 205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 207 |
msgid "" |
| 208 |
"Each gray value is a number proportional to the intensity of the pixel, " |
| 209 |
"adjusted by the ITU-R Recommendation BT.709 gamma transfer function. (That " |
| 210 |
"transfer function specifies a gamma number of 2.2 and has a linear section " |
| 211 |
"for small intensities). A value of zero is therefore black. A value of " |
| 212 |
"Maxval represents CIE D65 white and the most intense value in the image and " |
| 213 |
"any other image to which the image might be compared." |
| 214 |
msgstr "" |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux |
| 218 |
msgid "" |
| 219 |
"Note that a common variation on the PGM format is to have the gray value be " |
| 220 |
"'linear,' i.e. as specified above except without the gamma adjustment. " |
| 221 |
"B<pnmgamma> takes such a PGM variant as input and produces a true PGM as " |
| 222 |
"output." |
| 223 |
msgstr "" |
| 224 |
|
| 225 |
#. type: Plain text |
| 226 |
#: archlinux |
| 227 |
msgid "" |
| 228 |
"In the transparency mask variation on PGM, the value represents opaqueness. " |
| 229 |
"It is proportional to the fraction of intensity of a pixel that would show " |
| 230 |
"in place of an underlying pixel. So what normally means white represents " |
| 231 |
"total opaqueness and what normally means black represents total " |
| 232 |
"transparency. In between, you would compute the intensity of a composite " |
| 233 |
"pixel of an 'under' and \\&'over' pixel as under * (1-(alpha/alpha_maxval)) " |
| 234 |
"+ over * (alpha/alpha_maxval). Note that there is no gamma transfer " |
| 235 |
"function in the transparency mask." |
| 236 |
msgstr "" |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux |
| 240 |
msgid "" |
| 241 |
"Strings starting with '#' may be comments, the same as with B<PBM>(1) \\&." |
| 242 |
msgstr "" |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
#: archlinux |
| 246 |
msgid "" |
| 247 |
"Note that you can use B<pamdepth> to convert between a the format with 1 " |
| 248 |
"byte per gray value and the one with 2 bytes per gray value." |
| 249 |
msgstr "" |
| 250 |
|
| 251 |
#. type: Plain text |
| 252 |
#: archlinux |
| 253 |
msgid "" |
| 254 |
"All characters referred to herein are encoded in ASCII. \\&'newline' refers " |
| 255 |
"to the character known in ASCII as Line Feed or LF. A 'white space' " |
| 256 |
"character is space, CR, LF, TAB, VT, or FF (I.e. what the ANSI standard C " |
| 257 |
"isspace() function calls white space)." |
| 258 |
msgstr "" |
| 259 |
|
| 260 |
#. type: SS |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
#, no-wrap |
| 264 |
msgid "Plain PGM" |
| 265 |
msgstr "" |
| 266 |
|
| 267 |
#. type: Plain text |
| 268 |
#: archlinux |
| 269 |
msgid "" |
| 270 |
"There is actually another version of the PGM format that is fairly rare: " |
| 271 |
"'plain' PGM format. The format above, which generally considered the normal " |
| 272 |
"one, is known as the 'raw' PGM format. See B<pbm>(1) \\& for some " |
| 273 |
"commentary on how plain and raw formats relate to one another and how to use " |
| 274 |
"them." |
| 275 |
msgstr "" |
| 276 |
|
| 277 |
#. type: Plain text |
| 278 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 279 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 280 |
msgid "The difference in the plain format is:" |
| 281 |
msgstr "" |
| 282 |
|
| 283 |
#. type: Plain text |
| 284 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 285 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 286 |
msgid "There is exactly one image in a file." |
| 287 |
msgstr "" |
| 288 |
|
| 289 |
#. type: Plain text |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
msgid "The magic number is P2 instead of P5." |
| 293 |
msgstr "" |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
msgid "" |
| 299 |
"Each pixel in the raster is represented as an ASCII decimal number (of " |
| 300 |
"arbitrary size)." |
| 301 |
msgstr "" |
| 302 |
|
| 303 |
#. type: Plain text |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
msgid "" |
| 307 |
"Each pixel in the raster has white space before and after it. There must be " |
| 308 |
"at least one character of white space between any two pixels, but there is " |
| 309 |
"no maximum." |
| 310 |
msgstr "" |
| 311 |
|
| 312 |
#. type: Plain text |
| 313 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 314 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 315 |
msgid "No line should be longer than 70 characters." |
| 316 |
msgstr "" |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
msgid "Here is an example of a small image in the plain PGM format." |
| 322 |
msgstr "" |
| 323 |
|
| 324 |
#. type: Plain text |
| 325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 327 |
#, no-wrap |
| 328 |
msgid "" |
| 329 |
"P2\n" |
| 330 |
"# feep.pgm\n" |
| 331 |
"24 7\n" |
| 332 |
"15\n" |
| 333 |
"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n" |
| 334 |
"0 3 3 3 3 0 0 7 7 7 7 0 0 11 11 11 11 0 0 15 15 15 15 0\n" |
| 335 |
"0 3 0 0 0 0 0 7 0 0 0 0 0 11 0 0 0 0 0 15 0 0 15 0\n" |
| 336 |
"0 3 3 3 0 0 0 7 7 7 0 0 0 11 11 11 0 0 0 15 15 15 15 0\n" |
| 337 |
"0 3 0 0 0 0 0 7 0 0 0 0 0 11 0 0 0 0 0 15 0 0 0 0\n" |
| 338 |
"0 3 0 0 0 0 0 7 7 7 7 0 0 11 11 11 11 0 0 15 0 0 0 0\n" |
| 339 |
"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n" |
| 340 |
msgstr "" |
| 341 |
|
| 342 |
#. type: Plain text |
| 343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 345 |
msgid "There is a newline character at the end of each of these lines." |
| 346 |
msgstr "" |
| 347 |
|
| 348 |
#. type: Plain text |
| 349 |
#: archlinux |
| 350 |
msgid "" |
| 351 |
"Programs that read this format should be as lenient as possible, accepting " |
| 352 |
"anything that looks remotely like a PGM." |
| 353 |
msgstr "" |
| 354 |
|
| 355 |
#. type: SH |
| 356 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 357 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 358 |
#, no-wrap |
| 359 |
msgid "INTERNET MEDIA TYPE" |
| 360 |
msgstr "" |
| 361 |
|
| 362 |
#. type: Plain text |
| 363 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 364 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 365 |
msgid "" |
| 366 |
"No Internet Media Type (aka MIME type, content type) for PGM has been " |
| 367 |
"registered with IANA, but the value CW<image/x-portable-graymap> is " |
| 368 |
"conventional." |
| 369 |
msgstr "" |
| 370 |
|
| 371 |
#. type: Plain text |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
msgid "" |
| 375 |
"Note that the PNM Internet Media Type CW<image/x-portable-anymap> also " |
| 376 |
"applies." |
| 377 |
msgstr "" |
| 378 |
|
| 379 |
#. type: SH |
| 380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 382 |
#, no-wrap |
| 383 |
msgid "FILE NAME" |
| 384 |
msgstr "" |
| 385 |
|
| 386 |
#. type: Plain text |
| 387 |
#: archlinux |
| 388 |
msgid "" |
| 389 |
"There are no requirements on the name of a PGM file, but the convention is " |
| 390 |
"to use the suffix '.pgm'. 'pnm' is also conventional, for cases where " |
| 391 |
"distinguishing between the particular subformats of PNM is not convenient." |
| 392 |
msgstr "" |
| 393 |
|
| 394 |
#. type: SH |
| 395 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 396 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 397 |
#, no-wrap |
| 398 |
msgid "COMPATIBILITY" |
| 399 |
msgstr "" |
| 400 |
|
| 401 |
#. type: Plain text |
| 402 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 403 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 404 |
msgid "" |
| 405 |
"Before April 2000, a raw format PGM file could not have a maxval greater " |
| 406 |
"than 255. Hence, it could not have more than one byte per sample. Old " |
| 407 |
"programs may depend on this." |
| 408 |
msgstr "" |
| 409 |
|
| 410 |
#. type: Plain text |
| 411 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 412 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 413 |
msgid "" |
| 414 |
"Before July 2000, there could be at most one image in a PGM file. As a " |
| 415 |
"result, most tools to process PGM files ignore (and don't read) any data " |
| 416 |
"after the first image." |
| 417 |
msgstr "" |
| 418 |
|
| 419 |
#. type: SH |
| 420 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 421 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 422 |
#, no-wrap |
| 423 |
msgid "SEE ALSO" |
| 424 |
msgstr "" |
| 425 |
|
| 426 |
#. type: Plain text |
| 427 |
#: archlinux |
| 428 |
msgid "" |
| 429 |
"B<pnm>(1) \\&, B<pbm>(1) \\&, B<ppm>(1) \\&, B<pam>(1) \\&, " |
| 430 |
"B<libnetpbm>(1) \\&, B<programs that process PGM>(1) \\&," |
| 431 |
msgstr "" |
| 432 |
|
| 433 |
#. type: SH |
| 434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 436 |
#, no-wrap |
| 437 |
msgid "AUTHOR" |
| 438 |
msgstr "" |
| 439 |
|
| 440 |
#. type: Plain text |
| 441 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 442 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 443 |
msgid "Copyright (C) 1989, 1991 by Jef Poskanzer." |
| 444 |
msgstr "" |
| 445 |
|
| 446 |
#. type: SH |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
#, no-wrap |
| 450 |
msgid "DOCUMENT SOURCE" |
| 451 |
msgstr "" |
| 452 |
|
| 453 |
#. type: Plain text |
| 454 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 455 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 456 |
msgid "" |
| 457 |
"This manual page was generated by the Netpbm tool 'makeman' from HTML " |
| 458 |
"source. The master documentation is at" |
| 459 |
msgstr "" |
| 460 |
|
| 461 |
#. type: Plain text |
| 462 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 463 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 464 |
msgid "B<http://netpbm.sourceforge.net/doc/pgm.html>" |
| 465 |
msgstr "" |
| 466 |
|
| 467 |
#. type: TH |
| 468 |
#: debian-trixie mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
#, no-wrap |
| 470 |
msgid "09 October 2016" |
| 471 |
msgstr "" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 475 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
msgid "" |
| 477 |
"A \"magic number\" for identifying the file type. A pgm image's magic " |
| 478 |
"number is the two characters \"P5\"." |
| 479 |
msgstr "" |
| 480 |
|
| 481 |
#. type: Plain text |
| 482 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 483 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 484 |
msgid "BT.709's range of channel values (16-240) is irrelevant to PGM." |
| 485 |
msgstr "" |
| 486 |
|
| 487 |
#. type: Plain text |
| 488 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 489 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 490 |
msgid "" |
| 491 |
"Note that a common variation from the PGM format is to have the gray value " |
| 492 |
"be \"linear,\" i.e. as specified above except without the gamma adjustment. " |
| 493 |
"B<pnmgamma> takes such a PGM variant as input and produces a true PGM as " |
| 494 |
"output." |
| 495 |
msgstr "" |
| 496 |
|
| 497 |
#. type: Plain text |
| 498 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 499 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
msgid "" |
| 501 |
"Another popular variation from PGM is to substitute the newer sRGB transfer " |
| 502 |
"function for the BT.709 one. You can use B<pnmgamma> to convert between " |
| 503 |
"this variation and true PGM." |
| 504 |
msgstr "" |
| 505 |
|
| 506 |
#. type: Plain text |
| 507 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 508 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 509 |
msgid "" |
| 510 |
"In the transparency mask variation from PGM, the value represents " |
| 511 |
"opaqueness. It is proportional to the fraction of intensity of a pixel that " |
| 512 |
"would show in place of an underlying pixel. So what normally means white " |
| 513 |
"represents total opaqueness and what normally means black represents total " |
| 514 |
"transparency. In between, you would compute the intensity of a composite " |
| 515 |
"pixel of an \"under\" and \"over\" pixel as under * (1-(alpha/alpha_maxval)) " |
| 516 |
"+ over * (alpha/alpha_maxval). Note that there is no gamma transfer " |
| 517 |
"function in the transparency mask." |
| 518 |
msgstr "" |
| 519 |
|
| 520 |
#. type: Plain text |
| 521 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 522 |
msgid "" |
| 523 |
"Strings starting with \"#\" may be comments, the same as with B<PBM>(1) \\&." |
| 524 |
msgstr "" |
| 525 |
|
| 526 |
#. type: Plain text |
| 527 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 528 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 529 |
msgid "" |
| 530 |
"Note that you can use B<pamdepth> to convert between the format with 1 byte " |
| 531 |
"per gray value and the one with 2 bytes per gray value." |
| 532 |
msgstr "" |
| 533 |
|
| 534 |
#. type: Plain text |
| 535 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 536 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 537 |
msgid "" |
| 538 |
"All characters referred to herein are encoded in ASCII. \"newline\" refers " |
| 539 |
"to the character known in ASCII as Line Feed or LF. A \"white space\" " |
| 540 |
"character is space, CR, LF, TAB, VT, or FF (I.e. what the ANSI standard C " |
| 541 |
"isspace() function calls white space)." |
| 542 |
msgstr "" |
| 543 |
|
| 544 |
#. type: Plain text |
| 545 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 546 |
msgid "" |
| 547 |
"There is actually another version of the PGM format that is fairly rare: " |
| 548 |
"\"plain\" PGM format. The format above, which generally considered the " |
| 549 |
"normal one, is known as the \"raw\" PGM format. See B<pbm>(1) \\& for some " |
| 550 |
"commentary on how plain and raw formats relate to one another and how to use " |
| 551 |
"them." |
| 552 |
msgstr "" |
| 553 |
|
| 554 |
#. type: Plain text |
| 555 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 556 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 557 |
msgid "" |
| 558 |
"Programs that read this format should be as lenient as possible, accepting " |
| 559 |
"anything that looks remotely like a PGM image." |
| 560 |
msgstr "" |
| 561 |
|
| 562 |
#. type: Plain text |
| 563 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 564 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 565 |
msgid "" |
| 566 |
"There are no requirements on the name of a PGM file, but the convention is " |
| 567 |
"to use the suffix \".pgm\". \"pnm\" is also conventional, for cases where " |
| 568 |
"distinguishing between the particular subformats of PNM is not convenient." |
| 569 |
msgstr "" |
| 570 |
|
| 571 |
#. type: Plain text |
| 572 |
#: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 573 |
msgid "" |
| 574 |
"B<pnm>(1) \\&, B<pbm>(1) \\&, B<ppm>(1) \\&, B<pam>(1) \\&, " |
| 575 |
"B<libnetpbm>(1) \\&, B<programs that process PGM>(1) \\&" |
| 576 |
msgstr "" |
| 577 |
|
| 578 |
#. type: TH |
| 579 |
#: debian-unstable fedora-44 fedora-rawhide |
| 580 |
#, no-wrap |
| 581 |
msgid "07 November 2025" |
| 582 |
msgstr "" |
| 583 |
|
| 584 |
#. type: SS |
| 585 |
#: debian-unstable fedora-44 fedora-rawhide |
| 586 |
#, no-wrap |
| 587 |
msgid "Minimal Subset" |
| 588 |
msgstr "" |
| 589 |
|
| 590 |
#. type: Plain text |
| 591 |
#: debian-unstable fedora-44 fedora-rawhide |
| 592 |
#, no-wrap |
| 593 |
msgid "" |
| 594 |
"The PGM format is so simple that many programmers write programs to process\n" |
| 595 |
" it directly, without using a library such as B<libnetpbm>, reverse\n" |
| 596 |
" engineering a subset of the format from examples rather than using the\n" |
| 597 |
" specification. Therefore, if you want to produce an image that as many\n" |
| 598 |
" programs as possible can read, you should stick to the following subset.\n" |
| 599 |
msgstr "" |
| 600 |
|
| 601 |
#. type: Plain text |
| 602 |
#: debian-unstable fedora-44 fedora-rawhide |
| 603 |
msgid "The image consists of the following bytes:" |
| 604 |
msgstr "" |
| 605 |
|
| 606 |
#. type: Plain text |
| 607 |
#: debian-unstable fedora-44 fedora-rawhide |
| 608 |
msgid "\\&'P5' followed by newline" |
| 609 |
msgstr "" |
| 610 |
|
| 611 |
#. type: Plain text |
| 612 |
#: debian-unstable fedora-44 fedora-rawhide |
| 613 |
#, no-wrap |
| 614 |
msgid "" |
| 615 |
"width and height separated by a space (e.g. '50 100'),\n" |
| 616 |
" followed by newline\n" |
| 617 |
msgstr "" |
| 618 |
|
| 619 |
#. type: Plain text |
| 620 |
#: debian-unstable fedora-44 fedora-rawhide |
| 621 |
#, no-wrap |
| 622 |
msgid "" |
| 623 |
"maxval, followed by newline. At most 255; even more minimally, 255\n" |
| 624 |
" exactly.\n" |
| 625 |
msgstr "" |
| 626 |
|
| 627 |
#. type: Plain text |
| 628 |
#: debian-unstable fedora-44 fedora-rawhide |
| 629 |
msgid "The raster" |
| 630 |
msgstr "" |
| 631 |
|
| 632 |
#. type: Plain text |
| 633 |
#: debian-unstable fedora-44 fedora-rawhide |
| 634 |
msgid "There is only one image in the file." |
| 635 |
msgstr "" |
| 636 |
|
| 637 |
#. type: Plain text |
| 638 |
#: debian-unstable fedora-44 fedora-rawhide |
| 639 |
#, no-wrap |
| 640 |
msgid "" |
| 641 |
"The program B<pnmtopnm> produces this minimal subset, so if you have a\n" |
| 642 |
" more complex PGM image, you can pass it to to a less tolerant program\n" |
| 643 |
" through B<pnmtopnm>. B<pamdepth> can make the maxval 255.\n" |
| 644 |
msgstr "" |
| 645 |
|
| 646 |
#. type: Plain text |
| 647 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 648 |
msgid "" |
| 649 |
"The format definition is as follows. You can use the B<libnetpbm>(3) \\& C " |
| 650 |
"subroutine library to conveniently and accurately read and interpret the " |
| 651 |
"format." |
| 652 |
msgstr "" |
| 653 |
|
| 654 |
#. type: Plain text |
| 655 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 656 |
msgid "" |
| 657 |
"Strings starting with \"#\" may be comments, the same as with B<PBM>(5) \\&." |
| 658 |
msgstr "" |
| 659 |
|
| 660 |
#. type: Plain text |
| 661 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 662 |
msgid "" |
| 663 |
"There is actually another version of the PGM format that is fairly rare: " |
| 664 |
"\"plain\" PGM format. The format above, which generally considered the " |
| 665 |
"normal one, is known as the \"raw\" PGM format. See B<pbm>(5) \\& for some " |
| 666 |
"commentary on how plain and raw formats relate to one another and how to use " |
| 667 |
"them." |
| 668 |
msgstr "" |
| 669 |
|
| 670 |
#. type: Plain text |
| 671 |
#: opensuse-leap-16-1 |
| 672 |
msgid "" |
| 673 |
"B<pnm>(5) \\&, B<pbm>(5) \\&, B<ppm>(1) \\&, B<pam>(5) \\&, " |
| 674 |
"B<libnetpbm>(3) \\&, B<programs that process PGM>(1) \\&" |
| 675 |
msgstr "" |
| 676 |
|
| 677 |
#. type: Plain text |
| 678 |
#: opensuse-tumbleweed |
| 679 |
msgid "" |
| 680 |
"B<pnm>(5) \\&, B<pbm>(5) \\&, B<ppm>(5) \\&, B<pam>(5) \\&, " |
| 681 |
"B<libnetpbm>(3) \\&, B<programs that process PGM>(1) \\&" |
| 682 |
msgstr "" |