I'm using python and have the following command.
subprocess.Popen(['convert '+document+' '+outFile+'_page%04d.tif'], stdout=subprocess.PIPE, shell=True).wait()
It works fine, except I end up with my output as XXX_page0000.tif as my first page, then numbering up.
Is it possible to get the %04d in bash to start at 1 instead of 0.
So that my first output file is XXX_page0001.tif ?