I got a PDF with 12153 image masks in pattern colorspace. Rendering it with pdftoppm under Windows stops after after over 20 minutes with out of memory. The implementation of rendering image masks in pattern colorspace should be optimized in the splash backend.
Created attachment 60513 [details] [review] create softmask not bigger than necessary This patch don't take the whole bitmap for colorizing an image mask with pattern colorspace but just a bitmap which has the size of the image mask itself. This speeds up the rendering dramatically if a lot of small image masks in pattern colorspace must be rendered.
Do you have any other pdf other than that unshareable one that shows an speed improvement?
Fix commited.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.