Conflunce doesn't export documents with .png in it

Антон Жидков October 9, 2020

Hello,
Just found out that a big amount of documents can't be exported in pdf properly because it contains .png images in it. White pages with titles. While .jpg work fine. Maybe there is something that can help me without changing all images in all documents?

1 answer

1 accepted

0 votes
Answer accepted
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2020

Make sure the images are attached to the page and properly included, versus just pasted into the article. I have seen problems with the later.

Антон Жидков October 9, 2020

They attached properly.
But it seems like it has a problem with a format. And to correct it, I have to reimport a lot of documents. It's just of them -

Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 10, 2020

Is it all PNG files? How they were created? I vaguely remember problems where I needed to open the files in Adobe Photoshop and resave for the images to work properly?

Like Антон Жидков likes this
Антон Жидков October 11, 2020

The first one is .jpg. I resaved it to test my theory. It worked fine. Then I reimported all images in .png and then found it, that it workes fine. One problem remains - I need to reimpoirt more than 350 images. I just want to know if it is possible to do 1 time for all documents with images.

Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 11, 2020

Unfortunately no. You would have to write an external script to walk through all the pages, download the attachment, resave, reupload.

Like Антон Жидков likes this
Антон Жидков October 11, 2020

Understood. Thank you.

MS September 15, 2021

My images didn't display in the default PDF export when Confuence automatically sized them but when I changed them to a fixed size, they displayed okay.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events