FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Class TTITLE ( images ) possible without Freeimage.dll ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Class TTITLE ( images ) possible without Freeimage.dll ?
Posted: Tue May 21, 2019 06:10 PM

Hello,

nearly all image-paintings don't need Freeimage.dll anymore

is it possible to update class TTitle ( image-section )
for usage without Freeimage.dll :?:

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: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: Class TTITLE ( images ) possible without Freeimage.dll ?
Posted: Wed May 22, 2019 05:32 PM
ukoenig wrote:Hello,

nearly all image-paintings don't need Freeimage.dll anymore

is it possible to update class TTitle ( image-section )
for usage without Freeimage.dll :-)

regards
Uwe :-)


itio's possible change the METHOD LoadBitmap( cnName )
I thinkg insert

hBmp := FW_ReadImage( nil, ::cImage )[ 1 ]

instead of

hBmp = ResizeImg( cnName, ::nWidth, ::nHeight )

but I not tried
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Class TTITLE ( images ) possible without Freeimage.dll ?
Posted: Wed Jun 05, 2019 09:05 AM

Silvio,

I thaught there would be maybe a fix in new FWH 19.05 but still needs
Freeimage.dll
If I have the time, I will have a look at the image-section.

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: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: Class TTITLE ( images ) possible without Freeimage.dll ?
Posted: Wed Jun 05, 2019 09:18 AM

I'm sorry but at the moment I have work problems: there is the closure of the school year I have to take part in the scrutinies, I have to make records at school (I work at school I am a technical teacher even if Mr. Massimo Linossi doesn't believe it - I don't interested) and also I should finish the software in which I still have serious problems not solved: I had already answered you because I saw the change in the vistamenu class and in other classes, I am convinced that navarro antonio and nages will find the right modification to do, also I would be interested not to use the freeimage

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Class TTITLE ( images ) possible without Freeimage.dll ?
Posted: Thu Jun 06, 2019 12:05 AM
ukoenig wrote:Hello,

nearly all image-paintings don't need Freeimage.dll anymore

is it possible to update class TTitle ( image-section )
for usage without Freeimage.dll :-)

regards
Uwe :-)

Mr. Uwe,

I think even now it does not require freeimage.dll.
But this class handle only bmp files whether we have freeimage.dll or not.
I do not think we can use png,jpg files in this class even if we have freeimage.dll.
Am I wrong?
Regards



G. N. Rao.

Hyderabad, India
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Class TTITLE ( images ) possible without Freeimage.dll ?
Posted: Thu Jun 06, 2019 12:55 PM
Mr. Rao,

I think even now it does not require freeimage.dll.
But this class handle only bmp files whether we have freeimage.dll or not.
I do not think we can use png,jpg files in this class even if we have freeimage.dll.


Yes I agree only bmp can be used another format is not visible.
there is maybe still another image-call inside my test that needs freeimage.dll
Using TTitle my idea was using maybe GDIPLUS
otherwise the wanted images must be converted to bmp

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.

Continue the discussion