K
Karen Hill
How do I get the file size of a JPEG and resize it if it is too big in
terms of MB or KB? I am using Windows Forms, .NET 2.0, C#. I want to
put this image in a database so I want to make sure it isn't too large
(ideally no more than 200K. I tried discovering the size of a JPEG
using sizeof but that only works with built in types like int and long.
regards,
karen
terms of MB or KB? I am using Windows Forms, .NET 2.0, C#. I want to
put this image in a database so I want to make sure it isn't too large
(ideally no more than 200K. I tried discovering the size of a JPEG
using sizeof but that only works with built in types like int and long.
regards,
karen