Add custom Images

Skip to first unread message

Nov 2, 2017, 2:02:36 PM11/2/17
to Pencil Code
Hi there, 
I was wondering if it would be possible to upload my own custom images to the website. One possibility is to upload my own images to my website, but this can be time consuming for me. Is there a way to upload my own images to the pencilcode servers, and then how would I reference them to get my turtle to 'wear' them?

-Lindsay Walker

Nov 2, 2017, 2:04:51 PM11/2/17
to Pencil Code
Quick note- I'm teaching a class on animation and having my students create their own images in Adobe Illustrator, but it would be neat to show them how video game designers program these thing in to a game.

Feb 10, 2020, 10:59:28 AM2/10/20
to Pencil Code
Sorry no one answered your question back in 2017!  I'll provide my workaround now in case someone else might find it useful.  Also, I'd welcome other suggestions if there is a better solution.

I don't know of a way to upload them directly to the pencil code server.  I have students upload them to google photos, and then access them via a link to those files (i.e., call wear with a string argument containing the full URL of the file, which you can find by right-clicking (PC) or two-finger clicking (mac) on the google photos image.  Once they do that, they can use the saveimg function to save a local copy, which they can then reference subsequently.  (Type saveimg at the console to see the usage.)  The local copy is useful because the link to the google photos file will only work for that account holder, when he/she is logged in.

(Note that you could also load files to sites such as, which can create a permanent link and make the process easier.  However, my school blocks that site and others like it for kids so it is not an option for me.)

Note that files are limited to 1mb on the Pencil Code server, so you can only save relatively small images.

On Thursday, November 2, 2017 at 1:02:36 PM UTC-5, wrote:
Reply all
Reply to author
0 new messages