Questions tagged [pbmplus]

pbmplus is the original name for the Netbpm library. It is a family of graphics formats for bitmaps ([tag:pbm]), graymaps ([tag:pgm]), and pixmaps ([tag:ppm]).

pbmplus is the original name for what is now known as the Netbpm library. It is a family of graphics formats for bitmaps (), graymaps (), and pixmaps ().

Documentation on the Netpbm web site describes the formats and the library.

4 questions
5
votes
1 answer

How to scale pixels in an image to adjust brightness?

I have a grayscale image from a photograph. I've determined that certain parts of the image are underilluminated, and that a pixel with luminance Y = 0.8 should actually be adjusted to 90% grey, i.e., that pixel should be given luminance 0.9. My…
Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
5
votes
1 answer

Create binary PBM/PGM/PPM

I'm trying to understand how to create binary PBM/PGM/PPM files. As I know there are two types for each format: plain and raw. For example, structure of black PBM 5x5 looks like this: P1 # This is a comment 5 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1…
ghostmansd
  • 3,285
  • 5
  • 30
  • 44
1
vote
2 answers

How to set threshold when converting JPEG to non-dithered bitmap?

I'm using my digital camera as a quick and dirty scanner. Resolution is actually around 300dpi, which is quite reasonable. But my camera produces a color image, which I want reduced to a bitmap. I do not want to dither the image; I'm looking for…
Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
0
votes
1 answer

.pbm file image render - [vhold] scanline-wiggles?

I'm trying to hack-up a program to read a pbm, pgm, or ppm file and render the image to the postscript output device using the image operator. Just testing the P4 input (binary portable (1-bit) bitmap) path, but my output is all screwy. %! % cf.…
luser droog
  • 18,988
  • 3
  • 53
  • 105