>How do I do that? The user just wants to be able to scan objects as JPEG or TIFF files and then see them in the application. He would prefer not to save them as BMP files because they are so big.
A general field is even bigger, even if you use the JPEG (JPG) format.
Save your file as a JPEG file; that should be reasonably small.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)