How do I separate embedded elements/images?

Hello, my document becomes too large(100 MB) due to many embedded images, I’d reduce the file size by linking to the images instead of embedding them directly. However, I don’t have these files and records so I’m seeking a way to separate image files just use the .odt file itself automatically

Just like something similar to ‘Save as HTML’ but keep the .odt
Thanks!

Version: 24.2.0.1 (X86_64) / LibreOffice Community
Build ID: b4d45829793cddfe67b58a53f495528c75738d8a
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-CA (en_CA); UI: en-GB
Calc: threaded

Do you mean you want to extract the images from the document? If so, change the extension of the file to .zip and use a zip utility.

There is an option to compress the images. Maybe enough for your needs.
Right-click on the image, and select compress.

Yes, first extract them, second change all embedded image to linked image