Apple Intelligence is now available on iPhone, iPad, and Mac!

How to Export a Pages document as image (JPEG) and provide a filename without creating a new folder?

I am trying to export a Pages document into a JPEG file. However, every time I do so, Pages always create a new folder and saves the file there. For example, if I try to export the doc MyDoc.pages as a JPEG image and I specify MyDocJpg in the Save as... field, Pages will create a folder MyDocJpg and save the exported image as MyDocJpg.1.jpeg there.

How can I get rid of the new folder and get only my chosen field name MyDocJpg.jpeg?


I am using Pages v13.1 on Mac Studio 2023 with M2 Max chip.


Thanks in advance.

Posted on Oct 29, 2024 7:59 PM

Reply
4 replies

Oct 30, 2024 4:52 AM in response to MMGarrido

This is the same behavior as Pages v14.2 on Sequoia 15.1 when you choose Export > Image > Save… The filename on the Save panel is the folder name, so no need to add an extension to it as Pages places the image.jpeg in that folder. As this was a product team design decision to use an output folder for exported images, there is no means to directly export an image from Pages without an enclosing folder.


The simplest solution is to just deal with the issue and double-click that output folder to get at the images.


The Send a Copy on that Image export panel still attaches an unzipped folder to email, messages, or AirDrop, so no solution there.


One could export the Pages document to PDF (no folder) and then run an Apple Shortcut on that PDF to split the PDF pages into individual images. This would generate images into a containing folder to avoid them being sprayed all over the Desktop. So back to paragraph 2. The upside is the images are 300 DPI, not 72 DPI. I have already written that Shortcut if you want to go there.


And finally, you can politely send direct feedback to the Pages product team from the Pages application menu.




Oct 31, 2024 11:26 AM in response to Camelot

The Pages export option is named Images… and one has a choice of all, or specific pages, that will be exported into the Pages document named folder as individual document.1.jpeg ... document.n.jpeg images.


Alternatively, one can use the command line component of LibreOffice 24.8.2.1 to convert a single-page Pages (e.g. Pages v14.2) document that contains equations and text — but no images. This does not invoke Pages. The resulting image can be in the same Pages document location or a designated (--outdir) folder. For simplification, I have soft-linked the internal LibreOffice soffice binary into /usr/local/bin:

ln -s /Applications/LibreOffice.app/Contents/MacOS/soffice /usr/local/bin/soffice
/usr/local/bin/soffice --headless --convert-to jpeg one-pager.pages
/usr/local/bin/soffice --headless --convert-to png one-pager.pages


Pages document:



The resultant jpeg generated by LibreOffice:



Oct 31, 2024 11:04 AM in response to MMGarrido

I think the expectation is that your Pages document contains more than one page.


Rather than create one very, very long (or tall?) JPEG file, Pages creates a folder and saves one JPEG per page.

Sure, for a single page document, the folder is superfluous, but it's kind of handy for multi-page documents.


Unfortunately there's no control over this behavior, other than post-processing (e.g. moving the file and deleting the empty folder)

How to Export a Pages document as image (JPEG) and provide a filename without creating a new folder?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.