imagej / imagej/ImageJ

GIFs don't seem to support progressive drawing of frames.

Open
#256 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
786
Forks
267
PR merge metrics
No merged PRs in 30d

Description

Running on an M1, downloaded ImageJ bundled with Zulu OpenJDK 13.0.6 and opened a GIF file:

![GIF_20240503_133547_843](https://github.com/user-attachments/assets/d8d416b4-befb-4844-b033-2f4399cfa944)

Trying to play back the file inside ImageJ shows lots of dark pixels on the image. It seems like they represent the _translucent_ pixels not updated on gif animations, and instead of being skipped, black is being used. Here's the output GIF image produced by ImageJ. Note how also the framerate has slowed down a lot.

![out](https://github.com/user-attachments/assets/dbd03b3b-eb23-4547-9aae-91ad72278e57)

I tried the browser version and got the same results.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the attached GIF in ImageJ on the reported M1 setup and in the browser version, then compare playback with the generated output GIF. Trace GIF frame compositing and timing until translucent, unchanged pixels render correctly and playback and output retain the expected framerate.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
computer-vision, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.