We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

unwanted border on transparent image in libreoffice headless [SOLVED]

asked 2020-12-28 04:24:25 +0200

blackbox001 gravatar image

updated 2020-12-29 01:32:20 +0200

i was trying to convert .docx to .pdf with LibreOffice v7, note:there is an image(.png) on .docx, and it's successfully converted to pdf, but there's is unwanted border on the image,

I've tried this with LibreOffice v6 and there is no unwanted border image in the pdf,

and I really curious is there a way to remove the unwanted border around the image with LibreOffice headless ( no GUI ) other than downgrading v7 to v6,

I'm so sorry, my English is pretty limited, thank you in advance, for any answer :D

(see pictures below)

image description

solved with this PRhttps://github.com/PHPOffice/PHPWord/...

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2020-12-28 09:28:59 +0200

ebot gravatar image

updated 2020-12-28 09:31:48 +0200

I cannot reproduce the problem with me.

image description

I always save documents created in Writer in ODT format.

The picture shows an detail from the generated PDF file.


Always create and save your files in LibreOffice and save them in ODF format (ODT, ODS, etc.). Always keep these files as their source. If you need other formats for distribution to partners, you can open an ODF file and save and distribute another format with ″ Save as… ″.

This way, you always have working files available in your system environment.

See: https://wiki.documentfoundation.org/F...


Please report the behavior as a bug in Bugzilla .

Please announce the link from the bug here.

To do this, edit your initial question. Thank you.

edit flag offensive delete link more


With me Windows 10 Home; Version 20H2; 64-Bit;

LibreOffice - Version: (x64) Version: (x64)

Build ID: dcf040e67528d9187c66b2379df5ea4407429775 CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: CL

ebot gravatar imageebot ( 2020-12-28 09:30:44 +0200 )edit

Hi ebot, thank you very much for your answer :), its really weird, in libreoffice previous version which is 6.x.x, i have no problem with this and the program is works really well., but after i use libreoffice to latest version which is v7.x, this problem is appear,

and unfortunately all of my documents that need to converted to pdf. is in docx format not in odt like yours :(,

and i'm really curious, is there a way to deactivate the border on pictures when convert docx format to pdf?

thank you~

blackbox001 gravatar imageblackbox001 ( 2020-12-28 14:24:32 +0200 )edit

You can try to start LibreOffice in Safe Mode (in menu Help>Start in Safe Mode... ) to see if the error goes away.

If the error is no longer present, you should reset your user profile.

LibreOffice user profile

ebot gravatar imageebot ( 2020-12-28 15:01:13 +0200 )edit
blackbox001 gravatar imageblackbox001 ( 2020-12-29 01:31:38 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-12-28 04:24:25 +0200

Seen: 95 times

Last updated: Dec 29 '20