Page 1 of 1

help for gflax and tga

Posted: Sun Jan 30, 2011 10:30 pm
by neoxeo
Hi,

I try to use gflax on visual Basic 2010.
It's ok but I can't load TGA files
Dim gf As New GflAx.GflAx
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
gf.LoadBitmap("C:\Digital_Fighters_V045B\effets\explo.tga")
PictureBox1.Image = Image.FromHbitmap(gf.GetPicture.Handle).GetThumbnailImage(PictureBox1.Height, PictureBox1.Width, Nothing, Nothing)
End Sub
error : unknow format

it's ok with bmp, png... but not with tga. Can you help me ?

I want also use libgfl but it's impossible to register it. I have try with 334 or 311.
regsvr32 libgfl340.dll
Same message :
Echec de chargement du module. Le module spécifié n'existe pas.

Thank you for your help.

Neoxeo

Re: help for gflax and tga

Posted: Mon Jan 31, 2011 8:09 am
by xnview
and this picture can be loaded in XnView?

Re: help for gflax and tga

Posted: Mon Jan 31, 2011 5:11 pm
by neoxeo
Hi Pierre,

The tga file doesn't load in Xnveiw. Same error : le fichier <explo.tga> a un format inconnu.

I have open with photoshop (reconize as RVB/8) and save as TGA on explo2.tga and now it's ok in Xnview.

I 'll try tonight with gflax. I can send you the original file if you want...

An idea why I can't register libgfl.dll ?

Thank you for your help.

Re: help for gflax and tga

Posted: Mon Jan 31, 2011 7:49 pm
by neoxeo
I have try with GFLAX the new file explo2.tga : it works !!!