Picture Tool animated GIFs - Forum

Forum Navigation
You need to log in to create posts and topics.

Picture Tool animated GIFs

Does the Picture Tool directly support animated GIFs? Or do you need to write a HTML script for that?

 

Thanks,

@fkapnist even if you don't see the animation playing on the user interface, it will work perfectly once you run your application.
It's even possible to use more modern formats as .webp images and animated images (just add the image to the library and use SetObjectAttribute to load it):

SetObjectAttribute "Image1" "src" "./img/myimage.webp"

Click here for a sample animated .webp image.

Regards.

Vadim has reacted to this post.
Vadim

@fkapnist, you can even use animated vector .svg files :)

Some samples here:
https://loading.io/background/

Regards.

Vadim has reacted to this post.
Vadim
Quote from luishp on December 27, 2021, 12:41 pm

@fkapnist even if you don't see the animation playing on the user interface, it will work perfectly once you run your application.
It's even possible to use more modern formats as .webp images and animated images (just add the image to the library and use SetObjectAttribute to load it):

SetObjectAttribute "Image1" "src" "./img/myimage.webp"
SetObjectAttribute "Image1" "src" "./img/myimage.webp"
SetObjectAttribute "Image1" "src" "./img/myimage.webp"

Click here for a sample animated .webp image.

Regards.

I didn't know about SetObjectAttributes. I thought "source" in Properties would be enough... But, yes, it does work now.  If you don't see the animation in the user interface, the _Test folder also needs an identical img folder to test your images.  Thanks!

luishp has reacted to this post.
luishp

Now I need to learn LISP.......

 

Uploaded files:
  • You need to login to have access to uploads.