Python Forum
image manipulation (cropping and MetaData)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
image manipulation (cropping and MetaData)
#2
Hi,
To get you started on questions one and two, many possibilities, try:
1) You can open the image, check it's size and resize it.
from PIL import Image
2) You can use this to check the exif, I have never used it to modify it.
import exifread
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Messages In This Thread
RE: image manipulation (cropping and MetaData) - by DPaul - May-21-2023, 05:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  AttributeError: 'function' object has no attribute 'metadata 3lnyn0 5 4,859 Mar-28-2022, 04:42 PM
Last Post: Larz60+
  Adding Language metadata to a PDF programmatically bhargavi22 0 1,988 Aug-17-2020, 12:53 PM
Last Post: bhargavi22
  METADATA Errors millpond 0 1,973 Jul-21-2020, 08:22 AM
Last Post: millpond
  How to sort image files according to a metadata file? Brahmslove 1 3,189 Dec-05-2019, 11:25 PM
Last Post: scidam
  Parse the data in XML metadata field klllmmm 2 3,366 Jun-19-2019, 04:24 PM
Last Post: klllmmm
  cropping a picture (always square) Leon 1 2,196 Aug-13-2018, 10:04 AM
Last Post: Leon
  Tiff metadata sudecki 1 23,370 Aug-10-2018, 07:08 AM
Last Post: sudecki
  Video Metadata Question malonn 10 9,656 Jul-23-2018, 04:04 PM
Last Post: malonn
  Help developing img cropping tool in python lerugray 9 6,965 Dec-20-2017, 08:07 AM
Last Post: Mekire
  image processing and manipulation 3015799 1 2,978 Nov-01-2017, 01:57 PM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020