PDA

View Full Version : imagereader


unplug
11th May 2005, 15:49
I have some questions about function imagereader.

-What file format supported by imagereader?
There is no image (blank) when I use bmp & gif.

-When I use jpg as follow.
imagereader("f01.jpg", 0,25,25,true)
It can display the image. But the image displayed upside down.
In frame 0, it displays as normal position. But in frame 1 to 25, the image is upside down. I wonder how can I fix it.

Please help

stickboy
11th May 2005, 19:29
Originally posted by unplug
I have some questions about function imagereader.

-What file format supported by imagereader?
There is no image (blank) when I use bmp & gif.

-When I use jpg as follow.
imagereader("f01.jpg", 0,25,25,true)
It can display the image. But the image displayed upside down.
In frame 0, it displays as normal position. But in frame 1 to 25, the image is upside down. I wonder how can I fix it.Use FlipVertical.

BMP and GIF formats should work. Make sure you pass absolute paths to ImageReader.

Wilbert
11th May 2005, 22:10
GIF is not supported, you should use ImageMagick to load it.

What's the bitdepth of the BMP? I think only 24 bit is supported by ImageSource.