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

Brush Masking #4015

Closed
Shu2ik opened this issue Nov 20, 2021 · 8 comments
Closed

Brush Masking #4015

Shu2ik opened this issue Nov 20, 2021 · 8 comments

Comments

@Shu2ik
Copy link

Shu2ik commented Nov 20, 2021

As awesome and great Photopea is as frustrating it can get when working with the brush tool on a mask.
It gets very, very sluggish real quick even if the document file isn't that large. Same goes with applying filters on smart objects.

These are my system specs:
iMac ( Retina 5K, 27-inch, 2017)
3,8 GHz Quad-Core Intel Core i5
32GB 2400 MHz DDR4
Radeon Pro 580 8GB

@photopea
Copy link
Owner

Are you talking about painting into a raster mask of a layer? How large is your document (in pixels) and how large is your brush?

@Shu2ik
Copy link
Author

Shu2ik commented Nov 20, 2021

Yes, using layer raster mask. Current resolution is 3500x7000
The brush size doesn't make a difference but it's impossible to work with it. The delay is like 1-3 seconds.
It definitely gets worse with higher document resolution.

@photopea
Copy link
Owner

I just tried it in a 3500x7000 document and there is a delay, but it still runs at about 10 frames per second.

What web browser are you using? Is it more than 10 years old? Have you tried to update it, or do it in another web browser?

@Shu2ik
Copy link
Author

Shu2ik commented Nov 21, 2021

Microsoft Edge latest version. Haven't tried different browsers yet.

@photopea
Copy link
Owner

I have made painting into a mask about 30 times faster :) let me know if it is ok now.

@Shu2ik
Copy link
Author

Shu2ik commented Nov 27, 2021

I think I figured out where my problem actually lies.
It was and still is really bad with raster masks on color fill layers. It gets very sluggish with higher dimensions.

@photopea
Copy link
Owner

You are right, it is slow on fill layers. I will look into it :)

@photopea photopea reopened this Nov 27, 2021
@photopea
Copy link
Owner

I am sorry, but it is very hard to make it work faster. You have 24 million pixels in your mage, and it takes around 0.04 seconds to redraw them. So it will run at 25 FPS instead of 60.

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