Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add API for returning PNG pixels data #123

Merged
merged 3 commits into from
Nov 15, 2022
Merged

feat: add API for returning PNG pixels data #123

merged 3 commits into from
Nov 15, 2022

Conversation

yisibl
Copy link
Member

@yisibl yisibl commented Jun 24, 2022

No description provided.

@vercel
Copy link

vercel bot commented Jun 24, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
resvg-js ✅ Ready (Inspect) Visit Preview Nov 15, 2022 at 3:49AM (UTC)

@jstarpl
Copy link

jstarpl commented Nov 14, 2022

Is there any help that one can provide to get this PR merged?

@zimond
Copy link
Collaborator

zimond commented Nov 15, 2022

It would be better if renamed as pixels

@yisibl
Copy link
Member Author

yisibl commented Nov 15, 2022

@jstarpl Now I have finished this PR.

By the way, what is your usage scenario for this API?

@yisibl yisibl changed the title feat: add API for returning PNG pixel data feat: add API for returning PNG pixels data Nov 15, 2022
@yisibl
Copy link
Member Author

yisibl commented Nov 15, 2022

It would be better if renamed as pixels

Thanks, is done.

@yisibl yisibl merged commit 04a6ffe into main Nov 15, 2022
@yisibl yisibl deleted the add-pixel-api branch November 15, 2022 11:24
@jstarpl
Copy link

jstarpl commented Nov 15, 2022

@jstarpl Now I have finished this PR.

By the way, what is your usage scenario for this API?

I was hoping to use it to render UI SVGs to pipe them to a Stream Deck display and that accepts an RGB blob, so going through encoding+decoding a PNG is an unnecessary step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants