Lines Matching defs:dataSize
169 long dataSize; /* if known, the size of data for this image descriptor */
348 if ( !(data = (char *)malloc(image_header.dataSize))) {
349 fprintf(stderr,"Err: Couldn't malloc file data (%ld bytes)... bailing.\n", image_header.dataSize);
355 fread((void *) data, image_header.dataSize, 1, stream);
364 pixels = image_header.dataSize;
369 pixels = convert24toGrey( data, image_header.dataSize);
375 image_header.dataSize = pixels;
381 pixels = convert8toGrey( data, image_header.dataSize );
387 image_header.dataSize = pixels;
393 image_header.dataSize = pixels;
1519 image_header.dataSize = csize;