diff options
Diffstat (limited to 'pnmremap.html')
-rw-r--r-- | pnmremap.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pnmremap.html b/pnmremap.html index b0958ca7..502df7cb 100644 --- a/pnmremap.html +++ b/pnmremap.html @@ -88,7 +88,7 @@ typically a single row with one pixel per color. the palette in addition to whatever is in the palette image. <p>For historical reasons, Netpbm sometimes calls the palette a -"colormap." But it doesn't really map anything. +"colormap." But it doesn't really map anything. <b>pnmremap</b> creates its own map, based on the palette, to map colors from the input image to output colors. @@ -144,7 +144,7 @@ pnmremap -map=palette.ppm testimg.ppm >reduced_testimg.ppm <P>To limit colors to a certain set, a typical example is to create an image for posting on the World Wide Web, where different browsers know different colors. But all browsers are supposed to know the 216 -"web safe" colors which are essentially all the colors you +"web safe" colors which are essentially all the colors you can represent in a PPM image with a maxval of 5. So you can do this: <PRE> |