]> git.imager.perl.org - imager.git/blobdiff - img16.c
he unpack code for ICO/CUR file handling could extend 32-bit unsigned values to 64...
[imager.git] / img16.c
diff --git a/img16.c b/img16.c
index dfe16138f359188c3cd67517c8d02a1d7d1a6786..1b3e45212cbbfa67ccda868f42eb356124bf66d6 100644 (file)
--- a/img16.c
+++ b/img16.c
@@ -150,15 +150,18 @@ typedef unsigned short i_sample16_t;
      ((((i_sample16_t *)(bytes))[offset]+127) / 257)
 
 /*
-=item i_img_16_new(x, y, ch)
-
+=item im_img_16_new(ctx, x, y, ch)
+X<im_img_16_new API>X<i_img_16_new API>
 =category Image creation/destruction
+=synopsis i_img *img = im_img_16_new(aIMCTX, width, height, channels);
 =synopsis i_img *img = i_img_16_new(width, height, channels);
 
 Create a new 16-bit/sample image.
 
 Returns the image on success, or NULL on failure.
 
+Also callable as C<i_img_16_new(x, y, ch)>
+
 =cut
 */