Bug 80879 - EXPORT: no means to export an entire document or selective pages as images (pngs or jpgs)
Summary: EXPORT: no means to export an entire document or selective pages as images (p...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 88775 156823 159282 (view as bug list)
Depends on:
Blocks: Graphics-Export
  Show dependency treegraph
 
Reported: 2014-07-04 00:59 UTC by Yousuf Philips (jay) (retired)
Modified: 2024-01-19 06:31 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
glade mockup (16.42 KB, image/png)
2015-11-04 16:15 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-07-04 00:59:02 UTC
After reading bug 80855, i see that exporting the entire document as pngs or jpgs is not possible, so i'd like to suggest that when the dialog appears to specify the output size of the images, that it be given the same range options found in the print and pdf export dialogs.
Comment 1 jensbruhn 2014-07-04 08:33:11 UTC
That would be a great feature.

Before exporting, all fields should be refreshed:
oDoc.TextFields.refresh

I think, this is right now not done (p.e. at PDF export)
Comment 2 Jorendc 2014-07-04 13:40:44 UTC
Agreed :-)
Comment 3 Robinson Tryon (qubit) 2014-07-04 23:51:29 UTC
If you need a workaround for now, try exporting the document to PDF, then using ImageMagick to convert each page to PNG.

ImageMagick has the helpful 'convert' command that can do that for you on the command line:

(BMC.pdf was produced from a 2-page BMC.odt)

qubit@lo:~/$ convert BMC.pdf BMC.png
qubit@lo:~/$ ls
BMC-0.png  BMC-1.png  BMC.pdf
Comment 4 jensbruhn 2014-07-07 05:30:23 UTC
we want to give our end-users a good user experience, so it's important to receive the first page fast. The end-user doesn't care, if a 100page-export needs 60 or 65 seconds, but it's a big difference, if the first page comes after 2 or after 7 seconds.

So it would be great, if the first page is exported as fast as possible.

This "all-page-png-export" should be accessable via Macro/API, too.

thanks,
 jens
Comment 5 Yousuf Philips (jay) (retired) 2014-07-07 06:16:21 UTC
Hi Jens,

I think that you should possibly put in a new bug report about being able to limit the repagination to a particular page number, so that the export of the first page can be generated quickly.
Comment 6 jensbruhn 2014-07-07 06:21:59 UTC
Hi Jay,

see https://bugs.freedesktop.org/show_bug.cgi?id=80990

thanks,
 jens
Comment 7 Yousuf Philips (jay) (retired) 2015-11-04 16:14:40 UTC
Bug 88775 suggests an "All pages" checkbox and bug 48015 suggests the same range options mentioned in the description.
Comment 8 Yousuf Philips (jay) (retired) 2015-11-04 16:15:09 UTC
Created attachment 120263 [details]
glade mockup
Comment 9 paulystefan 2020-04-02 19:34:13 UTC
2 possible extensions can be modified for this problem.
MultiFormatSave-Draw is not stable. 

1. Export as images
solution in impress and draw
https://extensions.libreoffice.org/extensions/export-as-images
Export all the Impress slides or Draw pages as images of JPG, PNG, GIF, BMP and TIFF format.



2. MultiFormatSave 
enables you to save simultaneously a document in the OpenDocument, MS Office and/or PDF formats as you choose.
https://extensions.libreoffice.org/extensions/multisave-1
Draw Extension, Calc Extension, Writer Extension, Impress Extension,

Fork of 2. 
MultiFormatSave-Draw
https://extensions.libreoffice.org/extensions/multiformatsave-draw
Draw Extension, Calc Extension, Writer Extension, Impress Extension

Fork of MultiFormatSave supporting multisaving in Draw - into ODG, PNG, SVG and PDF.
No stable release available yet.
Comment 10 Mike Kaganski 2023-09-13 07:45:19 UTC
*** Bug 156823 has been marked as a duplicate of this bug. ***
Comment 11 Mike Kaganski 2023-09-13 07:48:34 UTC
*** Bug 88775 has been marked as a duplicate of this bug. ***
Comment 12 Buovjaga 2024-01-19 06:31:58 UTC
*** Bug 159282 has been marked as a duplicate of this bug. ***