ODFIMGIMPORT(1)
π odfimgimport(1) β like, the manual page, bestie
Okay so welcome to odfimgimport β it lives in the User commands section of your friendly neighbourhood manual, and honestly? It's giving "tiny script, massive save." Let's get into it. π¦
β¨ NAME β¨
odfimgimport β import external images. That's it, that's the whole vibe. π
β¨ SYNOPSIS β¨
odfimgimport [-q] [-o outputfile] [inputfile]
πΈ DESCRIPTION πΈ
So picture this, bestie: you're copy-pasting HTML from your web browser straight into your word processor. Everything looks cute and normalβ¦ except the pictures in that pasted text are still loading from the Internet. Not it. π
This script will import all the images into the OpenDocument file. Iconic behaviour, honestly. π
If you don't provide an inputfile, the program will read from stdin. And here's the little caveat you need to know: if the program reads from stdin, it might not know how to resolve relative filenames. So, like, keep that in mind. π
If you don't provide an outputfile, the program will import the pictures into the input file. Slay, in-place editing. β¨
π OPTIONS π
-qβ if there are images that can't be imported,odfimgimportwill write out how many have failed. The-qflag will prevent that. So it's the "don't tell me, I don't wanna know" flag. π«Ά-vβ verbose, bestie! Prints the URL of every image it tries to import and the result. Main character transparency. π-ooutputfile β the file to save the output to."-"is stdout. Defaults to the input file. πΎ
π EXAMPLE π
odfimgimport -v -o newfile.odt oldfile.odt
Look at her go. Verbose, writing to newfile.odt, reading from oldfile.odt. Periodt. π₯
π AUTHOR π
SΓΈren Roug β Original author. We stan. π
Okay that's the whole page, bestie! And for the cute sign-off: this little icon comes from odfpy, dated 01/04/2009 β yes, she's vintage, and she still ate. ππ§β
π¦ where this page comes from
- opensuse-leap 16.0: python313-odfpy 1.4.2-bp160.1.11 Β· Apache-2.0 OR GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms