Filters - Button Texture Error

Bug #867703 reported by Doug
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
jazzynico

Bug Description

When applying the "Button" filter to a curved path, for example a circle, the top and right edges show a "glitch" when the "save a copy..." dialogue is used to create a PDF file. It also occurs in the printed output. This appeared without any warning or error messages, may be intermittent and this particular filter takes a long, long time to render.

Inkscape 0.48.1, Mac OS X 10.6.8 iMac Intel Core 2 Duo 2.0 Ghz

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

Please attach the original SVG file used to create the screenshots (?) in the PDF file, to allow further investigation / tests with different builds/versions of Inkscape.

Which Inkscape version are you using, on which OS/platform?

tags: added: filters-svg renderer
Changed in inkscape:
status: New → Incomplete
Revision history for this message
Doug (titaniumalley) wrote :

Sorry for not including all the necessary support documentation. I'm a newbie and this is my first time reporting a bug. That being said, I've attached the original SVG file, one of several that have manifested the problem and I will also attach one where the bug has not shown-up. Regards, Doug FYI, for some reason this file did not completely render after almost 2 hours. Hmm...

Revision history for this message
Doug (titaniumalley) wrote :

I'm now attaching the PDF file that just finished, at least partially, rendering... There's something about the Button filter that takes a long, long time to render as well as screen refresh. Is there something I'm missing?

Inkscape 0.48 Mac OS X 10.6.8 iMac Intel Core 2 Duo 2.0 Ghz

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

<off-topic>
Doug wrote:
> Inkscape 0.48 Mac OS X 10.6.8 iMac Intel Core 2 Duo 2.0 Ghz

From the SVG file:
> inkscape:version="0.48.1 r9760"

Note that a month ago a new bug-fix release came out: Inkscape 0.48.2
</off-topic>

Changed in inkscape:
status: Incomplete → New
description: updated
Revision history for this message
su_v (suv-lp) wrote :

> I'm now attaching the PDF file that just finished, at least partially, rendering...

What resolution did you use for rasterization of filter effects when saving a copy as PDF?

> Is there something I'm missing?

No - with the old renderer, some filter primitives (and preset filter effects) are slow to render and cause Inkscape to consume a lot of memory. The new cairo-based renderer (work in progress, for Inkscape 0.49) will have much improved performance and rendering quality for filter effects.

Revision history for this message
Doug (titaniumalley) wrote :

Ah, thanks for the update info... I've been rasterizing at 600 dpi for printing at 13 x 19 in. It takes about 12 min. or so for 8.5 x 11 and almost 2 hrs. for 13 x 19, and at that it appears to terminate early without completely rendering. I definitely look forward to 0.49... Full CMYK support is also very much of interest. I wish I had a programming background to help out, but alas I do not.

BTW, the Button filter is superb!!! It will be nice to see it render more quickly...

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

a) Reproduced with Inkscape 0.48.2 and 0.48+devel r10665 (cairo 1.10.2, 1.11.2, 1.11.3) on Mac OS X 10.5.8 (i386) when saving a copy as PDF (with default 90 dpi).
b) On-canvas, the rendering of the 'Button' effect in 0.48.2 is ok, in current trunk (r10665) it shows the same artifacts on-canvas as seen in the PDF export (with all versions).

No longer reproduced (in either version) after increasing the filter effects region to the size used for the 'Button' effect in current trunk (-0.1, -0.1, 1.2, 1.2) - see attached document.

tags: added: exporting pdf
removed: renderer
Revision history for this message
su_v (suv-lp) wrote :

Setting to 'Confirmed' for now -> needs to be further investigated, how the filter effects region is supposed to affect the rendering of this predefined effect.

Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote : Re: [Bug 867703] Re: Filters - Button Texture Error

Attaching reduced test case:

867703-simple-button-effect-1.svg:
(default filter effects region of 0.48.2 (0.00, 0.00, 1.00, 1.00))
- on-canvas: renders ok in Inkscape 0.48.2, not ok in r10665
- export to PDF: errors in 0.48.2 and r10665

867703-simple-button-effect-2.svg:
(increased filter effects region (-0.20, -0.20, 1.40, 1.40))
- on-canvas: renders ok in 0.48.2 and r10665
- export to PDF: correct in 0.48.2 and r10665

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

Also reproducible in 0.48.2 when making a bitmap copy of the filtered object.

Revision history for this message
Doug (titaniumalley) wrote :

Well, here's the million dollar question... How do I adjust the "filter effects region" for that effect? Also, by chance would you happen to know why all the objects are not rendering to PDF??? I'll send the SVG file and screen capture of what it's suppose to look like. I wonder if the issues are related, possibly with memory?

Revision history for this message
Doug (titaniumalley) wrote :

...and the screen capture. Missing objects. Ugh.

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

> would you happen to know why all the objects are not rendering to PDF?

This answer is not based on having actually exported to PDF the second file SVG file you attached (at the moment I don't have the time to try to export at such high dpi (600) - it slows down my MBP (late 2008) way too much for all other tasks): If filtered objects are missing in exported PDF files with high dpi settings, it is most likely due to
Bug #494115 “Save as PDF with rasterized filter effects at high DPI looses random elements of figure”
<https://bugs.launchpad.net/inkscape/+bug/494115>

> How do I adjust the "filter effects region" for that effect?

Menu 'Filters > FIlter Editor…', select a filter in the list on the left, switch to the tab 'Filter General Settings' tab at the bottom of the filter editor dialog and adjust the settings as needed. See also <http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Filters-BasicUse.html>

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

No longer reproduced with preset filter 'Bevels > Button' from current trunk (0.48+devel r11701).

@JazzyNico - this seems to be one of the filter effects which do require a larger FER than 100%:
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/10580>

Changed in inkscape:
assignee: nobody → JazzyNico (jazzynico)
importance: Undecided → Medium
milestone: none → 0.49
status: Confirmed → Fix Committed
jazzynico (jazzynico)
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

Remote bug watches

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