CadQuery / CadQuery/cadquery

Write PNG to io.Bytes

Open
#1,760 0 comments 1 reaction 0 assignees View on GitHub
vis
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

`vtkPNGWriter` can write to memory too (`vtkPNGWriter.WriteToMemoryOn`). We could expose it too. It would be handy for making docs.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing vtkPNGWriter integration and how WriteToMemoryOn is used. Check how CadQuery exposes image output and how io.Bytes is represented, then verify that PNG data can be returned in memory for documentation use.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, computer-graphics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.