def simple_patches_synthesizer(args): print "Using Simple Patches Synthesizer" default_texture = Texture() default_texture.load_texture(args.input_file) patches = default_texture.create_patches(args.patch_height, args.patch_width) new_texture = Texture.create_simple_tex_from_patches(patches, args.height, args.width) new_texture.save_texture(args.output_file) return