export png to word then convert to pdf

Post questions on how to use or achieve an effect in Inkscape.
amyamy
Posts: 4
Joined: Fri Jul 19, 2019 2:26 pm

export png to word then convert to pdf

Postby amyamy » Fri Jul 19, 2019 2:40 pm

Hello everyone,
I have a question about exporting png file.

My purpose: use inkscape to map multiple subjects (tiff and jpg) together, export the combined figure to png, insert the png to word, then convert word to pdf
I do not use much vector drawings, except for the arrows and texts.

The problem: the exported png looked perfect in photo viewer, looked perfect when in word, messed up when converted to pdf
Here is attached an example.

I am aware of that my request of assembling pictures could be achieved in powerpoint. However, my situation requires the use of inkscape.

Many thanks in advance.
Attachments
inkscape troubleshooting 1.PNG
inkscape troubleshooting 1.PNG (79.57 KiB) Viewed 980 times

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: export png to word then convert to pdf

Postby Polygon » Fri Jul 19, 2019 6:18 pm

Hi.
I know it´s a default setting but maybe worth checking: background color:
Backgroundcolor.jpg
Backgroundcolor.jpg (78.99 KiB) Viewed 971 times

Make sure there´s no object behind the shape you want to export.
You can upload an example file so we can check if it´s alpha channel is intact.
Or you can try this png image as I don´t have Word to test:
Testbox.png
Testbox.png (4.28 KiB) Viewed 970 times

Cheers

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: export png to word then convert to pdf

Postby Moini » Sat Jul 20, 2019 1:43 am

Sounds to me as if MS Word's pdf export is broken (maybe it doesn't keep png data as png, but converts it to jpg data to be embedded in the pdf...). I would fix this by putting a white background rectangle into the SVG file.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

amyamy
Posts: 4
Joined: Fri Jul 19, 2019 2:26 pm

Re: export png to word then convert to pdf

Postby amyamy » Sat Jul 20, 2019 4:47 am

Thank you Moini and Polygon!

I have confirmed that the alpha channel is 0, so the background is transparent. Then it inspired me to change the background to white, then to png, word, then pdf. The pdf showed no mistakes. Attached image.

Then I also tried to add a white block as the bottom layer, then to png, to word, to pdf. The pdf also looked good. Attached image.
The word pdf export might have some problems.
Attachments
Capture.PNG
Capture.PNG (59.86 KiB) Viewed 944 times

amyamy
Posts: 4
Joined: Fri Jul 19, 2019 2:26 pm

Re: export png to word then convert to pdf

Postby amyamy » Sat Jul 20, 2019 4:49 am

To Polygon,
Can I use a white background directly (change alpha channel to 255)? Will this raise problems later?

Many thanks!

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: export png to word then convert to pdf

Postby Polygon » Sat Jul 20, 2019 8:12 am

amyamy wrote:To Polygon,
Can I use a white background directly (change alpha channel to 255)? Will this raise problems later?

Many thanks!

The image above shows no difference when placed in a vector.app. I´m not sure if you need a transparent background or not.
If you need it - place it underneath your design and use Export Selection.
This PNG has a white rectangle under half the 3d-box:
WhiteBG.png
WhiteBG.png (5.69 KiB) Viewed 932 times


Cheers

amyamy
Posts: 4
Joined: Fri Jul 19, 2019 2:26 pm

Re: export png to word then convert to pdf

Postby amyamy » Sat Jul 20, 2019 9:05 am

To Polygon
Thank you for your suggestions and fast respond.
I will use the default transparent background to avoid further confusion and draw a white block as white background in preparation of any word to pdf conversion.

Also learnt a lesson: always covert the files to the final format (in my case) to check for flaws before proceeding to make two dozens of svg with no background.

Many thanks! This forum is amazing!


Return to “Help with using Inkscape”