Inkscape.org
Beginners' Questions How to export high resolution png?
  1. #1
    RealDaniel RealDaniel @RealDaniel
    *

    Hi,

    I'm trying to export file as a png form.

    But it seems loosing some image quality.

    How can I avoid this?

    I did increase dpi 300 and 600 but there was no difference.

    I also attached the file that I want to export to png with high resolution.

    How can I increase resolution just like svg file?

     

    Thank you in advance.

    * I'm using the newest version of Inkscape and Mac OS Ventura 13.0.1

     

  2. #2
    Polygon Polygon @Polygon🌶

    You´re saying eg 1500px vs 3000px don´t make any difference? I don´t get it

  3. #3
    RealDaniel RealDaniel @RealDaniel

    I mean perhaps there is a difference but for me it looks the same.

    This is what I've got from inkscape with 300 dpi.

    and I doubt that I could use this resolution for publication or official usage.

    If I zoom in pixel then I can see squared pixel in the outline but in Inkscape even I zoom in the outline is very smooth.

  4. #4
    Polygon Polygon @Polygon🌶

    But this is exactly the difference between vector- and raster-graphics. If your target application allows SVG go for it - otherwise: Your stroke width is just 0,189 of a pixel.

  5. #5
    RealDaniel RealDaniel @RealDaniel
    *

    yeah that resolution is what I want.

    I've tried to export PNG with 300 pHYs dpi. but still same poor resolution.

    But if I export to PDF with 300 dpi the resolution is also very good.

    I don't understand why my png export has a low resolution while pdf file has desired resolution.

    How can I get those good resolution of png ? (the left, below one)

    My setting is image size with 274 width px, 129 Height px. and set to 96 dpi but in advance setting I set it into 300 pHYs DPI.

     

    Single Image Dpi 96, Phys Dpi 300
    Single Image Dpi 96, Phys Dpi 300
  6. #6
    inklinea inklinea @inklinea⛰️

    The main dpi setting, for png is really just a helper function - it simply is a convenient way to set the image resolution x and y values.

    Use that dpi setting

    ---------

    pHYs dpi is an advanced option, it should not be confused with simple dpi.

    I would leave it set a default values, unless you can read and understand the link below - or have been told to use it for a specific target display system.

    http://www.libpng.org/pub/png/book/chapter11.html#png.ch11.div.8

  7. #7
    RealDaniel RealDaniel @RealDaniel

    Thank you so much!

    It's solved.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions How to export high resolution png?