https://bugs.freedesktop.org/show_bug.cgi?id=81764

          Priority: medium
            Bug ID: 81764
          Assignee: [email protected]
           Summary: FILESAVE: "Save graphic..." function saves JPEGs as
                    PNGs
          Severity: minor
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: x86-64 (AMD64)
            Status: UNCONFIRMED
           Version: 4.2.6.2 rc
         Component: Drawing
           Product: LibreOffice

Created attachment 103476
  --> https://bugs.freedesktop.org/attachment.cgi?id=103476&action=edit
A file with an imported *.png image.

When I use the Save Graphic context menu to save a picture from writer
(imported from PNG or JPEG but not SVG) and choose JPEG in the drop-down menu
the file is saved normally and normally previewed in Gwenview (KDE standard
image editor). However, if I try to import it in GIMP this results in the
following error:

JPEG image Message
Not a JPEG file: starts with 0x89 0x50

GIMP Message
Opening '/tmp/Pic3.jpg' failed:

raw image plug-In could not open image

The second message is probably from the default plugin used to open
unidentified files in GIMP, while googling up the first message suggests that
instead of writing a JPEG header LO writes a PNG header to the file. Moreover,
if I change the file extention to *.png the file is opened in GIMP without any
issues.

Steps to reproduce:
1) open the attached *.odt file
2) right-click on the ball image (courtesy of openclipart collection)
3) choose Save Graphic... and save the file as JPEG (choose from drop-down
menu)
4) open Gimp and choose File>Open to open the image file and see the error

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to