Reputation: 73
I m using C#.NET 4.0
I have an jpeg image and i want to reduce its size in bytes .I don't want to change the image size in manner of height and width and not want to lose image quality.Some bit of reduce quality is not an issue. I try to make it a thumbnail image but it reduce the size according to height and width.
I can't found any solution. Any type help will be appreciated..
Upvotes: 0
Views: 5543
Reputation: 19
If you want reduce the image size then you have to trim the width and height, according to that only the size reduces unless it is not possible.
Upvotes: 0
Reputation: 74
How about saving jpeg at 90% quality (which usually provides good quality of an image) and then comparing size with your original jpeg file. Something like this: new jpeg < old jpeg ? new jpeg : old jpeg
Upvotes: 1
Reputation: 5836
Size reduction is generally accompanied by quality reduction. You cannot have it both ways.
Upvotes: 7