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

When the image scale is reduced by 20 times, the green RGB(0,255,0) changes to the dark green RGB(0,76,0). #25

Open
pcbren1987 opened this issue Sep 21, 2022 · 1 comment

Comments

@pcbren1987
Copy link

pcbren1987 commented Sep 21, 2022

Thank the authors found that a library is very useful for me, my side is engaged in PCB industry, need to use this library drawing can improve the efficiency of drawing (especially line cap smoother) memory space occupied less than PIXIJS, don't know how to solve a problem, existing graphics zoom, don't change color, if there is a feasible solution

When the image scale is reduced by 20 times, the green RGB(0,255,0)
changes to the dark green RGB(0,76,0).
How to achieve image zoom after the color does not change
image

@ivanpopelyshev
Copy link
Contributor

ivanpopelyshev commented Sep 21, 2022

Thank you!

Does settings.LINE_SCALE_MODE = LINE_SCALE_MODE.NONE; work for you? You can also pass object to lineStyle instead of arguments, and put lineScale there.

If you are working on a company, you might try to set a bounties on improvements that you really need, like better circles optimization, though those issuse have to be created in main pixi repo. We use https://opencollective.com/pixijs/ to track payments.

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