im->xsize = x;
im->ysize = y;
im->channels = ch;
- im->ch_mask = MAXINT;
+ im->ch_mask = ~0U;
im->bytes=bytes;
if ( (im->idata=mymalloc(im->bytes)) == NULL)
im_fatal(aIMCTX, 2,"malloc() error\n");
This is the function kept in the i_f_gpix member of an i_img object.
It does normal retrieval of a pixel from the image with range checking.
-Returns 0 if the pixel could be set, -1 otherwise.
+Returns 0 if the pixel could be retrieved, -1 otherwise.
=cut
*/