Save image to different format = 10x bigger file?

B

Ben Becker

Why when I open an image in VB.NET, display it in an image box, then call
the image.save property to save it to a file as a different format (e.g.
tiff image with save to jpeg) does it become 10 bigger on disk? I have
noticed that saving to GIF doesn't have this problem. I have tried
adjusting the encoder properties with not much success. I also notice that
taking JPEG to tiff results in large files to. What gives?
 
H

Herfried K. Wagner [MVP]

* "Ben Becker said:
Why when I open an image in VB.NET, display it in an image box, then call
the image.save property to save it to a file as a different format (e.g.
tiff image with save to jpeg) does it become 10 bigger on disk? I have
noticed that saving to GIF doesn't have this problem. I have tried
adjusting the encoder properties with not much success. I also notice that
taking JPEG to tiff results in large files to. What gives?

The size of the file written to the disk depends on the format you
choose and the data that should be stored in this format. Consequently,
make sure you use an appropriate format, for example, JPEG for photos,
and GIF for "drawings".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top