• Welcome to Valhalla Legends Archive.
 

Split a picture box to an image list? Possible?

Started by DeathSoldier, October 02, 2006, 01:24 AM

Previous topic - Next topic

DeathSoldier

Ok heres whats going on:

I loaded icons.bni, parsed it and saved it as a .tga file.  Then I loaded the .tga into a picture box and I can see all the icons perfectly in the picture box. Now what I want to do is split each icon from the picture box, load each icon into a image list (separately), then use the image list with my list view. I don't know if thats possible or if thats the best way, if someone could help me out I'd appreciate it.



FrostWraith

You would be better off loading each one's pixel data into an array.

DeathSoldier

I'm going to try that now, I'll post back to see if I need more help, thanks~!

Cat Food

But I believe yes it is possible, though I have not tried anything dealing with such a matter I know you can write to vectors on images so I don't see why you couldn't copy data from vectors xy to xy.