Skip to content

Commit

Permalink
Update create-a-gif-with-python.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnynomnom authored Jul 1, 2024
1 parent 0d46b9b commit e70c130
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ iio.imwrite('team.gif', images, duration = 500, loop = 0)

Let’s run this program and see what happens!

In the terminal, navigate to the folder with the Python file using `cd` (change directory as taught in [Command Line](https://www.codedex.io/command-line). For example, if your file and images are in the **Desktop** folder, you can do:
In the terminal, navigate to the folder with the Python file using `cd` (change directory as taught in [Command Line](https://www.codedex.io/command-line) course. For example, if your file and images are in the **Desktop** folder, you can do:

```
cd Desktop
Expand All @@ -154,7 +154,7 @@ First, use your own images this time. Find two images online or on your computer

**Note:** Make sure the images have the same width and height. 💡

As a bonus, try to create a GIF using three or more images instead of just two! Where do you think the code needs to change?
As a bonus, try to create a GIF using three or more images instead of just two! Here's a [collection of images](https://github.com/codedex-io/projects/tree/main/projects/create-a-gif-with-python/collection-of-images) to play with. Where do you think the code needs to change?

## Wrapping Up

Expand All @@ -171,7 +171,7 @@ Let me know what GIFs you have created by tagging [@codedex_io](https://twitter.
- [Project Solution on GitHub](https://github.com/codedex-io/projects/blob/main/projects/create-a-gif-with-python/create_gif.py)
- [Set Up Your Local Development Environment with Python](https://www.codedex.io/projects/set-up-your-local-environment-in-python)
- [Imageio Documentation](https://imageio.readthedocs.io/en/stable/index.html)
- [Image Collection](https://github.com/codedex-io/projects/tree/main/projects/create-a-gif-with-python/collection-of-images)
- [Collection of Images](https://github.com/codedex-io/projects/tree/main/projects/create-a-gif-with-python/collection-of-images)
- [Wikipedia: GIF](https://en.wikipedia.org/wiki/GIF)

<img src="https://i.imgur.com/Pj6jufT.gif" alt="Kitty Chasing Heart GIF" width="18%"></img>

0 comments on commit e70c130

Please sign in to comment.