FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour To Ukoenig
Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
To Ukoenig
Posted: Tue Sep 17, 2019 04:55 PM

Hi.
Have you successfully rotated an image using FWH 1204 (or earlier versions), xHarbour, and freeimage.dll?
If so, could you share the code?

I Not be able to use XIMAGE because my fivewin version don't have it.

Thanks in advance.

Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: To Ukoenig
Posted: Wed Sep 18, 2019 07:05 AM
Francisco,

The method < RotateImage > must be added to the TIMAGE-class

viewtopic.php?f=6&t=32330#p189634

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: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: To Ukoenig
Posted: Wed Sep 18, 2019 02:19 PM

Dear Uwe:

I use google translate.

Thanks for answering.

Yes, I already did all that and it works when the rotation is 90, 180, 270 or 360 degrees and when it is not done constantly.

What I meant is that if with these functions you can constantly rotate an image (a wheel), correctly.

With these functions, rotation is inconsistent, because the image zooms out and zooms in while rotating constantly.

Some clue?

Thanks again

Español:

Uso el traductor de google.

Gracias por contestar.

Si, ya hice todo eso y funciona cuando la rotacion es de 90, 180, 270, 360 grados y cuando no se hace de manera constante.

Lo que quise decir es que si con estas funciones se puede hacer rotar constantemente una imagen ( una rueda ), de manera correcta.

Con estas funciones, la rotacion es inconsistente, porque la imagen se aleja y se acerca mientras rota.

Alguna pista?

Gracias de nuevo.

Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: To Ukoenig
Posted: Fri Sep 20, 2019 11:16 AM
What I meant is that if with these functions you can constantly rotate an image (a wheel), correctly.


This is a solution to animate a set of images
The logic is a bit different.
Not the image is rotated.
The image is replaced with another image inside a loop.
That works like a animated gif.
Some sets are included inside a dll and as Bmp's :

viewtopic.php?f=3&t=32677&p=192195&hilit=index#p192195



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: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: To Ukoenig
Posted: Sat Sep 21, 2019 05:58 PM

Uwe.
Thank you very much.
I had not seen this excellent work of yours.
I will incorporate these animations into my personal software.
Congratulations.

Regards.

Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql

Continue the discussion