Bug 94054 - Writer watermark EPS background image not exported to PDF
Summary: Writer watermark EPS background image not exported to PDF
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export Images-EPS
  Show dependency treegraph
 
Reported: 2015-09-09 12:57 UTC by gianbeos
Modified: 2023-03-19 09:08 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Writer test document with EPS image as background to export to PDF (28.21 KB, application/vnd.oasis.opendocument.text)
2015-09-10 10:23 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gianbeos 2015-09-09 12:57:27 UTC
With the latest two version of LibreOffice, I can't print or export to pdf an EPS file set as watermark on the page. The watermarks is visible on the screen but when I print or export the file, the watermark is substitute with this:

Title:Watermark.eps
Creator:Adobe Illustrator(R) 16.2
CreationDate:23/05/13
LanguageLevel:2

I tried this with two different EPS watermark and the result are the same.

The watermark is set from menu Format > Page > Area > Fill > Bitmap

Thanks for your support
GianBeOS
Comment 1 Alex Thurgood 2015-09-10 10:22:36 UTC
Confirming on

Version: 4.4.5.2
Build ID: a22f674fd25a3b6f45bdebf25400ed2adff0ff99
Locale: fr.UTF-8
 OSX 10.10.5

Note that in LO5.x, the button to add images other than the default provided bitmaps has disappeared, this is a separate (known) bug, so at present this can only be tested with a Writer document already containing an EPS image set as page background (attached).
Comment 2 Alex Thurgood 2015-09-10 10:23:25 UTC
Created attachment 118569 [details]
Writer test document with EPS image as background to export to PDF
Comment 3 V Stuart Foote 2015-09-10 12:01:27 UTC
(In reply to gianbeos from comment #0)
> With the latest two version of LibreOffice, I can't print or export to pdf
> an EPS file set as watermark on the page. The watermarks is visible on the
> screen but when I print or export the file, the watermark is substitute with
> this:
> 
> Title:Watermark.eps
> Creator:Adobe Illustrator(R) 16.2
> CreationDate:23/05/13
> LanguageLevel:2
> 

Suspect that error means that you do not have valid path to either of the "helper" files that LibreOffice uses to render EPS to vector or bitmap.  

pstoedit or convert (from Imagemagick)

Believe your EPS has a preview--that is what you see when the document is open. But when printed or exported to PDF LibreOffice has no way to handle the EPS, and you get the error.

Do things improve (or simply change) if you install pstoedit and/or Imagemagick? Available from Fink, MacPorts or MacAppStore

Unfortunately, once installed you may end up with issue of bug 81497 -- PRINTING: to PDF with Adobe Distiller or GS based PDF printer, EPS images not rendered to PS vector for PDF, instead print uses the preview of EPS image.

But let us know.
Comment 4 gianbeos 2015-12-14 14:44:07 UTC
The problem persist also with ImageMagick installed (binary in /usr/local/bin and included on PATH variable).



(In reply to V Stuart Foote from comment #3)
> (In reply to gianbeos from comment #0)
> > With the latest two version of LibreOffice, I can't print or export to pdf
> > an EPS file set as watermark on the page. The watermarks is visible on the
> > screen but when I print or export the file, the watermark is substitute with
> > this:
> > 
> > Title:Watermark.eps
> > Creator:Adobe Illustrator(R) 16.2
> > CreationDate:23/05/13
> > LanguageLevel:2
> > 
> 
> Suspect that error means that you do not have valid path to either of the
> "helper" files that LibreOffice uses to render EPS to vector or bitmap.  
> 
> pstoedit or convert (from Imagemagick)
> 
> Believe your EPS has a preview--that is what you see when the document is
> open. But when printed or exported to PDF LibreOffice has no way to handle
> the EPS, and you get the error.
> 
> Do things improve (or simply change) if you install pstoedit and/or
> Imagemagick? Available from Fink, MacPorts or MacAppStore
> 
> Unfortunately, once installed you may end up with issue of bug 81497 --
> PRINTING: to PDF with Adobe Distiller or GS based PDF printer, EPS images
> not rendered to PS vector for PDF, instead print uses the preview of EPS
> image.
> 
> But let us know.
Comment 5 V Stuart Foote 2015-12-14 15:21:31 UTC
(In reply to gianbeos from comment #4)
> The problem persist also with ImageMagick installed (binary in
> /usr/local/bin and included on PATH variable).
> 

OK, would you please confirm what happens when you open a terminal and enter "convert -version"

Do you get this message or similar?

Version: ImageMagick 6.9.2-0 Q16 x64 2015-08-15 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP 
Delegates (built-in): bzlib cairo freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib

Or do you get a "command not found"?
Comment 6 gianbeos 2015-12-14 15:25:18 UTC
No problem with the path:

Version: ImageMagick 6.9.2-8 Q16 x86_64 2015-12-06 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules 
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib



(In reply to V Stuart Foote from comment #5)
> (In reply to gianbeos from comment #4)
> > The problem persist also with ImageMagick installed (binary in
> > /usr/local/bin and included on PATH variable).
> > 
> 
> OK, would you please confirm what happens when you open a terminal and enter
> "convert -version"
> 
> Do you get this message or similar?
> 
> Version: ImageMagick 6.9.2-0 Q16 x64 2015-08-15 http://www.imagemagick.org
> Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
> License: http://www.imagemagick.org/script/license.php
> Features: Cipher DPC Modules OpenMP 
> Delegates (built-in): bzlib cairo freetype jng jp2 jpeg lcms lqr openexr
> pangocairo png ps rsvg tiff webp xml zlib
> 
> Or do you get a "command not found"?
Comment 7 eisa01 2017-10-20 21:49:02 UTC
Still present, and I have the same issue on 3.3, so setting version inherited from OOo

Version: 6.0.0.0.alpha1+
Build ID: 15dce20e8b97dbd0179f01910ca4d0027e80ff4e
CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2017-10-20_06:46:46
Locale: en-US (en_US.UTF-8); Calc: group
Comment 8 QA Administrators 2018-10-22 02:50:43 UTC Comment hidden (obsolete)
Comment 9 eisa01 2018-12-08 08:33:49 UTC
Still present

Version: 6.3.0.0.alpha0+
Build ID: beae6c7a7f163daad0d4dea63a3d403af2745fd1
CPU threads: 2; OS: Mac OS X 10.13.6; UI render: default; VCL: osx; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2018-12-06_23:52:29
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Even have ImageMagick installed:
Version: ImageMagick 7.0.7-7 Q16 x86_64 2017-10-08 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules 
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib
Comment 10 QA Administrators 2019-12-09 03:38:58 UTC Comment hidden (obsolete)
Comment 11 eisa01 2020-02-15 17:17:58 UTC
This is still present

Version: 7.0.0.0.alpha0+
Build ID: 0cb4f304abf6f8dd6b40eb800788d2fe80581813
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 12 QA Administrators 2022-02-15 04:12:07 UTC Comment hidden (obsolete)
Comment 13 eisa01 2023-03-19 09:08:46 UTC
Still present, also tested that Linux exports the image

Installed pstoedit as indicated in comment #3

pstoedit: version 3.78 / DLL interface 108 (built: Oct 24 2022 - release build - g++ Apple LLVM 14.0.0 (clang-1400.0.29.202) - 64-bit) : Copyright (C) 1993 - 2021 Wolfgang Glunz

Version: ImageMagick 7.1.1-4 Q16-HDRI aarch64 20976 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP(5.0) 
Delegates (built-in): bzlib fontconfig freetype gslib heic jng jp2 jpeg jxl lcms lqr ltdl lzma openexr png ps raw tiff webp xml zlib
Compiler: gcc (4.2)

Version: 7.5.1.2 (AARCH64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 10; OS: Mac OS X 13.2.1; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded