FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour timage
Posts: 62
Joined: Mon Nov 28, 2005 05:36 PM
timage
Posted: Wed Apr 23, 2008 08: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

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Timage with different Picture-Formats
Posted: Wed Apr 23, 2008 08: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.
Posts: 62
Joined: Mon Nov 28, 2005 05:36 PM
timage
Posted: Wed Apr 23, 2008 09:08 AM

Tried putting freeimage.dll in the working directory and also in windows/system32 folder but no joy. Still only works for bmp

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
timage
Posted: Wed Apr 23, 2008 10:50 AM

Peter,

Whats the size of your FreeImage.dll ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 62
Joined: Mon Nov 28, 2005 05:36 PM
timage
Posted: Wed Apr 23, 2008 10:55 AM

Antonio
1032kb

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
timage
Posted: 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
timage
Posted: 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
Posts: 62
Joined: Mon Nov 28, 2005 05:36 PM
timage
Posted: 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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
timage
Posted: 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
timage
Posted: 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
Posts: 62
Joined: Mon Nov 28, 2005 05:36 PM
timage
Posted: Wed Apr 23, 2008 12:13 PM

tried with 8.03 but still no good. Will wait for next release of xharbour
Thanks

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
timage
Posted: 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
Posts: 62
Joined: Mon Nov 28, 2005 05:36 PM
timage
Posted: Wed Apr 23, 2008 01: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

Posts: 62
Joined: Mon Nov 28, 2005 05:36 PM
timage
Posted: Wed Apr 23, 2008 02: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
timage
Posted: Wed Apr 23, 2008 09:21 PM

Peter,

What compile errors do you get ?

regards, saludos

Antonio Linares
www.fivetechsoft.com