About 203,000 results
Open links in new tab
  1. Can you control GIF animation with Javascript? - Stack Overflow

    If you want to use JavaScript, you’re most likely alternatives are controlling genuine video or using CSS sprites. The benefit of using CSS sprites is that you end up transferring a single image, …

  2. Creating gifs using gif.js. Here’s how to use gif.js: | by 김원중 ...

    May 11, 2023 · By following these steps, you can easily create gifs using gif.js. You can add frames to your gif by selecting the format that is easy for you to use and desired for your …

  3. GitHub - jnordberg/gif.js: JavaScript GIF encoding library

    JavaScript GIF encoder that runs in your browser. Uses typed arrays and web workers to render each frame in the background, it's really fast! Demo - http://jnordberg.github.io/gif.js/ Works in …

  4. JavaScript: Create an Animated GIF from scratch with Custom …

    Jun 11, 2023 · Let's dive into the implementation details and code examples to create an animated GIF image from scratch using JavaScript and Canvas frames.

  5. gif.js - jnordberg.github.io

    Full-featured JavaScript GIF encoder that runs in your browser. workers: 2, quality: 10 . // add a image element . // or a canvas element . // or copy the pixels from a canvas context . …

  6. Encode Animated GIF in Javascript - Ryan Higdon

    Apr 30, 2023 · These are the three libraries you will need to have for this to work. Node is our Javascript run-time, canvas adds the html5 canvas to the node eco-system, and finally the gif …

  7. Making GIFs in JavaScript. There are endless GIF-making

    Oct 15, 2021 · It allows for graphics to be drawn in JavaScript and utilizes the <canvas> HTML element. There are a ton of fun examples online of this being used to make images, GIFs, …

  8. GIF Generator App Using HTML, CSS and JavaScript with Source …

    Mar 22, 2024 · The GIF Generator App is a dynamic web application that utilizes HTML, CSS, and JavaScript to enable users to search, discover, and share animated GIFs effortlessly.

  9. How to use JS to trigger a GIF animation? - Stack Overflow

    I have an animated GIF that plays once (doesn't loop). I would like it to animate when clicked. I tried something like this: $ ('#plus').click (function () { $ ('#plus').attr ('src',''); $ ('#pl...

  10. Creating click-to-play gifs with vanilla JavaScript

    Sep 9, 2019 · We achieved this functionality with just these few lines of HTML and vanilla JavaScript: <script> function playGif(gif_img) { . if (gif_img.src.endsWith(".gif")) gif_img.src = …