All Projects → remvee → Exifr

remvee / Exifr

Licence: mit
EXIF Reader

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Exifr

Selene
A C++17 image representation, processing and I/O library.
Stars: ✭ 266 (-40.89%)
Mutual labels:  tiff, image, jpeg
Sharp
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
Stars: ✭ 21,131 (+4595.78%)
Mutual labels:  tiff, image, jpeg
Pixterm
Draw images in your ANSI terminal with true color
Stars: ✭ 782 (+73.78%)
Mutual labels:  tiff, image, jpeg
Govips
A lightning fast image processing and resizing library for Go
Stars: ✭ 442 (-1.78%)
Mutual labels:  tiff, jpeg
HEIF
Mac OS X: Convert any image to HEIF/HEIC format
Stars: ✭ 58 (-87.11%)
Mutual labels:  jpeg, tiff
tyf
Manipulate EXIF and IFD metadata.
Stars: ✭ 16 (-96.44%)
Mutual labels:  jpeg, tiff
sail
The missing small and fast image decoding library for humans (not for machines) ⛵ https://sail.software
Stars: ✭ 206 (-54.22%)
Mutual labels:  jpeg, tiff
exif-rs
Exif parsing library written in pure Rust
Stars: ✭ 91 (-79.78%)
Mutual labels:  jpeg, tiff
dartexif
Dart package to decode Exif data from tiff, jpeg and heic files
Stars: ✭ 16 (-96.44%)
Mutual labels:  jpeg, tiff
Jpegsnoop
JPEGsnoop: JPEG decoder and detailed analysis
Stars: ✭ 282 (-37.33%)
Mutual labels:  image, jpeg
Djv
Professional media review software for VFX, animation, and film production
Stars: ✭ 282 (-37.33%)
Mutual labels:  tiff, jpeg
Photosauce
MagicScaler high-performance, high-quality image processing pipeline for .NET
Stars: ✭ 291 (-35.33%)
Mutual labels:  tiff, jpeg
Imageprocessor
📷 A fluent wrapper around System.Drawing for the processing of image files.
Stars: ✭ 2,452 (+444.89%)
Mutual labels:  tiff, jpeg
Metadata Extractor
Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
Stars: ✭ 1,972 (+338.22%)
Mutual labels:  tiff, jpeg
imagecodecs
Image transformation, compression, and decompression codecs. Forked from https://pypi.org/project/imagecodecs
Stars: ✭ 56 (-87.56%)
Mutual labels:  jpeg, tiff
Tifffile
Read and write TIFF files. Forked from https://pypi.org/project/tifffile
Stars: ✭ 119 (-73.56%)
Mutual labels:  tiff, image
Twelvemonkeys
TwelveMonkeys ImageIO: Additional plug-ins and extensions for Java's ImageIO
Stars: ✭ 1,221 (+171.33%)
Mutual labels:  tiff, jpeg
Format parser
file metadata parsing, done cheap
Stars: ✭ 46 (-89.78%)
Mutual labels:  tiff, jpeg
Imager
Automated image compression for efficiently distributing images on the web.
Stars: ✭ 266 (-40.89%)
Mutual labels:  image, jpeg
Tifig
A fast HEIF image converter aimed at thumbnailing
Stars: ✭ 345 (-23.33%)
Mutual labels:  image, jpeg

= EXIF Reader {Gem Version}[https://badge.fury.io/rb/exifr]

EXIF Reader is a module to read metadata from JPEG and TIFF images.

== Examples require 'exifr/jpeg' EXIFR::JPEG.new('IMG_6841.JPG').width # => 2272 EXIFR::JPEG.new('IMG_6841.JPG').height # => 1704 EXIFR::JPEG.new('IMG_6841.JPG').exif? # => true EXIFR::JPEG.new('IMG_6841.JPG').model # => "Canon PowerShot G3" EXIFR::JPEG.new('IMG_6841.JPG').date_time # => Fri Feb 09 16:48:54 +0100 2007 EXIFR::JPEG.new('IMG_6841.JPG').exposure_time.to_s # => "1/15" EXIFR::JPEG.new('IMG_6841.JPG').f_number.to_f # => 2.0 EXIFR::JPEG.new('enkhuizen.jpg').gps.latitude # => 52.7197888888889 EXIFR::JPEG.new('enkhuizen.jpg').gps.longitude # => 5.28397777777778

require 'exifr/tiff' EXIFR::TIFF.new('DSC_0218.TIF').width # => 3008 EXIFR::TIFF.new('DSC_0218.TIF')[1].width # => 160 EXIFR::TIFF.new('DSC_0218.TIF').model # => "NIKON D1X" EXIFR::TIFF.new('DSC_0218.TIF').date_time # => Tue May 23 19:15:32 +0200 2006 EXIFR::TIFF.new('DSC_0218.TIF').exposure_time.to_s # => "1/100" EXIFR::TIFF.new('DSC_0218.TIF').f_number.to_f # => 5.0

== Logging warnings When EXIF information is malformed, a warning is logged to STDERR with the standard Ruby logger. Log to some other location by supplying an alternative implementation:

EXIFR.logger = SyslogLogger.new

== Time zone support EXIF does not support time zones so this code does not support time zones. All time stamps are created in the local time zone with:

Time.local(..)

It is possible to change this behavior by supplying an alternative implementation. For those who prefer UTC:

EXIFR::TIFF.mktime_proc = proc{|*args| Time.utc(*args)}

Or when the application depends on ActiveSupport for time zone handling:

EXIFR::TIFF.mktime_proc = proc{|*args| Time.zone.local(*args)}

== XMP data access If you need to access XMP data you can use the xmp gem. More info and examples at https://github.com/amberbit/xmp

== Development and running tests

On a fresh checkout of the repository, run bundle install and then bundle exec rake test

== Author R.W. van 't Veer

== Copyright Copyright (c) 2006-2020 - R.W. van 't Veer

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].