[visionegg] Paletted BMP files of different sizes

Hello,

I need to present a series of 100 or so images, not a movie, but briefly
flashed images separated by 1~3 seconds.

The "image_sequence_fast.py" demo almost does the job, with the
following two issues:

i) The BMP images I have are paletted, but Textures.py raises a error
"Paletted images are not supported". Quick work-around was to convert
the image into 24 bit RGB colour, but I was wondering if there's a
better way?
ii) the images do not have all the same pixel dimensions, so the
single-texture-with-a-fixed-size approach used by the demo code isn't
suitable.  A not-so-quick work around would be to re-size all the images
to have the same dimensions as the largest image in the set, with border
padding the same as the background colour, but again, there must be a
better way.

Any thoughts?

Thanks,

Tim Blanche.
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: