emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDI+ take 3


From: Eli Zaretskii
Subject: Re: GDI+ take 3
Date: Wed, 15 Apr 2020 19:50:38 +0300

> From: Juanma Barranquero <address@hidden>
> Date: Wed, 15 Apr 2020 17:31:40 +0200
> Cc: address@hidden, Emacs developers <address@hidden>
> 
> > Are the values of delay returned by w32_frame_delay similar to what
> > you get with libgif animation?
> 
> Sorry, I don't understand. With the native animation w32_frame_delay returns 
> 6.
> 
> 253                   status = GdipImageSelectActiveFrame (pBitmap, 
> &pDimensionIDs[0],
> (gdb) n
> 255                   *delay = w32_frame_delay (pBitmap, frame);
> (gdb) n
> 256                   *nframes = frameCount;
> (gdb) p *delay
> $1 = 6
> (gdb)

Btw, isn't the code wrong?  AFAIU by reading relevant discussions on
the Internet, we should be looking at

   *(long *)propertyItem[frame].value

instead of at propertyItem[frame].length.  The latter gives the length
of the value in bytes or something.  Hmm...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]