Giter Club home page Giter Club logo

Comments (4)

piterwilson avatar piterwilson commented on June 28, 2024 1

fixed by #2

from squiggle-animation-tool.

Rampugnant avatar Rampugnant commented on June 28, 2024

Same issue as @fgeierst. Using the online version. When testing it out, I get the cropped version reliably when the drawing goes off the canvas in any direction. If everything is within the canvas I sometimes get a normal download. Guessing this has something to do with the window being passed to gif.js? Could potentially use the setOptions method in gif.js to define the width and height. I'm a beginner so, it is just a guess. It would be great to get the site working again. I really enjoy the simplicity of this tool. Thanks for creating it @piterwilson !

from squiggle-animation-tool.

piterwilson avatar piterwilson commented on June 28, 2024

Hey guys, I’m pretty busy these days and might be a while before I can work on this. I am adding a “help wanted” label to this issue hopefully we can get a volunteer to help. Apologies for this issue!

from squiggle-animation-tool.

Rampugnant avatar Rampugnant commented on June 28, 2024

@piterwilson I found I could recreate the cropping error on my mac screen (resolution 1792 x 1120), but there were no errors if I just moved the window over to my second desktop (resolution 2560 X 1440) refreshed and tried the download again. Resizing didn't have any effect.

I found a similar seeming issue listed in gif.js repo - Setting constructor width & height crops image. The work around on the comment suggests creating a temporary canvas and stretching the frames to it and then passing it to the worker.

I'm not confident enough to track down exactly where the handoff to gif.worker.js happens and try to rewrite it. I'd love some help.

from squiggle-animation-tool.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.