Searched refs:imgsize (Results 1 – 1 of 1) sorted by relevance
172 size_t imgsize, filesize, diff; in main() local180 imgdata = read_entire_file(imgfile, &imgsize); in main()184 if (FORMAT_BMP != identify_image_type(imgdata, imgsize, &entry.info)) { in main()190 filesize = imgsize; in main()191 if (imgsize % 4) in main()192 filesize = ((imgsize + 4) / 4) * 4; in main()193 diff = filesize - imgsize; in main()208 if (1 != fwrite(imgdata, imgsize, 1, ofp)) { in main()218 discard_file(imgdata, imgsize); in main()