hi
I have a picture that is 1024 X 768 and is 88KB in size and 24 in bit depth. When i uploaded the picture the bit depth has become 32bits and the size in KB has become 239KB. This is my code:
Dim thumbnail As Image = originalimage.GetThumbnailImage(440, 330, thumbnailImageAbortDelegate, IntPtr.Zero)
thumbnail.Save(Path.Combine(Server.MapPath(filepath), filename + f.GetExtension))
filenameext = filepath + "/" + filename + f.GetExtension
I have a picture that is 1024 X 768 and is 88KB in size and 24 in bit depth. When i uploaded the picture the bit depth has become 32bits and the size in KB has become 239KB. This is my code:
Dim thumbnail As Image = originalimage.GetThumbnailImage(440, 330, thumbnailImageAbortDelegate, IntPtr.Zero)
thumbnail.Save(Path.Combine(Server.MapPath(filepath), filename + f.GetExtension))
filenameext = filepath + "/" + filename + f.GetExtension