Skip to content

gifAnimBegin not working as documented #85

@RannaAI

Description

@RannaAI

Hello,
I'm not sure if this is known or not, I've been using the old version of the library because of these kind of errors, but since I'm forced to update the project I'm going through all libraries, I actually have an issue with gif creation.

This line :
firstFrame.gifAnimBegin(anim, 1, -1);

Throws:
TypeError: Argument 0 must be an integer

I assume that we moved to a better way to create gif using
const anim = new gd.GifAnim(image, {delay: 10});

but there is lack of documentation, I'm trying to achieve a transparent animated gif, and I'm still struggling.
Thank you for this awesome module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions