Unwanted Lines on Pasted Images

I just went through a couple of hours of trying to copy and paste an image into a writer document. The problem was that although the original image had no borders, every time I pasted it into Writer, I would get a thin line on the right image edge, bottom image edge, or both. If I had only a thin line on the right image edge, grabbed a corner, and shrunk the image, I would then get a line on the bottom image edge. I was trying to use landscape mode to allow a larger image size, but in the end, the only way to get rid of the lines was to paste the image into portrait mode. This happened with both pdf and png files. Is there a way to eliminate the edge lines? What do they indicate? Does Writer need more space around an image other than the margins? Thanks in advance.

It is a *Text Boundary, a helpful indicator of where the image stops and text can begin; it doesn’t print, nor export to pdf.

You can turn off the indicator by clicking View > Text Boundaries.

Better to spend the time with the Writer Guide or Getting Started Guide, both can be freely downloaded from English documentation | LibreOffice Documentation - LibreOffice User Guides

1 Like

This can be a display artefact with bitmap images (as opposed to vector images). What is your zoom factor? Have you scaled your image to fit in the page/location?
How do you format your document? With styles or manually?
As always, mention of OS name, precise LO version and save format would have helped.

Thanks for your responses!
1.) The text boundary setting makes sense. I will remember that!
2.) I tried zooming the image in and out, but that did not help. Pasting it into a portrait mode page got the ratios of the sides correct, and the lines disappeared.
3.) I have downloaded the guide(s), but I was responding to a group project request, and needed to get a document finished quickly. It ended well.
4.) I did not know that LO would accept vector images! That would have helped yestereday’s first project, which also turned out well.

Thanks for feed back. However, you used an Answer which is reserved for solutions to initial question. Doing so, you publicly advertise that the problem is “solved” with a recipe usable by others, which is not the case. This site is not a forum made of “conversations”. It is a Question & Answers one (with poor user interface). Feedback should go to comments (create by a click on the arrowed balloon icon.

Please, for community usefulness, create a comment to write your feedback (sorry, there is no command to do that in one click – poor user interface, I said). When done, delete your “non-answer”. Only you, as post owner can do that. Once you have done it, I’ll delete my own comment. Please, don’t add another comment like “Sorry, I did know the rule - done” (which would need to be deleted too). I’ll just see when the answer goes away and this is sufficient to notify me. Thanks.

Thanks for the feedback. I hope this works.

Hi @EarnestAl
Thank you for solution, but the change is not permanent. Every time I open the document with 15 images, they have lot of lines and spending time to clear it one by one. Can you help me how to resolve it in one shot ?

@novaflux of you are on Windows then it might be display artefacts. I get something similar if I don’t do this: click Tools - Options - LibreOffice - View and tick the box Force Skia software rendering.

Hi @EarnestAI
Thank you, for the suggestion. But, I could not find the option - Force Skia software rendering. Am I missing something ?

In that case, you are not using Windows but some other operating system.
Make sure your display drivers are up to date.
See if ticking the hardware acceleration box and restarting LibreOffice helps

Sorry, I should have specified this earlier.
I m on Manjaro Linux OS, not Windows.

This is not enough because there are several possible “desktops”: GNOME, MATE, KDE Plasma, Xfce, LXQt, and many others. Which is yours? And have you configured LO accordingly (with an ad-hoc graphical interface package)? Tell us which desktop you chose and report Help → About LO (there is a button to copy the information) so that we see if ths is consistent.

Hi @ajlittoz

Manjaro OS
Desktop: GNOME v: 50.4 tk: GTK v: 3.24.52 wm: gnome-shell
tools: gsd-screensaver-proxy dm: GDM v: 50.2 Distro: Manjaro
base: Arch Linux

Libre Office:
Version: 26.2.5.2 (X86_64)
Build ID: 620(Build:2)
CPU threads: 32; OS: Linux 7.1; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
26.2.5-1
Calc: threaded

Thank you!

Your configuration is consistent. I don’t see anything obvious.

Attach your document (or a reduced sample of it, making sure the problem is still present) for analysis on my Fedora Linux box (same LO version as yours). If you deem your document is not public, send it through private mail: click on the icon left of my name, then on the Message button.