以下のプログラムを実行すると見た事も無いエラーが出てきます。
出で来るエラーは以下のようなものです。
#include "hspcv.as" #include "kernel32.as" screen 0, 1054, 552 title "試験データ生成中..." buffer 2, 256, 256 repeat 65536 color cnt / 255, cnt \ 255, 128 boxf cnt / 255, cnt \ 255, cnt / 255, cnt \ 255 loop cvbuffer 0, 256, 256 cvputimg startdir = dir_cur mkdir "testdate" chdir "testdate" cvsave "test.bmp" cvsave "test.jpg", , 100 cvsave "test.png" cvsave "test.pbm" cvsave "test.ras" cvsave "test.tif" cvsave "test.exr" font "", 12 gsel 0 title "試験データ集計中..." gsel 2 cvload "test.bmp" cvgetimg gsel 0 pos 0, 0 gcopy 2, 0, 0, 256, 256 exist "test.bmp" pos 0, 256 mes "test.bmp " + strsize + "B" gsel 2 cvload "test.jpg" cvgetimg gsel 0 pos 266, 0 gcopy 2, 0, 0, 256, 256 exist "test.jpg" pos 266, 256 mes "test.jpg " + strsize + "B" gsel 2 cvload "test.png" cvgetimg gsel 0 pos 532, 0 gcopy 2, 0, 0, 256, 256 exist "test.png" pos 532, 256 mes "test.png " + strsize + "B" gsel 2 cvload "test.pbm" cvgetimg gsel 0 pos 798, 0 gcopy 2, 0, 0, 256, 256 exist "test.pbm" pos 798, 256 mes "test.pbm " + strsize + "B" gsel 2 cvload "test.ras" cvgetimg gsel 0 pos 0, 276 gcopy 2, 0, 0, 256, 256 exist "test.ras" pos 0, 532 mes "test.ras " + strsize + "B" gsel 2 cvload "test.tif" cvgetimg gsel 0 pos 266, 276 gcopy 2, 0, 0, 256, 256 exist "test.tif" pos 266, 532 mes "test.tif " + strsize + "B" gsel 2 cvload "test.exr" cvgetimg gsel 0 pos 532, 276 gcopy 2, 0, 0, 256, 256 exist "test.exr" pos 532, 532 mes "test.exr " + strsize + "B" title "試験データ始末中..." delete "test.bmp" delete "test.jpg" delete "test.png" delete "test.pbm" delete "test.ras" delete "test.tif" delete "test.exr" chdir startdir RemoveDirectory "" + dir_cur + "\\testdate" title "試験終了" stop
[OpenCV GUI Error Handler]
Unspecified error (could not find a filter for the specified extension) in function cvSaveImage, .\loadsave.cpp(514)
Press "Abort" to terminate application.
Press "Retry" to debug (if the app is running under debugger).
Press "Ignore" to continue (this is not safe).
見難いプログラムで申し訳ありませんが、原因と解決方法を教えてください。