def main(): png_filename = os.path.splitext(os.path.basename(__file__))[0] + '.png' #print(png_filename) png_filepath = os.path.join(root, 'images', png_filename) #print(png_filepath) img = Image.new('RGB', (width, height), color=background_color) # Code-Maven Workshop font_text = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_gabor = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_title = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 60) font_title2 = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 55) font_subtitle = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) font = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) draw = ImageDraw.Draw(img) draw.text( text="Code-Maven - LinkedIn", xy=(250, 30), fill=(0, 0, 0), font=font_title, ) add_text( draw = draw, text = "איך להשתמש בלינקדין", rtl = True, xy = (1100, 130), size = 60, ) add_text( draw = draw, text = "כדי למצוא עבודה בהי-טק", rtl = True, xy = (1100, 230), size = 60, ) add_text( draw = draw, text = "סדנת און-ליין חינם", rtl = True, xy = (1100, 330), size = 60, ) add_date( date_right = 250, date_top = 460, font = font, draw = draw, date = "24.05.2020", day = heb("יום א"), hours = "17:30-18:30", ) hebrew = "מרצה:" draw.text( text=hebrew[::-1], xy=(790, 500), fill=(0, 0, 0), font=font_gabor, ) hebrew = "גאבור סבו" draw.text( text=hebrew[::-1], xy=(700, 550), fill=(0, 0, 0), font=font_gabor, ) isize = 250 embed_image(img=img, filename='gabor2_612x612.jpg', size=(isize, isize), box=(width-isize-10, height-isize-10)) embed_image(img=img, filename='LinkedIn-In.png', size=(isize, isize), box=(10, 20), mask=True) img.save(png_filepath) img.show()
def main(): png_filename = os.path.splitext(os.path.basename(__file__))[0] + '.png' #print(png_filename) png_filepath = os.path.join(root, 'images', png_filename) #print(png_filepath) img = Image.new('RGB', (width, height), color=background_color) # Code-Maven Workshop font_text = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_gabor = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_title = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 60) font_title2 = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 55) font_subtitle = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) font = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) draw = ImageDraw.Draw(img) #draw.text( # text="Storemaven - Code-Maven", # xy=(230, 30), # fill=(0, 0, 0), # font=font_title, #) add_text( draw=draw, text="תכנות פייתון ביופיטר נוטבוק", rtl=True, xy=(820, 30), size=60, ) add_text( draw=draw, text="Python with Jupyter Notebook", rtl=False, xy=(40, 160), size=60, ) #add_text( # draw = draw, # text = "in Docker", # rtl = False, # xy = (270, 290), # size = 60, #) add_text( draw=draw, text="(in Hebrew)", rtl=False, xy=(220, 290), size=40, ) add_date( date_right=630, date_top=images_top, font=font, draw=draw, date="28.04.2021", day=heb("יום ד"), hours="09:00-11:00", ) add_text( draw=draw, text="מרצה", rtl=True, xy=(width - isize - 20, images_top), size=30, ) add_text( draw=draw, text="גאבור סבו", rtl=True, xy=(width - isize - 20, images_top + 50), size=30, ) embed_image(img=img, filename='gabor2_612x612.jpg', size=(isize, isize), box=(width - isize - 10, height - isize - 10)) embed_image(img=img, filename='code_maven_440x440.png', size=(isize, isize), box=(width - isize - 10, 20), mask=True) embed_image(img=img, filename='python.png', size=(isize, isize), box=(10, height - isize - 10), mask=True) #embed_image(img=img, filename='gitlab.jpg', size=(isize, isize), box=(10, 20), mask=False) #embed_image(img=img, filename='docker.png', size=(isize, isize), box=(10, height-isize-10), mask=True) img.save(png_filepath) img.show()
def main(): png_filename = os.path.splitext(os.path.basename(__file__))[0] + '.png' #print(png_filename) png_filepath = os.path.join(root, 'images', png_filename) #print(png_filepath) img = Image.new('RGB', (width, height), color=background_color) # Code-Maven Workshop font_text = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_gabor = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_title = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 60) font_title2 = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 55) font_subtitle = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) font = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) draw = ImageDraw.Draw(img) add_text( draw=draw, text="עבודה בקוואלקום, ישראל?", rtl=True, xy=(990, 30), size=60, ) add_text( draw=draw, text="שיחה עם עומר מרגלית", rtl=True, xy=(990, 160), size=60, ) add_text( draw=draw, text="מגייסת בכירה ומרכזת תחום הגיוס", rtl=True, xy=(990, 290), size=60, ) add_date( date_right=730, date_top=images_top, font=font, draw=draw, date="03.09.2020", day=heb("יום ה"), hours="09:00-10:00", ) add_text( draw=draw, text="מארח", rtl=True, xy=(width - isize - 20, images_top), size=30, ) add_text( draw=draw, text="גאבור סבו", rtl=True, xy=(width - isize - 20, images_top + 50), size=30, ) add_text( draw=draw, text="אורחת", rtl=True, xy=(395, images_top), size=30, ) add_text( draw=draw, text="עומר מרגלית", rtl=True, xy=(395, images_top + 50), size=30, ) embed_image(img=img, filename='gabor2_612x612.jpg', size=(isize, isize), box=(width - isize - 10, height - isize - 10)) embed_image(img=img, filename='code_maven_440x440.png', size=(isize, isize), box=(width - isize - 10, 20), mask=True) embed_image(img=img, filename='qualcomm_q.png', size=(isize, isize), box=(10, 20), mask=False) embed_image(img=img, filename='omer-margalit.jpeg', size=(isize, isize), box=(10, height - isize - 10)) img.save(png_filepath) img.show()
def main(): png_filename = os.path.splitext(os.path.basename(__file__))[0] + '.png' #print(png_filename) png_filepath = os.path.join(root, 'images', png_filename) #print(png_filepath) img = Image.new('RGB', (width, height), color=background_color) # Code-Maven Workshop font_text = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_gabor = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_title = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 60) font_title2 = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 55) font_subtitle = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) font = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) draw = ImageDraw.Draw(img) draw.text( text="Code-Maven - LinkedIn", xy=(250, 30), fill=(0, 0, 0), font=font_title, ) add_text( draw = draw, text = "מציאת עבודה )חדשה( בהיי-טק", rtl = True, xy = (1100, 130), size = 60, ) add_text( draw = draw, text = "שיחה עם דנית רענן אידסס", rtl = True, xy = (1100, 230), size = 60, ) add_text( draw = draw, text = "מגייסת ואשת כח אדם", rtl = True, xy = (1100, 330), size = 60, ) add_date( date_right = 730, date_top = images_top, font = font, draw = draw, date = "03.06.2020", day = heb("יום ד"), hours = "09:00-10:00", ) add_text( draw = draw, text = "מארח", rtl = True, xy = (width - isize - 20, images_top), size = 30, ) add_text( draw = draw, text = "גאבור סבו", rtl = True, xy = (width - isize - 20, images_top + 50), size = 30, ) add_text( draw = draw, text = "אורחת", rtl = True, xy = (445, images_top), size = 30, ) add_text( draw = draw, text = "דנית רענן אידסס", rtl = True, xy = (445, images_top + 50), size = 30, ) embed_image(img=img, filename='gabor2_612x612.jpg', size=(isize, isize), box=(width-isize-10, height-isize-10)) embed_image(img=img, filename='LinkedIn-In.png', size=(isize, isize), box=(10, 20), mask=True) embed_image(img=img, filename='danit-raanan.jpeg', size=(isize, isize), box=(10, height-isize-10)) img.save(png_filepath) img.show()
def main(): png_filename = os.path.splitext(os.path.basename(__file__))[0] + '.png' #print(png_filename) png_filepath = os.path.join(root, 'images', png_filename) #print(png_filepath) img = Image.new('RGB', (width, height), color=background_color) # Code-Maven Workshop font_text = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_gabor = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_title = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 60) font_title2 = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 55) font_subtitle = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) font = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) draw = ImageDraw.Draw(img) #draw.text( # text="Storemaven - Code-Maven", # xy=(230, 30), # fill=(0, 0, 0), # font=font_title, #) add_text( draw=draw, text="היי-טק בלי משרדים", rtl=True, xy=(950, 30), size=60, ) add_text( draw=draw, text="שיחה עם אורית גולובינסקי", rtl=True, xy=(950, 160), size=60, ) add_text( draw=draw, text="מנהלת מוצר בכירה בגיטלאב", rtl=True, xy=(950, 290), size=60, ) #add_text( # draw = draw, # text = "C-Level", # rtl = False, # xy = (110, 290), # size = 60, #) add_date( date_right=730, date_top=images_top, font=font, draw=draw, date="08.07.2020", day=heb("יום ד"), hours="09:00-10:00", ) add_text( draw=draw, text="מארח", rtl=True, xy=(width - isize - 20, images_top), size=30, ) add_text( draw=draw, text="גאבור סבו", rtl=True, xy=(width - isize - 20, images_top + 50), size=30, ) add_text( draw=draw, text="אורחת", rtl=True, xy=(450, images_top), size=30, ) add_text( draw=draw, text="אורית גולובינסקי", rtl=True, xy=(450, images_top + 50), size=30, ) embed_image(img=img, filename='gabor2_612x612.jpg', size=(isize, isize), box=(width - isize - 10, height - isize - 10)) embed_image(img=img, filename='code_maven_440x440.png', size=(isize, isize), box=(width - isize - 10, 20), mask=True) embed_image(img=img, filename='gitlab.jpg', size=(isize, isize), box=(10, 20), mask=False) embed_image(img=img, filename='orit-golowinski.jpeg', size=(isize, isize), box=(10, height - isize - 10)) img.save(png_filepath) img.show()
def main(): png_filename = os.path.splitext(os.path.basename(__file__))[0] + '.png' #print(png_filename) png_filepath = os.path.join(root, 'images', png_filename) #print(png_filepath) img = Image.new('RGB', (width, height), color=background_color) # Code-Maven Workshop font_text = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_gabor = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_title = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 60) font_title2 = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 55) font_subtitle = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) font = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) draw = ImageDraw.Draw(img) #draw.text( # text="Storemaven - Code-Maven", # xy=(230, 30), # fill=(0, 0, 0), # font=font_title, #) add_text( draw=draw, text="מציאת עבודה בהיי-טק", rtl=True, xy=(900, 30), size=60, ) add_text( draw=draw, text="שיחה עם קרן ארזי", rtl=True, xy=(900, 160), size=60, ) add_text( draw=draw, text="מנהלת משאבי אנוש ב-", rtl=True, xy=(1100, 290), size=60, ) add_text( draw=draw, text="StoreMaven", rtl=False, xy=(110, 290), size=60, ) add_date( date_right=730, date_top=images_top, font=font, draw=draw, date="09.06.2020", day=heb("יום ג"), hours="11:00-12:00", ) add_text( draw=draw, text="מארח", rtl=True, xy=(width - isize - 20, images_top), size=30, ) add_text( draw=draw, text="גאבור סבו", rtl=True, xy=(width - isize - 20, images_top + 50), size=30, ) add_text( draw=draw, text="אורחת", rtl=True, xy=(345, images_top), size=30, ) add_text( draw=draw, text="קרן ארזי", rtl=True, xy=(345, images_top + 50), size=30, ) embed_image(img=img, filename='gabor2_612x612.jpg', size=(isize, isize), box=(width - isize - 10, height - isize - 10)) embed_image(img=img, filename='code_maven_440x440.png', size=(isize, isize), box=(width - isize - 10, 20), mask=True) embed_image(img=img, filename='Storemaven.png', size=(isize, isize), box=(10, 20), mask=False) embed_image(img=img, filename='keren-arazi.jpeg', size=(isize, isize), box=(10, height - isize - 10)) img.save(png_filepath) img.show()
def main(): png_filename = os.path.splitext(os.path.basename(__file__))[0] + '.png' #print(png_filename) png_filepath = os.path.join(root, 'images', png_filename) #print(png_filepath) img = Image.new('RGB', (width, height), color=background_color) # Code-Maven Workshop font_text = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_gabor = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_title = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 60) font_title2 = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 55) font_subtitle = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) font = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) draw = ImageDraw.Draw(img) #draw.text( # text="Storemaven - Code-Maven", # xy=(230, 30), # fill=(0, 0, 0), # font=font_title, #) add_text( draw=draw, text="שני הצדדים של המטבע", rtl=True, xy=(950, 30), size=60, ) add_text( draw=draw, text="שיחה עם דנה פורה", rtl=True, xy=(950, 130), size=60, ) add_text( draw=draw, text="מנהלת משאבי אנוש", rtl=True, xy=(950, 230), size=60, ) add_text( draw=draw, text="שכרגע גם בעצמה מחפשת עבודה", rtl=True, xy=(950, 330), size=60, ) #add_text( # draw = draw, # text = "C-Level", # rtl = False, # xy = (110, 290), # size = 60, #) add_date( date_right=730, date_top=images_top, font=font, draw=draw, date="27.07.2020", day=heb("יום ב"), hours="09:00-10:00", ) add_text( draw=draw, text="מארח", rtl=True, xy=(width - isize - 20, images_top), size=30, ) add_text( draw=draw, text="גאבור סבו", rtl=True, xy=(width - isize - 20, images_top + 50), size=30, ) add_text( draw=draw, text="אורחת", rtl=True, xy=(350, images_top), size=30, ) add_text( draw=draw, text='דנה פורה', rtl=True, xy=(350, images_top + 50), size=30, ) embed_image(img=img, filename='gabor2_612x612.jpg', size=(isize, isize), box=(width - isize - 10, height - isize - 10)) embed_image(img=img, filename='code_maven_440x440.png', size=(isize, isize), box=(width - isize - 10, 20), mask=True) embed_image(img=img, filename='dana-poreh.jpeg', size=(isize, isize), box=(10, height - isize - 10)) img.save(png_filepath) img.show()
def main(): png_filename = os.path.splitext(os.path.basename(__file__))[0] + '.png' #print(png_filename) png_filepath = os.path.join(root, 'images', png_filename) #print(png_filepath) img = Image.new('RGB', (width, height), color=background_color) # Code-Maven Workshop font_text = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_gabor = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_title = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 60) font_title2 = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 55) font_subtitle = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) font = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) draw = ImageDraw.Draw(img) #draw.text( # text="Storemaven - Code-Maven", # xy=(230, 30), # fill=(0, 0, 0), # font=font_title, #) add_text( draw=draw, text="הפעם תחשבו בתוך הקופסה", rtl=True, xy=(970, 30), size=60, ) add_text( draw=draw, text="שיחה עם עמרי גרינפלד", rtl=True, xy=(970, 160), size=60, ) add_text( draw=draw, text="מנהל גיוס בדרופבוקס, תל אביב", rtl=True, xy=(1100, 290), size=60, ) # add_text( # draw = draw, # text = "Localize.city", # rtl = False, # xy = (110, 290), # size = 60, # ) add_date( date_right=730, date_top=images_top, font=font, draw=draw, date="16.09.2020", day=heb("יום ד"), hours="09:00-10:00", ) add_text( draw=draw, text="מארח", rtl=True, xy=(width - isize - 20, images_top), size=30, ) add_text( draw=draw, text="גאבור סבו", rtl=True, xy=(width - isize - 20, images_top + 50), size=30, ) add_text( draw=draw, text="אורח", rtl=True, xy=(395, images_top), size=30, ) add_text( draw=draw, text="עמרי גרינפלד", rtl=True, xy=(395, images_top + 50), size=30, ) embed_image(img=img, filename='gabor2_612x612.jpg', size=(isize, isize), box=(width - isize - 10, height - isize - 10)) embed_image(img=img, filename='code_maven_440x440.png', size=(isize, isize), box=(width - isize - 10, 20), mask=True) embed_image(img=img, filename='dropbox.png', size=(isize, isize), box=(10, 20), mask=True) embed_image(img=img, filename='omri-grinfeld.jpeg', size=(isize, isize), box=(10, height - isize - 10)) img.save(png_filepath) img.show()
def main(): png_filename = os.path.splitext(os.path.basename(__file__))[0] + '.png' #print(png_filename) png_filepath = os.path.join(root, 'images', png_filename) #print(png_filepath) img = Image.new('RGB', (width, height), color=background_color) # Code-Maven Workshop font_text = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_gabor = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) font_title = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 60) font_title2 = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 55) font_subtitle = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) font = ImageFont.truetype('Pillow/Tests/fonts/FreeSansBold.ttf', 40) draw = ImageDraw.Draw(img) #draw.text( # text="Storemaven - Code-Maven", # xy=(230, 30), # fill=(0, 0, 0), # font=font_title, #) add_text( draw=draw, text="חיפושי עבודה לאנשי", rtl=True, xy=(950, 30), size=60, ) add_text( draw=draw, text="ביואינפורמטיקה", rtl=True, xy=(950, 160), size=60, ) add_text( draw=draw, text="קישורים וכישורים - יעוץ קריירה", rtl=True, xy=(950, 290), size=60, ) #add_text( # draw = draw, # text = "C-Level", # rtl = False, # xy = (110, 290), # size = 60, #) add_date( date_right=730, date_top=images_top, font=font, draw=draw, date="15.07.2020", day=heb("יום ד"), hours="11:00-12:00", ) add_text( draw=draw, text="מארח", rtl=True, xy=(width - isize - 20, images_top), size=30, ) add_text( draw=draw, text="גאבור סבו", rtl=True, xy=(width - isize - 20, images_top + 50), size=30, ) add_text( draw=draw, text="אורחת", rtl=True, xy=(450, images_top), size=30, ) add_text( draw=draw, text='ד"ר אתי לייבזון', rtl=True, xy=(450, images_top + 50), size=30, ) embed_image(img=img, filename='gabor2_612x612.jpg', size=(isize, isize), box=(width - isize - 10, height - isize - 10)) embed_image(img=img, filename='code_maven_440x440.png', size=(isize, isize), box=(width - isize - 10, 20), mask=True) embed_image(img=img, filename='ety-leibson-logo.jpeg', box=(10, 20), mask=False) embed_image(img=img, filename='ety-leibson.jpeg', size=(isize, isize), box=(10, height - isize - 10)) img.save(png_filepath) img.show()