[Solved] Save current background image to PC

Discuss the word processor
Locked
Kaze
Posts: 11
Joined: Tue Nov 14, 2023 6:42 am

[Solved] Save current background image to PC

Post by Kaze »

How can I grab the background image from my Writer file, and save it to my PC? I know how I added it, but I can't figure out how to "get back there" to save the graphic. Looking around Format/Page/Background I see nothing useful. "Browse" takes me nowhere.

I no longer have the image in my PC, and it would be annoying to have to rescan the image and edit it all over again.

(Answer: Open the .odt file with 7zip, and grab the image from the "Pictures" folder!)
Last edited by Kaze on Mon Feb 03, 2025 2:34 pm, edited 1 time in total.
Apache Open Office 4.1.15. Windows 10
User avatar
LastUnicorn
Posts: 798
Joined: Sat Mar 29, 2008 2:41 am
Location: Scotland

Re: Save current background image to PC

Post by LastUnicorn »

Not sure if this is what you're after for a 'background image' but for an ordinary image right-click on the image and select Save Graphics...
LibreOffice 25.8.1.1 (x64) installed to Windows 11 Pro. 25H2
Apache OpenOffice Portable 4.1.15 [Portable Apps]
For Java I use Adoptium Temurin JRE LTS Releases.
User avatar
Hagar Delest
Moderator
Posts: 33482
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Save current background image to PC

Post by Hagar Delest »

Else, open your .odt file with an archive manager (it's a mere zip file), then there should be a Pictures folder where are stored the pics.
Thus you are sure to get the original picture (at least the one saved when integrated as the background).

Please add [Solved] at the beginning of the title in your first post (top of the topic) with the button if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
JeJe
Volunteer
Posts: 3109
Joined: Wed Mar 09, 2016 2:40 pm

Re: Save current background image to PC

Post by JeJe »

Using the Print Screen button on your keyboard you can also make a bitmap copy of what's showing to the clipboard - simple, but there may be loss of quality depending what format/size the orignal image was.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Kaze
Posts: 11
Joined: Tue Nov 14, 2023 6:42 am

Re: Save current background image to PC

Post by Kaze »

Never would have thought an .odt could be opened with 7zip. Hwot? There's my image, just as Hagar said. Thanks!

LastUnicorn: Yes, that definitely works with images on the top layer, but not the background. Thanks though.

JeJe: True about the quality loss.
Apache Open Office 4.1.15. Windows 10
User avatar
Hagar Delest
Moderator
Posts: 33482
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Save current background image to PC

Post by Hagar Delest »

Kaze wrote: Mon Feb 03, 2025 2:33 pm Never would have thought an .odt could be opened with 7zip.
That's the benefits of open format like ODF, used by OpenOffice, LibreOffice and many other applications.
Not sure if it was scheduled for MS Office too, or if they did that to catch up with opensource, but their OOXML format is also XML files packaged in an archive, with the .docx/xlsx... extension.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
User avatar
MrProgrammer
Moderator
Posts: 5347
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: [Solved] Save current background image to PC

Post by MrProgrammer »

Kaze wrote: Sun Feb 02, 2025 4:30 pm How can I grab the background image from my Writer file, and save it to my PC?
To avoid the need to unZIP the file, after first saving the document in ODT format, you can use File → Save As → HTML Document. This saves the page background image separately from the HTML document that's created. For example if I save the document as Foo.html, Writer also creates Foo_html_72f2ac9e.jpg, the page background image, in the same directory.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.6, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
Locked