Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski authored Nov 15, 2024
1 parent 74a61e0 commit 8d7f8fc
Show file tree
Hide file tree
Showing 19 changed files with 96 additions and 24 deletions.
5 changes: 4 additions & 1 deletion upcean/encode/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,12 @@ def encode_binary_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48,
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
5 changes: 4 additions & 1 deletion upcean/encode/codabar.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,12 @@ def encode_codabar_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
5 changes: 4 additions & 1 deletion upcean/encode/code11.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,12 @@ def encode_code11_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48,
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
10 changes: 8 additions & 2 deletions upcean/encode/code128.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,12 @@ def encode_code128_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down Expand Up @@ -756,9 +759,12 @@ def encode_code128old_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
5 changes: 4 additions & 1 deletion upcean/encode/code32.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,12 @@ def encode_code32_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48,
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
10 changes: 8 additions & 2 deletions upcean/encode/code39.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,12 @@ def encode_code39_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48,
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down Expand Up @@ -477,9 +480,12 @@ def encode_code39extended_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barhei
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
10 changes: 8 additions & 2 deletions upcean/encode/code93.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,12 @@ def encode_code93_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48,
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down Expand Up @@ -475,9 +478,12 @@ def encode_code93extended_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barhei
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
5 changes: 4 additions & 1 deletion upcean/encode/ean13.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,12 @@ def encode_ean13_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48,
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
5 changes: 4 additions & 1 deletion upcean/encode/ean2.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,12 @@ def encode_ean2_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48, 5
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
5 changes: 4 additions & 1 deletion upcean/encode/ean5.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,12 @@ def encode_ean5_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48, 5
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
5 changes: 4 additions & 1 deletion upcean/encode/ean8.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,12 @@ def encode_ean8_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48, 5
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
5 changes: 4 additions & 1 deletion upcean/encode/itf.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,12 @@ def encode_itf_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48, 54
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
5 changes: 4 additions & 1 deletion upcean/encode/itf14.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,12 @@ def encode_itf14_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48,
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
5 changes: 4 additions & 1 deletion upcean/encode/msi.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,12 @@ def encode_msi_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48, 54
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
5 changes: 4 additions & 1 deletion upcean/encode/plessey.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,12 @@ def encode_plessey_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
5 changes: 4 additions & 1 deletion upcean/encode/stf.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,12 @@ def encode_stf_barcode(inimage, upc, resize=1, shiftxy=(0, 0), barheight=(48, 54
if(pilsupport and imageoutlib == "pillow"):
pil_addon_fix = 0
cairo_addon_fix = 0
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah") or (wandsupport and imageoutlib == "wand")):
elif((cairosupport and (imageoutlib == "cairo" or imageoutlib == "cairosvg")) or (svgwritesupport and cairosvgsupport and imageoutlib == "svgwrite") or (qahirahsupport and imageoutlib == "qahirah")):
pil_addon_fix = 0
cairo_addon_fix = (9 * (int(resize) * barwidth[1]))
elif(wandsupport and imageoutlib == "wand"):
pil_addon_fix = 0
cairo_addon_fix = (10 * (int(resize) * barwidth[1]))
elif(svgwritesupport and imageoutlib == "svgwrite"):
pil_addon_fix = 0
cairo_addon_fix = (8 * (int(resize) * barwidth[1]))
Expand Down
Loading

0 comments on commit 8d7f8fc

Please sign in to comment.