Forum How do I...?

warning: image for filtering clamped to 3000x2001 (220 DPI)

madaOmada
How can I remove or change the 3000px image limit
mikeday
Which filters are you using? Is 220dpi too low resolution? Is the final image coming out blurry?
madaOmada
I used 300dpi but the actual width of the image is over 3000px


<svg style="position: absolute;border-radius:0px;filter:brightness(1);" width="100%" height="100%"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
preserveAspectRatio="none"
viewBox="0 0 4096 2731">
<image width="4096" height="2731" preserveAspectRatio="none" xlink:href="xxx"/>
</svg>
mikeday
Is the linked image also an SVG that you wish to rasterise to a bitmap by applying the brightness(1) filter? At the moment Prince limits rasterisation to 3000x3000 as a maximum size.
madaOmada
Thank you for your answer

This is the default style I set.
Filter properties can be removed.
mikeday
Right, you may not need the filter unless you specifically want to rasterise the image for some reason.
madaOmada
How can I remove the 3000px limit if I need a filter later on

mikeday
At the moment you can't remove it as the limit is built in, but the whole image will still be visible, just rasterised at whatever dpi gives 3000px as a maximum size. Do you have a target dpi resolution?
madaOmada
Yes, I need 300dpi
mikeday
In this case you might need to rasterise your SVG outside of Prince for the time being.
madaOmada
Thank you. This gives me some ideas. I'll try