472,342 Members | 1,313 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Targa (TGA) pictures in vb.net?

Hey all

I want to create a TGA to JPG converter, but i can't seem to open a TGA
picture in vb.net.

Can anyone help me with this?

Regards
Martin
Nov 21 '05 #1
4 3129
Martin,

"Martin Therkelsen" <th**@mail.dk> schrieb:
I want to create a TGA to JPG converter, but i can't seem to open a TGA
picture in vb.net.


There is no support for TGA files included in the .NET Framework.

GotDotNet User Sample: DevIL Image Library
<URL:http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=e740e0e1-3ec8-4de9-83e4-676232ada1da>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2
Hey

I see its for C#, can i use it for vb as well? how do i use it? class or
import or what?

sunkist

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> skrev i en meddelelse
news:Ol**************@TK2MSFTNGP15.phx.gbl...
Martin,

"Martin Therkelsen" <th**@mail.dk> schrieb:
I want to create a TGA to JPG converter, but i can't seem to open a TGA
picture in vb.net.


There is no support for TGA files included in the .NET Framework.

GotDotNet User Sample: DevIL Image Library
<URL:http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=e740e0e1-3ec8-4de9-83e4-676232ada1da>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3
Martin,

"Martin Therkelsen" <th**@mail.dk> schrieb:
I see its for C#, can i use it for vb as well? how do i use it? class or
import or what?


You can compile a C# class library and add the library project to your
solution. Then add a reference to the class library in your VB.NET project.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #4
When i try to open the project in vb.net 2003 it says that some files are
missing.
Am i doing something wrong?
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> skrev i en meddelelse
news:OZ**************@TK2MSFTNGP09.phx.gbl...
Martin,

"Martin Therkelsen" <th**@mail.dk> schrieb:
I see its for C#, can i use it for vb as well? how do i use it? class or
import or what?


You can compile a C# class library and add the library project to your
solution. Then add a reference to the class library in your VB.NET
project.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: haddock | last post by:
hi all Is it possible to access the size (with and height) of a .tga image in python? From the documentation I would say no, but I'm pretty new...
1
by: Perlom | last post by:
It seems that .NET doesn't support TGA images for some reason. When trying to load a TGA file Dim MyImg as Bitmap = Bitmap.FromFile...
0
by: Lou | last post by:
How would I go about converting a series of 32 bit .tga files to an .avi file w/alpha?
0
by: Kenyon Congdon | last post by:
Can someone tell me if there is an object like a picturebox that will display .tga files? or is there a way to convert .tga files to bitmap...
0
by: gordian | last post by:
hello, i need to know how to show *.tga picture files with vb.net. i tried to use a picture box but i think picture boxes cant handle *.tga files....
1
by: sympatico | last post by:
The Bitmap object supports loading .bmp, .tiff. jpg ...etc files.. But it doesn't supports Targa images (.TGA). Any body has an idea how to do that...
1
by: MrNobody | last post by:
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...
0
by: theS70RM | last post by:
Hey, It seems vista 64 cant display thumbnails for TGA files. Dont really want to use a 3rd party viewer. Found this: ...
0
by: =?Utf-8?B?UmljYXJkbyBGdXJ0YWRv?= | last post by:
I use a picturebox to load an .jpg image, but i need to save the image as ..tga, wich format is not supported by the picturebox. How can i save...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...

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.