Does Inkscape export PNG as non-interlaced or interlaced?

Asked by Jon Grossart

Summary has the question.

I'm using this for Android boot animation, which requires non-interlaced PNG.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Jon Grossart
Solved:
Last query:
Last reply:
Revision history for this message
Mc (mc...) said :
#1

non-interlaced afaik.

Revision history for this message
jazzynico (jazzynico) said :
#2

There's an old request for additional PNG options, but no development planned for now.
See https://bugs.launchpad.net/inkscape/+bug/170650 (Granular PNG Export Options)

Revision history for this message
Jon Grossart (jon-grossart) said :
#3

I noticed that feature request, and had added my name to it.

But, I don't necessarily care about the options (although they'd be helpful), I just wanted to know what settings Inkscape actually used.

Revision history for this message
su_v (suv-lp) said :
#4
Revision history for this message
Jon Grossart (jon-grossart) said :
#5

Nevermind, I dug into the code and found it myself:

 png_set_IHDR(png_ptr, info_ptr,
width,
height,
8, /* bit_depth */
PNG_COLOR_TYPE_RGB_ALPHA,
PNG_INTERLACE_NONE,
PNG_COMPRESSION_TYPE_BASE,
PNG_FILTER_TYPE_BASE);

Revision history for this message
Mc (mc...) said :
#6

My method was faster than digging in the code :P
-> launch inkscape
-> draw anything (or not)
-> export as png
-> launch terminal

$ file test.png
test.png: PNG image data, 1488 x 2105, 8-bit/color RGBA, non-interlaced