I've tried your suggestion of
p = picture.open (f.trueitem(i))
and it works. Many thanks
I'm pleased to hear that Dave was able to help, I do have a question though. Why are you loading so many pictures all at once?
If you are going to be using them all, say drawing them all onto a single page, it makes sense. However if you are creating a batch processing system or slideshow app, you may want to consider holding the folderitem and only loading the picture when you actually need it. This will help keep your app memory usage down. Storing many images in memory when you don't need to will help you reach your memory limit very fast!