Drawbot and PIL



  • Hi,

    Is it possible to convert a Drawbot drawing to a PIL format without saving it as an image and then opening/converting it with PIL?

    Currently, I'm trying to process all glyphs from a font file with PIL, and I'm using Drawbot to generate images to process with PIL.


  • admin

    yes you can!

    in the DrawBot code base test we use:

    rect(10, 10, 100, 100)
    pilObject = saveImage("PIL")
    

    you need to have PIL installed yourself

    (the drawBot forum is almost closed, I keep it as read only, to much spam, sorry, move to drawBot channel in the RoboFont discord)


Log in to reply