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?

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.?

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

I think only PDF is supported for vector art.

:slight_smile:

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.

ok.

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?

yeah, yojimbo2000 is right