You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/09/27 17:12:46 UTC

[Bug 121128] New: "Save Graphics..." exports SVG as hex-encoded PNG image

https://issues.apache.org/ooo/show_bug.cgi?id=121128

          Priority: P3
            Bug ID: 121128
          Assignee: ooo-issues@incubator.apache.org
           Summary: "Save Graphics..." exports SVG as hex-encoded PNG
                    image
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: arielch@apache.org
          Hardware: All
            Status: CONFIRMED
           Version: AOO 3.4.1
         Component: code
           Product: word processor

Created attachment 79660
  --> https://issues.apache.org/ooo/attachment.cgi?id=79660&action=edit
Writer document with an SVG graphic embedded

* Insert an SVG image in Writer
* Select the graphic
* Right click to open the context menu
* Select the context menu item “Save Graphics...”
* On the Save dialog, select the “SVG – Scalable Vector Graphics” filter, enter
a file name, and save the graphic
* Open the exported SVG graphic with a text editor: you'll see that the image
was exported as an embedded, base 64 encoded, PNG image inside the SVG file
<image xlink:href="data:image/png;base64,[IMAGE DATA]"/>

Exporting using AOO API works ok

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121128] "Save Graphics..." exports SVG as hex-encoded PNG image

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121128

--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 79661
  --> https://issues.apache.org/ooo/attachment.cgi?id=79661&action=edit
Original SVG image, embedded in Writer

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121128] "Save Graphics..." exports SVG as hex-encoded PNG image

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121128

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Armin.Le.Grand@me.com
           Assignee|ooo-issues@incubator.apache |Armin.Le.Grand@me.com
                   |.org                        |

--- Comment #3 from Armin Le Grand <Ar...@me.com> ---
ALG: Indeed, the image gets converted to bitmap content and then exported as
SVG cotaining a big base64-encoded bitmap. Taking a look...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121128] "Save Graphics..." exports SVG as hex-encoded PNG image

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121128

--- Comment #2 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 79662
  --> https://issues.apache.org/ooo/attachment.cgi?id=79662&action=edit
Exported SVG graphic

The original SVG image is exported as an hex-encoded PNG image embedded in the
SVG file

-- 
You are receiving this mail because:
You are the assignee for the bug.