`ImageData` support "rgba-float16" pixelFormat (Float16Array)

Open
#2,621 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
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript, node.js

Research direction

Start by searching the node-canvas repository for ImageData and existing pixelFormat handling, then trace the JavaScript and native implementation boundary. Compare the current pixel formats with the requested rgba-float16 and Float16Array behavior; done means ImageData accepts and correctly preserves that format with coverage in the relevant existing tests.

Written by the indexing model from the issue text.

Description

Feature
What would you like node-canvas to do?

Have ImageData support pixelFormat of type "rgba-float16" (i.e., Float16Array)

Additional information/comments

No response

Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

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 Automattic/node-canvas

All issues in Automattic/node-canvas

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.