Пример #1
0
						def refZoom():
							needsThumbnail = index + 1 == len(saveGames)
							#print("Crossreferencing %s images" % screenshot)
							ref(outFolder, timestamp, surface, daytime, args.basepath, args)
							#print("downsampling %s images" % screenshot)
							zoom(outFolder, timestamp, surface, daytime, args.basepath, needsThumbnail, args)

							if jindex == len(latest) - 1:
								print("zooming renderboxes", timestamp)
								zoomRenderboxes(daytimeSurfaces, workfolder, timestamp, Path(args.basepath, firstOutFolder, "Images"), args)
Пример #2
0
                def refZoom():
                    needsThumbnail = index + 1 == len(savenames)
                    #print("Crossreferencing %s images" % screenshot)
                    ref(outFolder, otherInputs[0], otherInputs[1],
                        otherInputs[2], basepath, **kwargs)
                    #print("downsampling %s images" % screenshot)
                    zoom(outFolder, otherInputs[0], otherInputs[1],
                         otherInputs[2], basepath, needsThumbnail, **kwargs)

                    if jindex == len(latest) - 1:
                        print("zooming renderboxes", timestamp)
                        zoomRenderboxes(
                            daytimeSurfaces, workfolder, timestamp,
                            os.path.join(basepath, firstOutFolder, "Images"),
                            **kwargs)