This project is read-only.

Resize creates huge file

Mar 24, 2013 at 9:49 PM
I have a bitmap, lets say 4000x3000 pixels (about 12 Mb). After resizing to 800x600 for example, then saving, the saved file is over 250 Mb in size ! What can I do to reduce the size ?
Mar 25, 2013 at 10:29 AM
You should encode it as JPEG and don'T dump out the raw memory pixels. Most platforms have a SaveJpeg extension method for the WB.
Mar 25, 2013 at 6:46 PM
Exactly what I tought I did. However, I noticed I used the TIFF-encoder (with jpg filename) by mistake. Thus creating such a big file.
Problem solved.