Size of raster file generated by DotSpatial

Jan 31, 2013 at 9:50 AM
Edited Jan 31, 2013 at 9:51 AM
Why is the file size of a raster generated by DotSpatial bigger than other libraries?

I did a simple test.
Opened a tif created in ArcGis (20MB) and saved as another file.
IRaster raster = Raster.Open(@"C:\mdt.tif");
raster.SaveAs(@"C:\mdt_new.tif");
raster.SaveAs(@"C:\mdt_new.bgd");
In both file formats (tif and bgd) the resulting file was 2 times larger than the original one.

Is there any reason for this? Am I doing anything wrong?

Thanks!