Click here to Skip to main content
15,908,634 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Web app Code:

Bitmap bitmapResult = null;

bitmapResult.Save("D:\\abc.jpeg",ImageFormat.Jpeg);


Window app code:
bitmapResult.Save("D:\\pqr.jpeg",ImageFormat.Jpeg);



i have used same functions to save the same image with different name i.e abc and pqr but still both the images vary in their sizes...why??
Posted

1 solution

They probably use different compression levels, see this : How to: Set JPEG Compression Level[^]
 
Share this answer
 
Comments
Pranav-BiTwiser 22-May-14 3:38am    
no...!! :(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900