diff --git a/src/modules/Image/encodings/x.c b/src/modules/Image/encodings/x.c index bacaae0aaaeeb7efb2826e32d81210a8d79a7d5f..76cd7291b47629bafe42d47060bcfde75deffdec 100644 --- a/src/modules/Image/encodings/x.c +++ b/src/modules/Image/encodings/x.c @@ -1,9 +1,9 @@ -/* $Id: x.c,v 1.8 1998/02/10 15:09:43 mirar Exp $ */ +/* $Id: x.c,v 1.9 1998/02/10 23:52:02 mirar Exp $ */ /* **! module Image **! note -**! $Id: x.c,v 1.8 1998/02/10 15:09:43 mirar Exp $ +**! $Id: x.c,v 1.9 1998/02/10 23:52:02 mirar Exp $ **! submodule X **! **! This submodule handles encoding and decoding of @@ -29,7 +29,7 @@ #include <winsock.h> #endif -RCSID("$Id: x.c,v 1.8 1998/02/10 15:09:43 mirar Exp $"); +RCSID("$Id: x.c,v 1.9 1998/02/10 23:52:02 mirar Exp $"); #include "pike_macros.h" #include "object.h" #include "constants.h" @@ -61,9 +61,9 @@ extern struct program *image_program; **! <tt>encode_truecolor(img, 12,32, 0, 3,5, 4,0, 3,8)</tt> **! will give (aligned to even 32 bits for each row):<br> **! <tt>0bbbrrr0 gggg0bbb rrr0gggg 0bbb</tt>...<br> -**! <tt><--pixel 1--><--pixel 2--> <--3--></tt><br> -**! <tt>10987654 32101098 76543210 1098</tt>... <- bit position -**! <tt> <-><-> <--></tt> +**! <tt><--pixel 1--><--pixel 2--> <--3--></tt><br> +**! <tt>10987654 32101098 76543210 1098</tt>... <- bit position +**! <tt> <-><-> <--></tt> **! <tt> | | +--- 4,0</tt>: 4 bits green shifted 0 bits **! <tt> | +-------- 3,5</tt>: 3 bits red shifted 5 bits **! <tt> +----------- 3,8</tt>: 3 bits blue shifted 8 bits @@ -71,7 +71,7 @@ extern struct program *image_program; **! The above call is equal to **! <br><tt>encode_truecolor_masks(img, 12,32, 0, 224, 15, 768)</tt> **! and -**! <br><tt>encode_truecolor(img, 12,32, 0, 3,5,4,0,3,8, colortable(1<<3,1<<4,1<<3))</tt>. +**! <br><tt>encode_truecolor(img, 12,32, 0, 3,5,4,0,3,8, colortable(1<<3,1<<4,1<<3))</tt>. **! <br>The latter gives possibility to use dither algorithms, **! but is slightly slower. **! @@ -436,7 +436,7 @@ static void x_encode_truecolor_masks(INT32 args) **! colortable to get indices for pseudocolor **! arg string translate **! translate table for colors. Length of this string -**! should be 1<<vbpp (or 2<<vbpp if vbpp are greater than 8). +**! should be 1<<vbpp (or 2<<vbpp if vbpp are greater than 8). **! **! note **! currently, only upto 16 bits pseudocolor are supported. diff --git a/src/modules/_Image_JPEG/image_jpeg.c b/src/modules/_Image_JPEG/image_jpeg.c index e2868c3777ee6e7ccc1b9079ac786b8acce8f0a2..2eb072bbe107ba94349ae17690b23c142feb85de 100644 --- a/src/modules/_Image_JPEG/image_jpeg.c +++ b/src/modules/_Image_JPEG/image_jpeg.c @@ -202,7 +202,7 @@ static void my_term_source(struct jpeg_decompress_struct *cinfo) **! method string encode(object image, mapping options) **! Encodes a JPEG image. **! -**! The <tt>options<tt> argument may be a mapping +**! The <tt>options</tt> argument may be a mapping **! containing zero or more encoding options: **! **! <pre> @@ -225,7 +225,7 @@ static void my_term_source(struct jpeg_decompress_struct *cinfo) **! **! wizard options: **! "baseline":0|1 -**! Force baseline output. Useful for quality<20. +**! Force baseline output. Useful for quality<20. **! </pre> **! **! note @@ -388,7 +388,7 @@ static void image_jpeg_encode(INT32 args) **! method object decode(string data, mapping options) **! Decodes a JPEG image. **! -**! The <tt>options<tt> argument may be a mapping +**! The <tt>options</tt> argument may be a mapping **! containing zero or more encoding options: **! **! <pre>