Anustup commited on
Commit
3953b0e
·
verified ·
1 Parent(s): 577dce8

Update texture_transfer.py

Browse files
Files changed (1) hide show
  1. texture_transfer.py +1 -1
texture_transfer.py CHANGED
@@ -23,7 +23,7 @@ def create_layover(background_image, layer_image, opacity):
23
 
24
  def create_image_tile(input_patch, x_dim, y_dim):
25
  input_image = Image.open(input_patch)
26
- input_image = input_patch.convert("RGB")
27
  width, height = input_image.size
28
  output_image = Image.new("RGB", (x_dim, y_dim))
29
  for y in range(0, y_dim, height):
 
23
 
24
  def create_image_tile(input_patch, x_dim, y_dim):
25
  input_image = Image.open(input_patch)
26
+ input_image = input_image.convert("RGB")
27
  width, height = input_image.size
28
  output_image = Image.new("RGB", (x_dim, y_dim))
29
  for y in range(0, y_dim, height):