eugeneware / eugeneware/gifencoder

How use delay delay x 1/1000 and not 1/100 ?

Open
#55 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
476
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Hi,

Is it possible to use the delay on miliseconds, not hundredths ?

It is rounded when changing setDelay : https://github.com/eugeneware/gifencoder/blob/master/lib/GIFEncoder.js#L136

I would like to use 103, 101, 99, 98 miliseconds, not just 100.

Thank you

Contributor guide

Open the contributing guide

Research direction

Start in lib/GIFEncoder.js around the setDelay implementation at line 136, where the issue reports rounding to hundredths. Check how the delay value is converted and determine how values such as 103, 101, 99, and 98 milliseconds should be preserved; done means those millisecond delays are accepted without the reported rounding.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, computer-graphics
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.