Displaying 1 result from an estimated 1 matches for "camera_model".
2006 Apr 24
0
ImageMagick and EXIF Data
...ctures that
meet those requirements will be displayed. The picture is stored on the file
system, and not in the DB. I''m a little lost as to where to actually perform
the parse on 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...