Log in

View Full Version : Error in ImageReader()


DoW
3rd March 2004, 05:33
Im attempting to convert a string of dumped BMP files from a CS demo to a video file using ImageReader(), but I get an error #1290 in DevIL library. Any suggestions as to why I'm getting this error (PS, I wish that it would take float args to the fps var)? Also, if a filename is blah000001.jpg, will the path arg take "C:\urg\blah" as a valid arg?

WyldeF1r3
3rd March 2004, 05:43
I'm having the same problem. I'm just trying to use avs filters to clean up an image cause I'm too lazy to install photoshop and do it there. What kind of encoder would I be if I succumbed to such low-brow temptations after all.

My avs line is pretty basic

ImageReader("Untitled - 2.bmp",0, 1000, 24, true)

and I get the error #1290

when I use "false" instead of "true" I get the error "invalid (e)BMP format. As far as I know I'm not saving my bitmaps in any special way

Using Avisynth 2.5.3, and VdubMod 1.5.4.1

stickboy
3rd March 2004, 06:37
See this thread: ImageReader question (http://forum.doom9.org/showthread.php?s=&threadid=69420)

Regarding the fps: Just set it to 1 and call AssumeFPS afterward. That's what I do in my JDL_ImageSource (http://www.avisynth.org/stickboy/) function.

Richard Berg
3rd March 2004, 10:02
If you're having trouble with #1290's, download the 3/3 CVS binary. It'll tell you what file is being attempted now.

DoW
3rd March 2004, 10:12
w00t! Thanks for helping to sort out the mysterious #1290 error guys.

toysoldier
5th March 2004, 12:33
I suggest use ACDSEE convert this bmp picture into *.png ,
maybe compatible well for imagereader()
and use BicubicResize() or BilinearResize()
for example:

ImageReader("Untitled - 2.png",0, 1000, 24, true).BicubicResize(352,288)