Saving file as a Cairo PNG changes the image

Post questions on how to use or achieve an effect in Inkscape.
SethBurzynski
Posts: 1
Joined: Tue Dec 20, 2016 10:09 am

Saving file as a Cairo PNG changes the image

Postby SethBurzynski » Sat Jan 14, 2017 10:37 am

I recently saved an image that I created as a Cairo PNG and I noticed that the Cairo PNG image had been alter from the original image and had lost all Opacity. I was wondering if someone could help me fix this. Thanks!

Here is the original .SVG image:
Image

And here is the image saved as a Cairo PNG:
Image

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

Re: Saving file as a Cairo PNG changes the image

Postby Moini » Sat Jan 14, 2017 11:36 am

Use File -> Export to PNG to get a normal png image.

Quoting the Cairo project about their direct PNG export:

The PNG functions allow reading PNG images into image surfaces, and writing any surface to a PNG file.

It is a toy API. It only offers very simple support for reading and writing PNG files, which is sufficient for testing and demonstration purposes. Applications which need more control over the generated PNG file should access the pixel data directly [...]
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)


Return to “Help with using Inkscape”