rasterizing effects when exporting from the commandline

Bug #1027974 reported by Alex Valavanis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Low
Unassigned
inkscape (Debian)
Fix Released
Unknown

Bug Description

Forwarded from Debian:

From: Albert Dengg <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: inkscape: rasterizing effects when exporting from the commandline
Date: Wed, 25 May 2011 23:10:52 +0200
Package: inkscape
Version: 0.48.1-2
Severity: normal

hi,

when exporting from the commandline to pdf, ps or eps it seems not to
be possible to select to raster effects (as it is possible from the
gui), but instead the effected objects are just left out from the export
(unless of course you use --export-ignore-filters, but the you loose the
effects).

this decreases the usefullness of inkscape in batch mode.

yours,
albert

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages inkscape depends on:
ii libaspell15 0.60.6-6 GNU Aspell spell-checker runtime l
ii libatk1.0-0 2.0.0-1 The ATK accessibility toolkit
ii libc6 2.13-4 Embedded GNU C Library: Shared lib
ii libcairo2 1.10.2-6 The Cairo 2D vector graphics libra
ii libcairomm-1.0-1 1.10.0-1 C++ wrappers for Cairo (shared lib
ii libfontconfig1 2.8.0-2.2 generic font configuration library
ii libfreetype6 2.4.4-1 FreeType 2 font engine, shared lib
ii libgc1c2 1:7.1-7 conservative garbage collector for
ii libgcc1 1:4.6.0-8 GCC support library
ii libgconf2-4 2.28.1-6 GNOME configuration database syste
ii libglib2.0-0 2.28.6-1 The GLib library of C routines
ii libglibmm-2.4-1c2a 2.28.1-1 C++ wrapper for the GLib toolkit (
ii libgnomevfs2-0 1:2.24.4-1 GNOME Virtual File System (runtime
ii libgomp1 4.6.0-8 GCC OpenMP (GOMP) support library
ii libgsl0ldbl 1.15+dfsg-1 GNU Scientific Library (GSL) -- li
ii libgtk2.0-0 2.24.4-3 The GTK+ graphical user interface
ii libgtkmm-2.4-1c2a 1:2.24.0-1 C++ wrappers for GTK+ (shared libr
ii libgtkspell0 2.0.16-1 a spell-checking addon for GTK's T
ii liblcms1 1.18.dfsg-1.2+b4 Color management library
ii libmagick++3 8:6.6.0.4-3+b1 object-oriented C++ interface to I
ii libmagickcore3 8:6.6.0.4-3+b1 low-level image manipulation libra
ii libpango1.0-0 1.28.3-6 Layout and rendering of internatio
ii libpangomm-1.4-1 2.28.2-1 C++ Wrapper for pango (shared libr
ii libpng12-0 1.2.44-2 PNG library - runtime
ii libpoppler-glib4 0.12.4-1.2 PDF rendering library (GLib-based
ii libpoppler5 0.12.4-1.2 PDF rendering library
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii libsigc++-2.0-0c2a 2.2.9-1 type-safe Signal Framework for C++
ii libstdc++6 4.6.0-8 The GNU Standard C++ Library v3
ii libwpd-0.9-9 0.9.2-1 Library for handling WordPerfect d
ii libwpg-0.2-2 0.2.0-4 WordPerfect graphics import/conver
ii libx11-6 2:1.4.3-1 X11 client-side library
ii libxml2 2.7.8.dfsg-2+b1 GNOME XML library
ii libxslt1.1 1.1.26-7+b1 XSLT 1.0 processing library - runt
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages inkscape recommends:
pn aspell <none> (no description available)
ii imagemagick 8:6.6.0.4-3+b1 image manipulation programs
pn libwmf-bin <none> (no description available)
pn perlmagick <none> (no description available)
ii pstoedit 3.50-3+b1 PostScript and PDF files to editab

Versions of packages inkscape suggests:
pn dia | dia-gnome <none> (no description available)
ii libgnomevfs2-extra 1:2.24.4-1 GNOME Virtual File System (extra m
pn libsvg-perl <none> (no description available)
pn libxml-xql-perl <none> (no description available)
ii python 2.6.6-14 interactive high-level object-orie
ii python-lxml 2.3-0.1+b2 pythonic binding for the libxml2 a
ii python-numpy 1:1.5.1-2+b1 Numerical Python adds a fast array
ii python-uniconvertor 1.1.4-1+b2 Universal vector graphics translat
ii ruby 4.8 Transitional package for ruby1.8
ii ruby1.8 [ruby] 1.8.7.334-5 Interpreter of object-oriented scr
pn skencil <none> (no description available)

-- no debconf information

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

> Version: 0.48.1-2
>
> when exporting from the commandline to pdf, ps or eps it seems not to
> be possible to select to raster effects (…)

Not reproduced with Inkscape 0.48.1 and current stable (Inkscape 0.48.3.1) using a simple test file with a blurred circle:
command line export to PDF always exports filter effects rasterized unless explicitly disabled with '--export-ignore-filters', as described in the man page and in the release notes about the initial implementation of cairo-based exports to PDF/PS/EPS [1]. With the simple test case, the object from the SVG file is present in the PDF file with both export methods (GUI, command line).

> (…) but instead the effected objects are just left out from the export

The identical file, with exactly the same export options as used in the GUI? Odd. If objects are missing completely in the generated PDF, this is very likely not a failure of exporting via command line (as opposed to using the GUI), but due to hitting a memory limitation while generating huge bitmaps in memory during the export (see bug #494115).

Could you please attach a sample file which triggered the reported issue, to allow further investigation?

[1] <http://wiki.inkscape.org/wiki/index.php/Release_notes/0.47#PDF.2C_PostScript.2C_and_EPS_export>

Changed in inkscape:
status: New → Incomplete
Changed in inkscape (Debian):
status: Unknown → Confirmed
Revision history for this message
Kris (kris-degussem) wrote :

Closing report by lack of feedback.
If the problem reappears, feel free to reopen this bug.

Changed in inkscape:
status: Incomplete → Invalid
Changed in inkscape (Debian):
status: Confirmed → 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.