What do you want to save?
Add Code snippet
New code examples
-
Python 2022-01-23 00:25:16
load image metadata with pil
import PIL.Image img = PIL.Image.open('img.jpg') exif_data = img._getexif() # iterating over all EXIF data fields for tag_id in exif_data: # get the tag name, instead of human unreadable tag id tag = TAGS.get(tag_id, tag_id) data = exifdata.g... Add solution -
Python 2021-09-19 00:13:02
draw box with mouse on image in canvas tkinter
import PIL.Image import Image import ImageTk from Tkinter import * class ExampleApp(Frame): def __init__(self,master): Frame.__init__(self,master=None) self.x = self.y = 0 self.canvas = Canvas(self, cursor="cross&qu... Add solution
Best helpers
Ranking is empty