if(multi_image)
{
String newfilename(filename_sans_extension(filename) +
- etl::strprintf("%04d",imagecount) +
+ etl::strprintf(".%04d",imagecount) +
filename_extension(filename));
file=fopen(newfilename.c_str(),POPEN_BINARY_WRITE_TYPE);
if(callback)callback->task(newfilename+_(" (animated)"));
else if(multi_image)
{
String newfilename(filename_sans_extension(filename) +
- etl::strprintf("%04d",imagecount) +
+ etl::strprintf(".%04d",imagecount) +
filename_extension(filename));
file=fopen(newfilename.c_str(),POPEN_BINARY_WRITE_TYPE);
if(callback)callback->task(newfilename);
if(multi_image)
{
frame_name = (filename_sans_extension(filename) +
- etl::strprintf("%04d",imagecount) +
+ etl::strprintf(".%04d",imagecount) +
filename_extension(filename));
if(cb)cb->task(frame_name);
}
else if(multi_image)
{
String newfilename(filename_sans_extension(filename) +
- etl::strprintf("%04d",imagecount) +
+ etl::strprintf(".%04d",imagecount) +
filename_extension(filename));
file=fopen(newfilename.c_str(),POPEN_BINARY_WRITE_TYPE);
if(callback)callback->task(newfilename);
else if(multi_image)
{
String newfilename(filename_sans_extension(filename) +
- etl::strprintf("%04d",imagecount) +
+ etl::strprintf(".%04d",imagecount) +
filename_extension(filename));
file=SmartFILE(fopen(newfilename.c_str(),POPEN_BINARY_WRITE_TYPE));
if(callback)callback->task(newfilename);