Recommendations for a simple 2D graphics python library that can output to screen and pdf? -
i'm looking easy-to-use graphics lib python can output screen pdf. so, use code draw stuff (simple prims ovals, rectangles, lines , points) screen , when things good, have output pdf.
you can use python imaging library drawing images can displayed in various uis, e.g. displaying jpg. then, use reportlab. here's example shows how use reportlab image.
i'm not sure mean drawing "screen", i.e. if you're working specific ui toolkit. if it's acceptable draw , display pdfs without using intermediate image (jpg, etc), might consider pyx library, makes quite simple graphics pdfs.
Comments
Post a Comment