|
@@ -286,6 +286,7 @@ class DetailPicGet(DetailBase):
|
|
|
fill=(69, 40, 34),
|
|
fill=(69, 40, 34),
|
|
|
return_mode="image",
|
|
return_mode="image",
|
|
|
margins=(0, 0, 0, 0),
|
|
margins=(0, 0, 0, 0),
|
|
|
|
|
+ max_len_one_line=6
|
|
|
)
|
|
)
|
|
|
pp_bg.get_text_image_advanced(
|
|
pp_bg.get_text_image_advanced(
|
|
|
value=(555, 490),
|
|
value=(555, 490),
|
|
@@ -297,6 +298,7 @@ class DetailPicGet(DetailBase):
|
|
|
fill=(69, 40, 34),
|
|
fill=(69, 40, 34),
|
|
|
return_mode="image",
|
|
return_mode="image",
|
|
|
margins=(0, 0, 0, 0),
|
|
margins=(0, 0, 0, 0),
|
|
|
|
|
+ max_len_one_line=6
|
|
|
)
|
|
)
|
|
|
pp_bg.get_text_image_advanced(
|
|
pp_bg.get_text_image_advanced(
|
|
|
value=(246, 600),
|
|
value=(246, 600),
|
|
@@ -308,6 +310,7 @@ class DetailPicGet(DetailBase):
|
|
|
fill=(69, 40, 34),
|
|
fill=(69, 40, 34),
|
|
|
return_mode="image",
|
|
return_mode="image",
|
|
|
margins=(0, 0, 0, 0),
|
|
margins=(0, 0, 0, 0),
|
|
|
|
|
+ max_len_one_line=6
|
|
|
)
|
|
)
|
|
|
pp_bg.get_text_image_advanced(
|
|
pp_bg.get_text_image_advanced(
|
|
|
value=(246, 490),
|
|
value=(246, 490),
|
|
@@ -319,6 +322,7 @@ class DetailPicGet(DetailBase):
|
|
|
fill=(69, 40, 34),
|
|
fill=(69, 40, 34),
|
|
|
return_mode="image",
|
|
return_mode="image",
|
|
|
margins=(0, 0, 0, 0),
|
|
margins=(0, 0, 0, 0),
|
|
|
|
|
+ max_len_one_line=6
|
|
|
)
|
|
)
|
|
|
pp_bg.get_text_image_advanced(
|
|
pp_bg.get_text_image_advanced(
|
|
|
value=(555, 600),
|
|
value=(555, 600),
|
|
@@ -473,9 +477,9 @@ class DetailPicGet(DetailBase):
|
|
|
pp_jpg_1 = pp_jpg_1.resize(value=pp_bg.width*1.5)
|
|
pp_jpg_1 = pp_jpg_1.resize(value=pp_bg.width*1.5)
|
|
|
pp_png_1 = pp_png_1.resize(value=pp_bg.width*1.5)
|
|
pp_png_1 = pp_png_1.resize(value=pp_bg.width*1.5)
|
|
|
# pp_bg = pp_bg.paste_img(top_img=shoe_bg, value=(0, 0), base="nw")
|
|
# pp_bg = pp_bg.paste_img(top_img=shoe_bg, value=(0, 0), base="nw")
|
|
|
- water = PictureProcessing(r"{}\6water2.png".format(self.root))
|
|
|
|
|
-
|
|
|
|
|
- pp_png_1.paste_img(top_img=water, base="cc", value=(0, 0))
|
|
|
|
|
|
|
+ # water = PictureProcessing(r"{}\6water2.png".format(self.root))
|
|
|
|
|
+ #
|
|
|
|
|
+ # pp_png_1.paste_img(top_img=water, base="cc", value=(0, 0))
|
|
|
|
|
|
|
|
pp_bg = pp_bg.to_overlay_pic_advance(
|
|
pp_bg = pp_bg.to_overlay_pic_advance(
|
|
|
mode="pixel",
|
|
mode="pixel",
|
|
@@ -513,13 +517,9 @@ class DetailPicGet(DetailBase):
|
|
|
pp_bg = pp_bg.paste_img(
|
|
pp_bg = pp_bg.paste_img(
|
|
|
top_img=pp_png_1_bg,base="cc", value=(-200, 340)
|
|
top_img=pp_png_1_bg,base="cc", value=(-200, 340)
|
|
|
)
|
|
)
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
pp_bg = pp_bg.paste_img(
|
|
pp_bg = pp_bg.paste_img(
|
|
|
top_img=piao, value=(50, 814)
|
|
top_img=piao, value=(50, 814)
|
|
|
)
|
|
)
|
|
|
-
|
|
|
|
|
return pp_bg
|
|
return pp_bg
|
|
|
|
|
|
|
|
|
|
|