Bug 141943 - EPS images not imported correctly
Summary: EPS images not imported correctly
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Images-EPS
  Show dependency treegraph
 
Reported: 2021-04-27 21:08 UTC by Juan
Modified: 2021-04-29 14:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Doc file, template from avery, with graphics imported. (27.50 KB, application/msword)
2021-04-27 21:08 UTC, Juan
Details
Compare Word vs LO Writer 7.2 (92.21 KB, image/png)
2021-04-29 09:31 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juan 2021-04-27 21:08:20 UTC
Created attachment 171467 [details]
Doc file, template from avery, with graphics imported.

I received an EPS image for a UPS barcode that I purchased, and when I try to import it into LibreOffice writer using the Avery template for labels 22805, the right side of the image is cut off.
Comment 1 Roman Kuznetsov 2021-04-29 09:31:27 UTC
Created attachment 171499 [details]
Compare Word vs LO Writer 7.2

I don't the difference between MS Word 2016 and LO Writer 7.2 here
Comment 2 Roman Kuznetsov 2021-04-29 10:16:40 UTC
Juan, what LO version do you use now?
Comment 3 Juan 2021-04-29 14:15:41 UTC
Version: 6.4.7.2
Build ID: 1:6.4.7-0ubuntu0.20.04.1
CPU threads: 24; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 4 V Stuart Foote 2021-04-29 14:31:53 UTC
Some EPS image formats will have a low resolution preview bitmap. While parsing the actual EPS image requires "helper" program(s) be installed and available on path for LO to do anything with them.

Rework the EPS to remove the preview bitmap, then if you have both ghostscript and pstoedit installed to system, the EPS will be rendered as vector to LO document canvas.

The quality of the pstoedit conversion may not be the best (there is a paid add-on for better results)--so external conversion of the EPS (with ghostscript and imagemagick) to SVG or EMF may be more appealing.
Comment 5 Juan 2021-04-29 14:37:18 UTC
Umm... I don't get the same behavior on Word. Kinda defeats the purpose of open source if you have to pay to get the same functionality as the product you are replacing, no? Anyway, I guess no one will even try to make this better, so back to Word I go.
Comment 6 V Stuart Foote 2021-04-29 14:55:43 UTC
(In reply to Juan from comment #5)
> Umm... I don't get the same behavior on Word. Kinda defeats the purpose of
> open source if you have to pay to get the same functionality as the product
> you are replacing, no? Anyway, I guess no one will even try to make this
> better, so back to Word I go.

Word on Linux--good trick ;-)

And, you'll note otherwise that MS Word inserts the low resolution WMF bitmap, not a high resolution vector of the EPS image. The EPS won't even go into a LO install on Windows with out the helpers that are common on Linux os/DE.

What I/we are saying is that you need to handle your EPS vector images external to your word processor to get them into a usable vector format (SVG, EMF+).  At that point either MS Word or LO Writer will consume the vector metafile.

But, I'm fine with the => WF rather than NAB.