Placed vector image becomes raster?



  • Hi!

    I have a script that loads a PDF containing some vector graphics. I place it inside my page, but when I save this as a PDF and open it in Illustrator all the once-vector images have now been rasterized.

    Am I doing something wrong?

    My code is basically:

    img = ImageObject()
    with img:
        image('some.pdf', (0,0))
    
    image(img, (x, y))
    

    I'm saving the resulting PDF from Drawbot's menu itself, if that makes a difference.



  • Not wrapping the pdf in an ImageObject() will keep the vectors.

    newPage()
    image('some.pdf', (0,0))
    


  • this worked!! Thank you 🙏


Log in to reply