search for: load_exif_data

Displaying 1 result from an estimated 1 matches for "load_exif_data".

2006 Apr 24
0
ImageMagick and EXIF Data
...the EXIF data though. I know it should probably be done in the image model. In my DB I have columns named "camera_model", "camera_make", "focal_length", etc... Here''s what I ''think'' I need to do to grab the the data from the image file: def load_exif_data(image) self.shutter_speed = image.get_exif_by_entry("ShutterSpeedValue")[0][1] self.aperture = image.get_exif_by_entry("ApertureValue")[0][1] self.iso_speed = image.get_exif_by_entry("ISOSpeedRatings")[0][1] self.camera_model = image.get_exif_by_entry(&...