animated cursors: how can get the RIFF delay\rate?

May 30, 2016 at 3:51pm
animated cursors: how can get the RIFF delay\rate?
i found 1 structure on: http://www.gdgsoft.com/anituner/help/sablier.gif
but i don't know connect it to the code :(
May 31, 2016 at 2:19pm
You need to convert the gif to that *.ani file format. This can be loaded like any other cursor. See:

https://msdn.microsoft.com/en-us/library/windows/desktop/ms648379%28v=vs.85%29.aspx
May 31, 2016 at 2:38pm
honestly i don't understand the answer.
i can get the animated cursor and draw it(all frames 1 by 1). what i don't know is how i get the delay.
Jun 1, 2016 at 11:08am
I don't get your problem. How come that you are able to retrieve the images but not the delay.

What are you talking about? gif ani?
Jun 1, 2016 at 11:20am
gif ;)
(thread title, i think i don't mistake ;) )
Jun 1, 2016 at 2:22pm
RIFF and gif are completely different things/file formats. According to the title you have problems with RIFF, but you say you use gif.

What exactly are you trying to do?
Jun 1, 2016 at 2:37pm
to be honest, on these thread, i don't speak about gif... but ok.
my objective is: how can i get the delay between the RIFF frames?
Jun 2, 2016 at 12:54am
closed account (E0p9LyTq)
Cambalinho wrote:
how can i get the delay between the RIFF frames?

Depends on how the data is stored in the tagged chunks:

https://en.wikipedia.org/wiki/RIFF_%28File_format%29

Windows animated cursors are based on the RIFF format, with the data stored in a known method:

https://en.wikipedia.org/wiki/ANI_%28file_format%29
Jun 9, 2016 at 4:51pm
i must read the data byte a byte or is there another way?
Topic archived. No new replies allowed.