18 Sep 2024
EXIF (Exchangeable Image File Format) data is information that is embedded within digital images and is automatically generated by digital cameras and smartphones. This data includes information such as the date and time the image was taken, the camera make and model, the shutter speed, ISO settings, and GPS coordinates of where the photo was taken. While this information can be useful for organizing and cataloging personal photo collections, it can also pose a risk to privacy and security when shared online.pip install pillow
, you can remove the EXIF data with 4 simple lines of code. You can do it like this:
from PIL import Image
im = Image.open('image-with-exif.jpg')
im.getexif().clear() # Removes the data
im.save('image-without-exif.jpg')
Quick and easy image recognition with 9 lines of code in Python
Published 2024-05-05 — Updated 2024-07-28
Machine Learning
Python
Need a quick and easy image recognition solution in Python? Learn how to create one in 9 lines of code.
Read the post →How to easily web scrape any website with Python
Published 2024-05-03
Datahoarding
Notes
Python
Web development
Learn how to easily web scrape any website using Python. I go through the various techniques I use.
Read the post →Python notes
Published 2024-05-03 — Updated 2024-05-14
Notes
Python
Different tips, tricks and how-to's while developing various scripts in Python.
Read the post →