Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,
Can anyone help me on this.
i want to compress an image by user given percentage(%). in WPF application.

Thanks in advance
Posted
Comments
Kenneth Haugland 9-Aug-12 3:33am    
You could use a ViewBox

 
Share this answer
 
Comments
kapil0411 9-Aug-12 5:00am    
Thanks for your response.
I want image compression in wpf application.
I believe you want something like the ms paint offers. Resize the image and save it with reduced size. If that is what you need have a look at
http://stackoverflow.com/questions/11137979/image-resizing-using-c-sharp[^]. It worked for me :)

regards,
 
Share this answer
 

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