# Revision history [back]

### save images

Hello,

please i need to save more than image by using cvSaveImage

and i try this code

for(int i=0;i<=4;i++)

        {

sprintf(name,"%.jpg" ,i);

cvSaveImage(name,lastframe);

}


but i gave to me an exception.

Any Help !!

### save images

Hello,

please i need to save more than image by using cvSaveImage

and i try this code

for(int i=0;i<=4;i++)

        {

sprintf(name,"%.jpg" ,i);

cvSaveImage(name,lastframe);

}


but i it gave to me an exception.

Any Help !!