Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to Use Vector Graphics

I am a little troubled to say that when I try to import vector graphics into Codea, and then try to rescale them, they come out very blurry and pixelated. I have tried both SVG and PDF files, but they both don't seem to work. I import them through my Dropbox, so there shouldn't be any problems there. Can someone help me who has had this problem or found a fix to it?

Tagged:

Comments

  • edited December 2015 Posts: 18

    :)

  • Sorry kylewood but that doesnt help. I have done exactly what they have done. Also, I dont think it is a code problem, i think it is a upload problem.

  • edited December 2015 Posts: 18

    ok.

  • Posts: 2,020

    You can use the last two parameters of the readImage command to specify what resolution to rasterise a vector asset at, have you tried that? I've never had the problem you've described though. Could you show us some code?

  • I actually just got it to work with some vector art that comes with Codea, but my own images won't work. What file format should I use for vectors, SVG, PDF, etc.?

  • IgnatzIgnatz Mod
    Posts: 5,396

    I would try them all to see what works (and looks) best

  • Posts: 2,020
    I think only PDF is supported for vector art.
  • yeah, yojimbo2000 is right

Sign In or Register to comment.