# JavaFX GIF Player Discussion

**URL:** <https://discourse.processing.org/t/javafx-gif-player-discussion/46547>\
**Category:** Processing\
**Created:** [June 14, 2025, 4:43pm UTC](https://discourse.processing.org/t/javafx-gif-player-discussion/46547 "2025-06-14T16:43:35Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [June 16, 2025, 7:53pm UTC](https://discourse.processing.org/t/javafx-gif-player-discussion/46547/19 "2025-06-16T19:53:33Z")

</div>

> [@svan](#):
>
> I’m not sure that you need the extra saveUrlFile() function.

- I modularize my code into reusable functions for a library I have.
- It makes my projects cleaner, easier to maintain, and much more efficient to develop new ideas.
- It is easy to comment out once you have downloaded the file.
- It prompts questions and comments to engage the forum.

> [@svan](#):
>
> There must be something special about the website that we’ve been using for testing in that it apparently will automatically download the .gif file.

It is up to the website (or server) whether they allow your Processing application to access and download their images directly.

The URL I provided is from a Processing topic in this forum:

> [@Creating Animated GIFs in Processing](https://discourse.processing.org/t/creating-animated-gifs-in-processing/12386):
>
> I have a new hobby! slight_smile

I can also get images from Wikipedia and Processing GitHub repositories.

Another favorite of mine:

> [http://learningprocessing.com/code/assets/sunflower.jpg](http://learningprocessing.com/code/assets/sunflower.jpg)

```auto
size(200, 200);
image(loadImage("http://learningprocessing.com/code/assets/sunflower.jpg"), 0, 0);

```

`:)`

---

_[View the full topic](https://discourse.processing.org/t/javafx-gif-player-discussion/46547)._
