bugGNU Octave - Bugs: bug #55645, svg blurs a sharp figure

 
 

bug #55645: svg blurs a sharp figure

Submitter:  Muhali <muhali>
Submitted:  Mon 04 Feb 2019 04:35:50 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Wont Fix Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 5.0.90 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 05 Feb 2019 12:53:47 PM UTC, comment #3: 

Ok, closing report.

Pantxo Diribarne <pantxo>
Group Member
Tue 05 Feb 2019 12:02:21 PM UTC, comment #2: 

@Pantxo: just go ahead and close it. Many thanks!

Muhali <muhali>
Tue 05 Feb 2019 08:18:11 AM UTC, comment #1: 

All SVG viewers that I have tested (Firefox, Inkscape, Chromium and rsvgview) display images pixels antialiased. This tends to make images with few pixels look blurry as you describe (the most noticeable example is colorbars):


plot (1:10)
colorbar # The image is only 1 pixel wide
print foo.svg
open foo.svg


So this is not really a bug in Octave but rather a deficiency of the SVG format which does not provide an interface to specify how image elements should be rendered.
For example path elements have a property "shape-rendering" (auto | optimizeSpeed | crispEdges | geometricPrecision | inherit) that serves this purpose of rendering hint, but image elements don't have such property.

@Muhali: can I close this report as "Won't Fix" since there is nothing Octave can do about it?

Pantxo Diribarne <pantxo>
Group Member
Mon 04 Feb 2019 04:35:50 PM UTC, original submission:  

attached are two files, a datafile containing x and a svg file containing the printout of

load x.ot
imagesc(x)

The edges have become blurred.

Muhali <muhali>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #46176:  x.ot.gz added by muhali (412B - application/gzip)
file #46177:  foo.svg added by muhali (7KiB - image/svg+xml)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by muhali (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-05 pantxo StatusNone Wont Fix
        Open/ClosedOpen Closed
    2019-02-04 muhali Attached File- Added x.ot.gz, #46176
        Attached File- Added foo.svg, #46177

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code