471,354 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

ImageList.Images.Add problem


When I add an image dynamically at runtime to an ImageList, the image is
added but with the problem that all the images are added with black pixels
surrounding them.

Example code:

for(int i = 0; i < openFileDialog1.FileNames.Length; i++)
Image image = Image.FromFile(openFileDialog1.FileNames[i]);

Is there a solution for that ?
Luis A.

Dec 12 '05 #1
0 1296

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by A. Solomon | last post: by
7 posts views Thread by Andrew Christiansen | last post: by
4 posts views Thread by Just Me | last post: by
5 posts views Thread by Vittorio Pavesi | last post: by
4 posts views Thread by Archimed | last post: by
2 posts views Thread by =?Utf-8?B?S2VuTg==?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.