changelog.txt wrote:Version 1.00.0 (former 0.91.0):[fixed]- #576: Array elements could be passed to array parameters in place of the array itself: <myfunction( myarray(index) )>. However, the array index was simply ignored. The array must be passed without index now: <myfunction( myarray() )>

Thanks it works now. I wanted to automatically convert a stack of .jpg images taken from a video to .bmp images.Also am using Joshy's imageScale(image,ratio) function.Now I don't have to do it all manually with PAINT as I had done up to now !!The images were extracted using this software because I suspect there is no FreeBASIC function to do that?https://www.dvdvideosoft.com/guides/fre ... verter.htm

if pImageBuffer then 'screenres w,h,BytesPerPixel*8 dim as ubyte ptr pRGB=pImageBuffer 'screenlock for y as integer=0 to h-1 for x as integer=0 to w-1 pset myImage,(x,y),rgb(pRGB[0],pRGB[1],pRGB[2]) pRGB+=BytesPerPixel next next screenlock put (0,0),ImageScale(myImage,.20),trans 'put (0,0),myImage,trans screenunlock if pImageBuffer then deallocate(pImageBuffer)end if