I'm creating a small image sequence program. I have a library of image sequences, each image is about 8-20 kilobytes. I'm using an array to store the image sequence, then using Qtimeline to iterate through the index and displaying the image using a Pixmap by Qlable at playback at 24 frames a second.

The issue I'm having is that the playback stutters for the first few loops, then plays fine. How would I go about loading/caching each image in the sequence into memory then having the Qtimeline play, and when I load another set of image sequence, I unload the first set, and cache the second, and so on...

Thanks!

Nik