{"blog_title":"end0tknr's kipple - web\u5199\u7d4c\u958b\u767a","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/end0tknr/","provider_name":"Hatena Blog","url":"https://end0tknr.hateblo.jp/entry/20240522/1716333091","image_url":null,"height":"190","title":"openpyxl + pillow for python \u3067 excel\u306b\u542b\u307e\u308c\u308b\u753b\u50cf\u3092\u62bd\u51fa","categories":[],"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fend0tknr.hateblo.jp%2Fentry%2F20240522%2F1716333091\" title=\"openpyxl + pillow for python \u3067 excel\u306b\u542b\u307e\u308c\u308b\u753b\u50cf\u3092\u62bd\u51fa - end0tknr&#39;s kipple - web\u5199\u7d4c\u958b\u767a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"end0tknr","description":"import openpyxl import PIL def main(): excel_file = './test_includeing_img.xlsx' wb = openpyxl.load_workbook(excel_file) for xlsx_img in wb['Sheet1']._images: #print( xlsx_img.path ) # sheet\u4e2d\u306e\u5ea7\u6a19 print( xlsx_img.anchor._from.col, xlsx_img.anchor._from.row ) pil_img = PIL.Image.open( xlsx_img.ref ) pi\u2026","version":"1.0","published":"2024-05-22 08:11:31","blog_url":"https://end0tknr.hateblo.jp/","width":"100%"}