# Create animated gif?

**URL:** <https://forums.fsharp.org/t/create-animated-gif/2287>\
**Category:** General\
**Tags:** beginners\
**Created:** [June 21, 2022, 5:05pm UTC](https://forums.fsharp.org/t/create-animated-gif/2287 "2022-06-21T17:05:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob-McCrory](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.fsharp.org/bob-mccrory/32/509_2.png) [@Bob-McCrory](https://forums.fsharp.org/u/Bob-McCrory)\
**Post date:** [June 21, 2022, 5:05pm UTC](https://forums.fsharp.org/t/create-animated-gif/2287/1 "2022-06-21T17:05:32Z")

</div>

In a Jupyter notebook with Julia, I can easily create an animated gif file using the @animate macro. Is there any similar way to do so in F#/Jupyter? Thanks for looking.

---

<div class="post-metadata">

**Author:** ![AnaCarr](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@AnaCarr](https://forums.fsharp.org/u/AnaCarr)\
**Post date:** [February 29, 2024, 3:55am UTC](https://forums.fsharp.org/t/create-animated-gif/2287/2 "2024-02-29T03:55:28Z")

</div>

That’s a great question! While F#/Jupyter may not have a built-in @animate macro like Julia, you can still create animated gifs using libraries like ImageSharp or ImageProcessor. These libraries offer various functions and methods to generate and manipulate images, allowing you to create the frames needed for animation.  
Once you’ve generated your frames, you can further enhance your workflow by optimizing them with [jpg compress](https://jpeg-optimizer.com/). This tool helps reduce file sizes while preserving image quality, making it easier to share your animated gifs. Give it a try, and let us know if you need further assistance!
