New Udemy Coupon Code

This commit is contained in:
PySimpleGUI 2023-10-27 11:36:53 -04:00
parent fe31a0a7ed
commit f78e4913a2
3 changed files with 8 additions and 8 deletions

View File

@ -25,9 +25,9 @@
<span style="font-weight: normal;">
apply coupon for discount:
</span>
2F6C6BE01B8940D3E457
C967880E71496470E40E
</div>
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=2F6C6BE01B8940D3E457','_blank');">
<button style="margin: 0 auto; display: block; width: 200px; height: 70px; border-radius: 14px; border: none; padding: 10px; font-size: 18px; background-color: #357296; color: white; cursor: pointer;" onclick="window.open('https://www.udemy.com/course/pysimplegui/?couponCode=C967880E71496470E40E','_blank');">
click here to visit course page
</button>
</div>
@ -2664,7 +2664,7 @@ def convert_to_bytes(file_or_bytes, resize=None):
if resize:
new_width, new_height = resize
scale = min(new_height/cur_height, new_width/cur_width)
img = img.resize((int(cur_width*scale), int(cur_height*scale)), PIL.Image.LANCZOS)
img = img.resize((int(cur_width*scale), int(cur_height*scale)), PIL.Image.ANTIALIAS)
bio = io.BytesIO()
img.save(bio, format="PNG")
del img
@ -2747,7 +2747,7 @@ def convert_to_bytes(file_or_bytes, resize=None):
if resize:
new_width, new_height = resize
scale = min(new_height/cur_height, new_width/cur_width)
img = img.resize((int(cur_width*scale), int(cur_height*scale)), PIL.Image.LANCZOS)
img = img.resize((int(cur_width*scale), int(cur_height*scale)), PIL.Image.ANTIALIAS)
bio = io.BytesIO()
img.save(bio, format="PNG")
del img

View File

@ -9,8 +9,8 @@
<img src="https://www.dropbox.com/s/6wzf3ebmj97v4zs/PySimpleGUI-GitHub-Udemy-Course.png?raw=1" width=200 alt="PySimpleGUI Udemy Course">
</td>
<td>
<h5>apply coupon for discount:<br>2F6C6BE01B8940D3E457</h6>
<a href="https://www.udemy.com/course/pysimplegui/?couponCode=2F6C6BE01B8940D3E457">click here to visit course page</a>
<h5>apply coupon for discount:<br>C967880E71496470E40E</h6>
<a href="https://www.udemy.com/course/pysimplegui/?couponCode=C967880E71496470E40E">click here to visit course page</a>
</td>
</tr>
</table>

View File

@ -9,8 +9,8 @@
<img src="https://www.dropbox.com/s/6wzf3ebmj97v4zs/PySimpleGUI-GitHub-Udemy-Course.png?raw=1" width=200 alt="PySimpleGUI Udemy Course">
</td>
<td>
<h5>apply coupon for discount:<br>2F6C6BE01B8940D3E457</h6>
<a href="https://www.udemy.com/course/pysimplegui/?couponCode=2F6C6BE01B8940D3E457">click here to visit course page</a>
<h5>apply coupon for discount:<br>C967880E71496470E40E</h6>
<a href="https://www.udemy.com/course/pysimplegui/?couponCode=C967880E71496470E40E">click here to visit course page</a>
</td>
</tr>
</table>