Automattic / Automattic/node-canvas

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

Open
#2,621 0 comments 0 reactions 0 assignees View on GitHub
Feature
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

### What would you like node-canvas to do?

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

### Additional information/comments

_No response_

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

Tech stack
javascript, node.js
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.