Computer Science Canada Image not working -- Illegal Picture Number ID '0' |
Author: | coderdew [ Wed Apr 30, 2014 4:18 pm ] | ||
Post subject: | Image not working -- Illegal Picture Number ID '0' | ||
What is it you are trying to achieve? To create a ninja running animation. What is the problem you are having? Images are not loading, getting error "Illegal Picture ID Number '0'" Describe what you have tried to solve this problem I tried cropping the images so that I would have less white space. Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Please specify what version of Turing you are using <Version 4.1> |
Author: | Dreadnought [ Wed Apr 30, 2014 5:32 pm ] | ||
Post subject: | Re: Image not working -- Illegal Picture Number ID '0' | ||
Try loading the pictures with this function which should print out an error message if Pic.FileNew fails.
You might also be interested to know that although Turing claims to support JPEG format image files, not all JPEGs are supported (must be something like alpha that Turing doesn't like). You might also want to try opening your files in an image editor and then saving them as bitmap images (*.bmp extension). |
Author: | Insectoid [ Wed Apr 30, 2014 5:40 pm ] |
Post subject: | RE:Image not working -- Illegal Picture Number ID \'0\' |
read through this thread: http://compsci.ca/v3/viewtopic.php?p=282951#282951 |