Cairo.ImageSurface.write_to_png_stream does not exist
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 491
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
Hi. I'm using LGI to use Cairo in order to achieve server-based rendering, but I'd need to send PNG data to clients every once in a while. I wanted to use write_to_png_stream to render an image to a string so I can avoid creating a file every time I need to do that, but write_to_png_stream apparently does not exist.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the LGI binding for Cairo.ImageSurface and how its methods are exposed. Confirm how PNG output is currently represented, then define completion as making write_to_png_stream available for rendering PNG data without requiring a file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100