"bitmap oversample" setting used for both view and bitmap export, should not

Bug #270909 reported by jimmac
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Wishlist
Unassigned

Bug Description

Inkscape preferences have a setting 'oversample bitmaps' to choose a compromise between speed and quality of bitmap rendering. The default is 2x2 I think. This is a good default for display, but gives inferior results for final export.

I suggest disregarding this setting for exports, similarly how this is done for gaussian blur filter quality setting. I would recommend using the best rendering for final exports, and give an option/command line parameter to override. 8x8 gives very decent results, so maybe 16x16 is an overkill. In any case using this setting for both view and final export makes me go change this every time I want to export.

Revision history for this message
Pablo Trabajos (pajarico) wrote :

I agree with you. This bug has been here for so long...

tags: added: bitmaps exporting ui
Changed in inkscape:
status: New → Confirmed
su_v (suv-lp)
tags: added: bitmap
removed: bitmaps
jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Wishlist
tags: added: preferences
Revision history for this message
Stéphane Gourichon (stephane-gourichon-lpad) wrote :

> In any case using this setting for both view and final export makes me go change this every time I want to export.

I run into same problem. My workaround is to keep default settings of 2x2 (for quick viewing) but export with high dpi.
I have a short Makefile that postprocesses the bitmap using ImageMagick convert to intended dpi, effectively doing the missing oversampling. It's a little slow but only needs to type "make" on every export.

Makefile :
# example assuming image exported as my_image_from_inkscape.png
default : my_image_antialiased.png
# 25% for 4x4 oversampling over the 2x2 made by inkscape roughly approximates a 8x8
%_antialiased.png: %_from_inkscape.png
 convert -verbose -geometry 25% $< $@
# space above is actually a tab char, as required by make

I fully agree that settings for viewing and for export should be decorrelated.

 > I suggest disregarding this setting for exports, similarly how this is done for gaussian blur filter quality setting.

Reference: http://wiki.inkscape.org/wiki/index.php/Filter_Effects#What_works_in_Inkscape_0.45

> I would recommend using the best rendering for final exports, and give an option/command line parameter to override. 8x8 gives very decent results, so maybe 16x16 is an overkill.

Agreed : use best quality by default, let user override.

You are right to compare with blur effects. The associated preference panel clearly states that it's a display setting.

summary: - bitmap oversample should be a view preference, not export
+ "bitmap oversample" setting used for both view and bitmap export, should
+ not
Revision history for this message
Stéphane Gourichon (stephane-gourichon-lpad) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Closing - the report is obsolete: the setting 'Oversample bitmaps' no longer exists in Inkscape >= 0.91.

Changed in inkscape:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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