Class TTITLE ( images ) possible without Freeimage.dll ?

Post Reply
User avatar
ukoenig
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Class TTITLE ( images ) possible without Freeimage.dll ?

Post by ukoenig »

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.
User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: Class TTITLE ( images ) possible without Freeimage.dll ?

Post by Silvio.Falconi »

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 November 2023 - January 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
User avatar
ukoenig
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: Class TTITLE ( images ) possible without Freeimage.dll ?

Post by ukoenig »

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.
User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: Class TTITLE ( images ) possible without Freeimage.dll ?

Post by Silvio.Falconi »

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 November 2023 - January 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
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: Class TTITLE ( images ) possible without Freeimage.dll ?

Post by nageswaragunupudi »

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
User avatar
ukoenig
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: Class TTITLE ( images ) possible without Freeimage.dll ?

Post by ukoenig »

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 :D
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.
Post Reply