GifAnimation for Processing v3

edited February 2018 in Library Questions

Hi @kfrajer how are you?? Please help me to resolve this problem with a program version 3.3.6.!1

Answers

  • Can you tell us where did you get the library? Did you get it from the source I provided to you? Can you also cross link this post to your previous post?

    Kf

  • edited February 2018
  • @Asma_

    What operating system are you using? I am almost certain I used the same resources and it is working for me. I won't be able to verify but until I get back home later today. I will get back to you.

    Kf

  • edited February 2018

    operating system 64 bit,,, Ok waiting for you

  • you are on windows 10?

  • edited February 2018

    @Asma_

    Go to your sketchbook (not where you have processing.exe but the other folder where you install your libraries) and go to the Library folder and then GifAnimation folder. Inside that folder there is a file called library.properties. Open that file using any text editor (alternatively, open a text editor and drag this file into it).

    After you open this file, check if you have this line:

    paragraph = Processing v3.x port by Jerome Saint-Clair (01010101). GIFEncoder & GIFDecoder classes by Kevin Weiner.

    As you see, I am using the code from 01010101 repo.


    Checking the repo from https://github.com/extrapixel/gif-animation/issues/15, I can see they had this issue reported before:

    https://github.com/extrapixel/gif-animation/issues/15

    which makes me thing you are using another source for this library. Notice in this repo, they specifically say this library is for Processing V1 and V2:

    (compatible with Processing 1.x and 2.x)

    I suggest you use the zip file from https://github.com/01010101/GifAnimation and run the example code that comes with it to test the library is working in your machine before you try your own sketch.


    I find that this library's git is a bit much... The owner has the initial repo and it supports the GifAnimation for Processing 1x and 2x. Then 01010101 did changes to make compatible to 3x. It seems that those changes broke the original version. So the current owner created another tree and placed the library there. As for now, it seems there are two source codes that should work:

    https://github.com/01010101/GifAnimation
    https://github.com/extrapixel/gif-animation/tree/3.0

    Notice however that due to maintenance from the library owner, it seems that the link to the zip library that Processing is using to fetch this library in its Library manager is broken (as reported by jpw1116 here)

    Kf

  • so does this work?

    PImage img = loadImage("EG.gif");
    
    image(img,10,10); 
    
Sign In or Register to comment.