Drawbot saveImage as gif

RoboFont Forums Help / General Drawbot saveImage as gif

This topic contains 2 replies, has 2 voices, and was last updated by  jo 5 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6121

    jo
    Participant

    hello,
    should the drawbot extension also be able to save a gif with saveImage() ?
    png and mov work but gif never shows up.

    thanks, jo

    #6122

    frederik
    Keymaster

    it should, just change the ext of the save image path to .gif or .mov

    if it not get generated: is there a traceback, does it export as pdf? with multiple pages?

    can you make an example?

    thanks

    #6123

    jo
    Participant

    pdf works with the example below.
    in drawbot directly it saves as .gif.

    for i in range(10):
    newPage(300, 200)
    fill(random(), random(), random())
    rect(0, 0, width(), height())

    saveImage([“~/Desktop/test_gif.gif”])

    no traceback. it just never shows up on the desktop.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.