octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #38323] printing image to svg uses same embedd


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #38323] printing image to svg uses same embedded png filename with gnuplot 4.6
Date: Tue, 24 May 2016 03:31:29 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #15, bug #38323 (project octave):

There has been a feature update to gnuplot development version.  A version of
SVG files with embedded PNG images can be obtained by using the terminal
option "standalone".  This is better approach than using "failsafe" in the
plot command.

For quite some time there has been an option "standalone" for svg terminal in
gnuplot, but it only applied to the mouse reference.  For the development
version the option 'standalone' also applies to image data.  Without the
standalone option, there will be external reference.

So, given the precedence of both gnuplot and Octave convention my suggestion
is

1) Keep the Octave "svg" print device as it is, but place the referenced
auxiliary PNG file in the same directory as the SVG image.

2) Introduce a new device "svgstandalone" that embeds the image within the SVG
file.  This is very consistent nomenclature with other devices.


     'svg'
     'svgstandalone'
          Scalable vector graphics.  The 'svgstandalone' device
          produces an SVG file in which PNG images are embedded
          within the file using Base64 encoding, while the
          'svg' device places PNG images in an auxiliary file
          and the SVG file references that external PNG file.


Does that seem consistent with other device behavior?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38323>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]