473,320 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 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 3182
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 to python... if the answer really is no, has...
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 (TGAFilePath) It returns an error. Is there another way to...
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 images? Thanks
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. thx for any help gordian
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 in VB.NET? Thanx
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 times it fails, not sure why- no errors thrown just...
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: http://greggman.com/pages/thumbplug_tga.htm|pagenum=0|lang=english|?q ...
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 that image as .tga? My thanks in advanced
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.