Displaying 1 result from an estimated 1 matches for "camera_makeimg".
2006 May 10
0
Saving extracted data
...e_attribute("file_size", file_data.size)
read_attributes(file_data)
end
I also want to read the attributes of the EXIF data embedded in the picture
doing something like this (this the short form):
def read_attributes(file_data)
img = Magick::Image.from_blob(file_data.read)
camera_makeimg.get_exif_by_entry(''Make'')
write_attribute("camera_make", camera_make)
end
However, when I do this I get an error of:
undefined method `get_exif_by_entry'' for [ JPEG 3504x2336 3504x2336+0+0
DirectClass 8-bit 3544kb]:Array
get_exif_by_entry is a method f...