Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
Is there's a method to resize the .png image backround. ?That image is given by the user and its want to save as an png image.
Posted
Updated 17-Aug-11 0:39am
v2
Comments
Manfred Rudolf Bihy 17-Aug-11 3:31am    
Please try to explain what you mean by resizing a PNG image background. An image is an image which can be resized however you like, but it doesn't have a background you could resize separately.
Prerak Patel 17-Aug-11 4:39am    
Of which control? Web or windows?
Jeremy Shin Woo 17-Aug-11 5:53am    
I means, I want to resize the transparent background of png image. I think u got an idea

1 solution

If you are setting background of a control in windows, check if the control has BackgroundImageLayout property. Set it to Stretch.

[Edit] Image resize
Check any article if you just want to resize the image
http://www.codeproject.com/search.aspx?q=image+resize&x=0&y=0&sbo=kw&usfc=false[^]
 
Share this answer
 
v2
Comments
Jeremy Shin Woo 17-Aug-11 6:37am    
I want get an png image as an input and want to resize its background image. And want to save the image
Prerak Patel 17-Aug-11 6:52am    
You want to resize image, right? What do you mean by background image?
Prerak Patel 17-Aug-11 6:54am    
Check any article if you just want to resize the image
http://www.codeproject.com/search.aspx?q=image+resize&x=0&y=0&sbo=kw&usfc=false

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