469,623 Members | 1,457 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,623 developers. It's quick & easy.

Do you know how to open TGA fies to display in PictureBox?

I have browsed the Net and found some library called DevIL which was ported
to C# by some fellow but apparantly while itloads some tga files many times
it fails, not sure why- no errors thrown just no image displayed in my
PictureBox. And this is using the reference app that they made as well.

Do you know any other library out there (free) that does this?
Oct 21 '06 #1
1 4091
Investigating this more, it does not seem to be a problem with the library
itself. I think so because I can use the library's load function to load the
file from disk into a Bitmap object and then I can use the library's save
function to save it to a new location, and it works. I can open the saved
file through a commercial image viewer just fine.
So it seems to be a probem with PictureBox? Are there some
setting/configuration to PictureBox that I may try to use to get this image
to display ? Are there other .NET controls to display pictures?
Oct 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by pcPirate | last post: by
2 posts views Thread by barbara_dave | last post: by
2 posts views Thread by Liu Feng | last post: by
1 post views Thread by Jeff Williams | last post: by
reply views Thread by =?Utf-8?B?U2hhcm9u?= | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.