Blurred bitmap not rendered when DPI is increased

Bug #628798 reported by Yann Papouin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
theAdib

Bug Description

I need to export a big picture at 300dpi, I made all design at 150dpi and I had no problem when exporting at this resolution.
I'm now trying to export at 300 dpi and the blurred background picture just disappear.

I tried to export at 300dpi by removing the blur filter effect and the background picture is rendered, so the problem seems to be related to the blur filter.

To test attachment:
Export Page at 150dpi
Export Page at 300dpi

Note: The background has been embedded, but the problem exists too when the picture is just linked.

Revision history for this message
Yann Papouin (yann-papouin) wrote :
tags: added: filters-svg
tags: added: exporting
Revision history for this message
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.48+devel r9736 on OS X 10.5.8

Bitmap export fails to render the blurred bitmap with e.g. 220dpi and 300dpi, but works with 90dpi.
When exporting with 300dpi, I get this console message (repeated 122 times):

** (inkscape-bin:81106): WARNING **: 241168800 bytes requested for pixel buffer, I won't try to allocate that.

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Yann Papouin (yann-papouin) wrote :

Cannot be reproduced on r10300.
I think that it has been fixed in r10009 by theAdib for bug #494115

Revision history for this message
su_v (suv-lp) wrote :

a) Fixed confirmed with r10313 (old renderer) on Mac OS X 10.5.8 (i386):
Exporting with higher dpi is really slow (I only tested up to 220dpi), and with dpi > 200, puts out hundreds of console warnings like:
** (inkscape-bin:34573): WARNING **: 109206464 bytes requested for pixel buffer, this will slow down the system.
In contrast to the warning, it does not slow down the system itself: memory consumption stays constant, and does not cause paging (system info: 2.4 HGz Intel C2D, 2GB RAM).

b) Export failure not reproduced with r10341 (new cairo-renderer, built without OpenMP support on osx): some of the changes in r10009 no longer exist after the merge in revision 10326 - not sure if they are still in effect or if the cairo-renderer provides a different fix.

Timed export from the command line with 220 dpi:

$ time inkscape 628798-render.svg -e 628798-output-r10341-dpi220.png -d 220 -C
Xlib: extension "RANDR" missing on display "/tmp/launch-EhMYaX/:0".
DPI: 220
Background RRGGBBAA: ffffffff
Area 0:0:4344.09:2324.41 exported to 10619 x 5682 pixels (220 dpi)
Bitmap saved as: 628798-output-r10341-dpi220.png

real 24m57.797s
user 23m53.320s
sys 0m29.853s
$

Changed in inkscape:
milestone: none → 0.49
status: Confirmed → Fix Committed
Changed in inkscape:
assignee: nobody → theAdib (theadib)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.