Page 1 of 1

To Ukoenig

PostPosted: Tue Sep 17, 2019 4:55 pm
by FranciscoA
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.

Re: To Ukoenig

PostPosted: Wed Sep 18, 2019 7:05 am
by ukoenig
Francisco,

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

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

regards
Uwe :D

Re: To Ukoenig

PostPosted: Wed Sep 18, 2019 2:19 pm
by FranciscoA
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.

Re: To Ukoenig

PostPosted: Fri Sep 20, 2019 11:16 am
by ukoenig
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

Re: To Ukoenig

PostPosted: Sat Sep 21, 2019 5:58 pm
by FranciscoA
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.