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

Get the bitmap data of a display object with a filter applied #445

Open
velara3 opened this issue Feb 20, 2024 · 1 comment
Open

Get the bitmap data of a display object with a filter applied #445

velara3 opened this issue Feb 20, 2024 · 1 comment

Comments

@velara3
Copy link

velara3 commented Feb 20, 2024

I went through the examples section and I didn't see an example of adding an image to the stage, adding a filter to it and then getting the transparent bitmap data of the image for a PNG. I only see jpeg and webp.

Well, I found the screenshot example so I'll work on that but that doesn't show how to get the image data with filters applied unless it adds it by default.

Related questions:

  1. Is there a forum or chat room or can we ask questions like this here? Is there support on StackOverflow?
  2. Can we create our own filters or modify the existing filters?
  3. Will this run in nodejs?

Also, on this page the link to the filter examples is down:
Points to here.

@bigtimebuddy
Copy link
Member

Extract also supports image/png as well. That is, in fact, the default.

You can join the PixiJS Discord. There's a link on the website and it's very active.

You can add your own filters or modify these to suit your needs. It's open source after all!

Lastly, there's a package called @pixi/node (github.com/pixijs/node) that you can use to render filters in Node.js without a browser.

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

No branches or pull requests

2 participants