More efficient multi-layer compositing

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
15/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start by locating the multi-layer compositing implementation and any existing image-processing tests. Compare its handling of alpha PNG output, alpha-channel loading, and layer compositing against the three goals in the issue; done means non-alpha images avoid alpha work, compositing can exit for fully opaque pixels, and output uses alpha PNGs only when needed.

Written by the indexing model from the issue text.

Description

  • only send out alpha pngs when at least one of the layers has an alpha channel
  • don't load alpha channels for non-alpha images
  • composite all layers at once and early exit when pixel is fully opaque
Dominant language
C++
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/node-img

All issues in developmentseed/node-img

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.