472,141 Members | 1,338 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

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 4173
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 leo001 | 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.