p=ArgumentParser(description='Script converts 8 images (jpg or png) from a given directory into a single page 4x2 imposition. Example: python imposition.py --dir imgs/ --size a3 --order random ')
p=ArgumentParser(description='Script converts 8 images (jpg or png) from a given directory into a single page 4x2 imposition. Example: python imposition.py --dir imgs/ --size a3 --order random ')
p.add_argument("--dir",metavar='',default='',required=True,help="Image directory, which stores the source images for the imposition")
p.add_argument("--dir",metavar='',default='imgs',required=True,help="Image directory, which stores the source images for the imposition")
p.add_argument("--size",metavar='',default="A4",choices=['A4','a4','A3','a3'],help="Size of the printing sheet: A4 or A3. Default:A4")
p.add_argument("--size",metavar='',default="A4",choices=['A4','a4','A3','a3'],help="Size of the printing sheet: A4 or A3. Default:A4")
p.add_argument("--pages",metavar='',type=int,choices=[1,2],default=1,help="Number of imposition pages. Default:1. Currently only 1 or 2 pages impositions are available.")
p.add_argument("--pages",metavar='',type=int,choices=[1,2],default=1,help="Number of imposition pages. Default:1. Currently only 1 or 2 pages impositions are available.")
p.add_argument("--order",metavar='',default="alphabet",choices=["alphabet","reverse","random"],help="Image distribution Order in the imposition. Possible Values: alphabet (alphabetically) , reverse (reverse alphabetically), random. Default: alphabet")
p.add_argument("--order",metavar='',default="alphabet",choices=["alphabet","reverse","random"],help="Image distribution Order in the imposition. Possible Values: alphabet (alphabetically) , reverse (reverse alphabetically), random. Default: alphabet")
p.add_argument("--path",metavar='',default="/",help="Wiki path. Should end with /")
p.add_argument("--path",metavar='',default="/",help="Wiki path. Should end with /")
p.add_argument("--ask","-a",metavar='',default="",help="Ask query to be sent to the wiki API.")
p.add_argument("--ask","-a",metavar='',default="",help="Ask query to be sent to the wiki API.")
p.add_argument("--download","-d",metavar='',default='',help="Local directory to store files from wiki. If no directory provided files wont be downloaded")
p.add_argument("--download","-d",metavar='',default='imgs',help="Local directory to store files from wiki. If no directory provided files wont be downloaded")
p.add_argument("--verbose","-v",action='store_true',help="Increase verbosity. If not given no files will be downloaded")
p.add_argument("--verbose","-v",action='store_true',help="Increase verbosity. If not given no files will be downloaded")