PDA

View Full Version : bug with imagereader and png...


esby
15th October 2004, 03:51
see

http://esby.free.fr/tmpPic/logo.png
http://esby.free.fr/tmpPic/logo.bmp
( and http://esby.free.fr/tmpPic/bug.avs )


#bugs.avs
ImageReader("./logo.bmp",0,5,25,false)
#==> displayed properly

ImageReader("./logo.png",0,5,25,false)
#==> frame 0 is reversed upside down.
#==> frame 1 is correct.
#==> all other frames are reversed upside down.



esby

Another bug report...

not linked with png...
linked with mask()

http://esby.free.fr/tmpPic/logo.bmp
http://esby.free.fr/tmpPic/bug.avi
( and http://esby.free.fr/tmpPic/bug2.avs )

#bugs2.avs
s = avisource(".\test.avi").converttorgb32()
M=ImageReader(".\logo.bmp",0,s.framecount(),s.Framerate(),false).converttorgb32()
mask(S,M)

bug2.avs crashes vdub directly.
it does not crashes vdubmod directly, but when it does when trying to seek from one frames... (using arrow key to move from one frame)

sh0dan
15th October 2004, 10:02
I assume you use 2.56 alpha?

A flipped image issue was fixed in that release. (Or so I think ;) )

esby
15th October 2004, 13:09
I'll verify with the current cvs version.
I checked with 2.55 release.

I could not track down the second bug, division by zero in vdubmod.

esby

esby
16th October 2004, 15:03
Checked the bugs with cvs updated version.

The two bugs are fixed apparently.

esby