Skip to content

Instantly share code, notes, and snippets.

@jcoyne
Created October 13, 2015 21:58
Show Gist options
  • Save jcoyne/765d66a912916d55bf8a to your computer and use it in GitHub Desktop.
Save jcoyne/765d66a912916d55bf8a to your computer and use it in GitHub Desktop.
fs.height
=> ["381"]
irb(main):033:0> fs.save
=> true
irb(main):034:0> fs.reload
=> #<FileSet id: "jh343s34j", filename: "tmp/uploads/6d/56/zw/65/MS002.002.DO.04436.basic.jpg", format_label: [], file_size: [], well_formed: [], valid: [], date_created: [], last_modified: [], fits_version: [], exif_version: [], original_checksum: [], mime_type: "image/jpeg", byte_order: "big endian", compression: "JPEG (old-style)", height: [], width: [], color_space: "YCbCr", profile_name: [], profile_version: [], orientation: nil, color_map: [], image_producer: [], capture_device: [], scanning_software: [], gps_timestamp: [], latitude: [], longitude: [], bit_depth: [], channels: [], data_format: [], frame_rate: [], duration: [], sample_rate: [], file_title: [], file_author: [], page_count: [], file_language: [], word_count: [], character_count: [], line_count: [], character_set: [], markup_basis: [], markup_language: [], paragraph_count: [], table_count: [], graphics_count: [], label: "MS002.002.DO.04436.basic.jpg", depositor: "justin", relative_path: nil, import_url: nil, part_of: [], resource_type: [], title: ["MS002.002.DO.04436.basic.jpg"], creator: ["justin"], contributor: [], description: [], tag: [], rights: [], publisher: [], date_uploaded: Tue, 13 Oct 2015 21:08:34 +0000, date_modified: Tue, 13 Oct 2015 21:08:34 +0000, subject: [], language: [], identifier: [], based_near: [], related_url: [], bibliographic_citation: [], source: [], head_id: nil, tail_id: nil, upload_set_id: nil, embargo_id: nil, lease_id: nil>
irb(main):035:0> fs.height
=> []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment