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

Offline CatEclipse

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

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?

Offline Tor

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

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

Best regards,

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.