Question how to change the image

syed mohseen

New member
Joined
Aug 8, 2009
Messages
1
Programming Experience
Beginner
hi all,
i am newbie to vb.net and i need some help.
i just wanted to create an application,something like changing the color of the image or changing the image itself.For example the application will contain the image of an house and all i wanted to do is if the client request i should be able to change the pattern of that house,color of that house and also if the client requests i can able to change the house to another one.once i click on the image i must be able to change the color,pattern,etc.


i request all of the members to help me out,bcz this is the first application which i am going to create

thanks in advance
regards
Mohseen:rolleyes:
 
first to change the picture you need to add a button and an openfile dialogue then in the buttons click event handler add this code:.
picture1.imagelocation = openfiledialogue1.filename

to change the properties of the picture itself is a more complicated task
 
that actually depends on what is getting a picture way if its the form getting a background image you could use me.backgroundimage = image.fromfile("C:\Image.bmp")
or in a picturebox you could use picturebox1.image = image.fromfile("C:\Image.bmp")
 
i just wanted to create an application,something like changing the color of the image or changing the image itself.For example the application will contain the image of an house and all i wanted to do is if the client request i should be able to change the pattern of that house,color of that house and also if the client requests i can able to change the house to another one.
Statement seems a bit vague, this could be interpreted that you want to change the hue or so forth of an existing image? if that's the case you may wanna check out this link about color matrix's
ColorMatrix Basics - Simple Image Color Adjustment - CodeProject
 
Back
Top