0

I've add a Base64 image in every cell in excel (.xlsx) worksheet. I'm take as reference: this stackoverflow post. I can be able to export in html format and dispay in table all images for each rows. But how i can to do this in excel with similar output below?

In this moment my excel file contains: <PIL.PngImagePlugin.PngImageFile image mode=RGB size=100x150 at 0x24C80E54890>

Herojos
  • 61
  • 4
  • You should show us your code. There are a dozen ways to create Excel spreadsheets, and we don't know which one you're using. – Tim Roberts Aug 19 '23 at 18:22

1 Answers1

-1

could you please try this?:

from PIL import Image from IPython.display import display

image_object =<PIL.PngImagePlugin.PngImageFile image mode=RGB size=100x150 at 0x24C80E54890>

display(image_object)

  • You didn't try this, did you? That string is not an image object. It's just the representation of an image object from his other script. This won't work, and you should delete it before you collect downvotes. – Tim Roberts Aug 19 '23 at 18:21