from PIL import Image
image = Image.open('image_file.jpeg')
# next 3 lines strip exif
data = list(image.getdata())
image_without_exif = Image.new(image.mode, image.size)
image_without_exif.putdata(data)
image_without_exif.save('image_file_without_exif.jpeg')
More Related Contents:
- Resize image in Python without losing EXIF data
- In Python, how do I read the exif data for an image?
- How to merge a transparent png image with another image using PIL
- Change the colors within certain range to another color using OpenCV
- Convert image from PIL to openCV format
- Resampling a numpy array representing an image
- With the Python Imaging Library (PIL), how does one compose an image with an alpha channel over another image?
- PIL Convert PNG or GIF with Transparency to JPG without
- How to read a raw image using PIL?
- Preserve exif data of image with PIL when resize(create thumbnail)
- How do you composite an image onto another image with PIL in Python?
- create an image with border of certain width in python
- Detecting thresholds in HSV color space (from RGB) using Python / PIL
- Automatically cropping an image with python/PIL
- Change specific RGB color pixels to another color, in image file
- Image Cropping using Python
- Convert opencv image format to PIL image format?
- Pillow installed, but getting “no module named pillow”
- How to get the location of all text present in an image using OpenCV?
- How to detect lines in OpenCV?
- How to de-skew a text image and retrieve the new bounding box of that image Python OpenCV?
- How to find the average colour of an image in Python with OpenCV?
- How do I convert a PIL Image into a NumPy array?
- Finding red color in image using Python & OpenCV
- Automatic contrast and brightness adjustment of a color photo of a sheet of paper with OpenCV
- Combining Two Images with OpenCV
- How can I efficiently process a numpy array in blocks similar to Matlab’s blkproc (blockproc) function
- Getting PIL/Pillow 4.2.1 to upload properly to AWS Lambda Py3.6
- How to connect broken lines in a binary image using Python/Opencv
- How to use `cv2.imshow` correctly for the float image returned by `cv2.distanceTransform`?