To Ukoenig

To Ukoenig

Postby FranciscoA » Tue Sep 17, 2019 4: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
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: To Ukoenig

Postby ukoenig » Wed Sep 18, 2019 7:05 am

Francisco,

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

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

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

Re: To Ukoenig

Postby FranciscoA » Wed Sep 18, 2019 2: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
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: To Ukoenig

Postby ukoenig » 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

Image

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

Re: To Ukoenig

Postby FranciscoA » Sat Sep 21, 2019 5: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
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 99 guests