timage

timage

Postby Peterg » Wed Apr 23, 2008 8:15 am

I have a problem using the timage class.
I can load a bmp file but if I try to load a jpg file the loadimage takes minutes and then does not display.

Any ideas

Peter
Peterg
 
Posts: 62
Joined: Mon Nov 28, 2005 5:36 pm
Location: Oxford UK

Timage with different Picture-Formats

Postby ukoenig » Wed Apr 23, 2008 8:39 am

Hello,

when you use different graphic-formats,
FREEIMAGE.dll has to be included in your working-directory.
I using JPG's as a background on a slow computer
and it is very fast.

Regards

Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby Peterg » Wed Apr 23, 2008 9:08 am

Tried putting freeimage.dll in the working directory and also in windows/system32 folder but no joy. Still only works for bmp
Peterg
 
Posts: 62
Joined: Mon Nov 28, 2005 5:36 pm
Location: Oxford UK

Postby Antonio Linares » Wed Apr 23, 2008 10:50 am

Peter,

Whats the size of your FreeImage.dll ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Peterg » Wed Apr 23, 2008 10:55 am

Antonio
1032kb
Peterg
 
Posts: 62
Joined: Mon Nov 28, 2005 5:36 pm
Location: Oxford UK

Postby Antonio Linares » Wed Apr 23, 2008 10:57 am

Peter,

Ours is 1.056.768 bytes. It seems to be the same.

Could you please email me one of the JPGs files that you are testing ? Thanks,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Wed Apr 23, 2008 11:13 am

Peter,

We have used fwh\samples\TestImg.prg to open and visualize your sent JPG and works fine :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Peterg » Wed Apr 23, 2008 11:20 am

Just compiled testimg using feb xharbour and it does not display the jpg file.
Any idea on what I am doing wrong
Peterg
 
Posts: 62
Joined: Mon Nov 28, 2005 5:36 pm
Location: Oxford UK

Postby Antonio Linares » Wed Apr 23, 2008 11:22 am

Peter,

Please email me your TestImg.exe as a ZIP file, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Wed Apr 23, 2008 11:49 am

Peter,

Your EXE is not working here :-(

Anyhow, we have just built samples\TestImg.prg using FWH 8.04 and latest xHarbour we provide, and it works fine :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Peterg » Wed Apr 23, 2008 12:13 pm

tried with 8.03 but still no good. Will wait for next release of xharbour
Thanks
Peterg
 
Posts: 62
Joined: Mon Nov 28, 2005 5:36 pm
Location: Oxford UK

Postby Antonio Linares » Wed Apr 23, 2008 12:50 pm

Peter,

I email you my EXE, please try it there. Thanks,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Peterg » Wed Apr 23, 2008 1:49 pm

Antonio
The program you sent works with my dll so it must be down to the build. I cannot use the 8.04 with the current build of xHarbour as this will not build. I will try with the Feb beta build and then wait until they release the fixes for this

Thanks
Peter
Peterg
 
Posts: 62
Joined: Mon Nov 28, 2005 5:36 pm
Location: Oxford UK

Postby Peterg » Wed Apr 23, 2008 2:05 pm

Antonio
Do I need any different five libs for the feb build of xharbour as I get errors on comile if i try
Peterg
 
Posts: 62
Joined: Mon Nov 28, 2005 5:36 pm
Location: Oxford UK

Postby Antonio Linares » Wed Apr 23, 2008 9:21 pm

Peter,

What compile errors do you get ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 76 guests