Author Topic: DM1000 ImageViewer GIF support  (Read 7041 times)

Offline CatEclipse

  • PLUS+1 Novice
  • *
  • Posts: 1
  • Karma: +0/-0
DM1000 ImageViewer GIF support
« on: September 27, 2022, 12:42:40 PM »
Hi,

I have tried uploading a GIF to DM1000 display using the functionality ImageViewer.
It is specified there that GIF is a supported format.
However, on the screen it shows the GIF I have uploaded but it is not animated. Just static one frame picture.
So it is actually not supported for dynamic animations?
Is the only way to upload a dynamic picture, is to have a video and use media player?
Thanks!

Offline Tor

  • Administrator
  • PLUS+1 Guru
  • *
  • Posts: 289
  • Karma: +28/-1
Re: DM1000 ImageViewer GIF support
« Reply #1 on: September 27, 2022, 03:34:02 PM »
Hello,

After talking to people who should know and done some tests I can confirm that "Animated" GIFs are not supported.

Sorry.
Best regards,
Tor
PLUS+1® SW PAE Team

Offline Matt_Eng

  • PLUS+1 Developer
  • ***
  • Posts: 21
  • Karma: +10/-0
Re: DM1000 ImageViewer GIF support
« Reply #2 on: September 28, 2022, 03:05:44 PM »
There is a one way to have a GIF like animation, but it is a little clunky. I've used it to have a simple little pixel fire animation on my DM430.
Step 1. Extract the individual frames of the GIF file using a tool, I just used an online one.
Step 2. Create an image list in the screen editor project library, add the individual frames to a sub folder, and then edit the image list to include the frames from the sub folder.
Step 3. Add the Image list to the screen area and then set the ActiveIndex property to an input signal.
Step 4. Add an oscillator and a counter to increment the ActiveIndex of the list every x milliseconds, mine was every 40ms, some of the frame split tools will tell you what the delay is.

-Matt_Eng