Jump to content
Sign in to follow this  

TImage's SaveToStream vs SaveToFile

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this