NIRAV KAKU 0 Posted February 15, 2020 I am a bit confused with the above functions. I used use Image1.Bitmap.SaveToFile which generates a smaller file. However, when I do Image1.Bitmap.SaveToStream, the size is 7x of the SaveToFile method. What causes this? I would expect that both should produce the same size. What am I missing? Share this post Link to post
Alexander Sviridenkov 357 Posted February 15, 2020 SavetoFile use encoder depending on file extension, SavetoStream writes content unchanged. 1 Share this post Link to post
NIRAV KAKU 0 Posted February 16, 2020 Ahhh... So if i had changed the extension to BMP, the file would be bigger than a jpeg... Interesting. Thank you. Share this post Link to post