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