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

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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?
 
Back
Top