extexif 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +2 -0
- data/Manifest.txt +15 -0
- data/README.txt +52 -0
- data/Rakefile +21 -0
- data/ext/COPYING +504 -0
- data/ext/ChangeLog +18 -0
- data/ext/Makefile +149 -0
- data/ext/README +30 -0
- data/ext/exif.c +653 -0
- data/ext/exif.rd.en +146 -0
- data/ext/exif.rd.ja +154 -0
- data/ext/extconf.rb +15 -0
- data/lib/extexif.rb +135 -0
- data/test/test_extexif.rb +10 -0
- metadata +71 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'extexif'
|
3
|
+
|
4
|
+
# print EXIF data
|
5
|
+
IMG_FILE = 'image_with_exif.jpg'
|
6
|
+
image = ExtExif.new(IMG_FILE)
|
7
|
+
puts IMG_FILE
|
8
|
+
print "%-15s: %s\n" % ["Make", image["Make"]]
|
9
|
+
print "%-15s: %s\n" % ["GPSLatitude", image["GPSLatitude"]]
|
10
|
+
print "%-15s: %s\n" % ["GPSLongitude", image["GPSLongitude"]]
|
metadata
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.9.0
|
3
|
+
specification_version: 1
|
4
|
+
name: extexif
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 1.0.0
|
7
|
+
date: 2007-05-24 00:00:00 +00:00
|
8
|
+
summary: an ruby-libexif extended to support GPS Exif data.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
- ext
|
12
|
+
email: rakuto@gamil.com
|
13
|
+
homepage: " by Rakuto Furutani"
|
14
|
+
rubyforge_project: extexif
|
15
|
+
description: "ruby-libexif2 is extend ruby-libexif to support GPS Exif data. API of ruby-libexif2 is compatible with ruby-libexif. ruby-libexif : http://raa.ruby-lang.org/project/ruby-libexif/ == FEATURES/PROBLEMS: * An extension library for libexif * Util Ruby's library to use Exif data == SYNOPSIS:"
|
16
|
+
autorequire:
|
17
|
+
default_executable:
|
18
|
+
bindir: bin
|
19
|
+
has_rdoc: true
|
20
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
21
|
+
requirements:
|
22
|
+
- - ">"
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 0.0.0
|
25
|
+
version:
|
26
|
+
platform: ruby
|
27
|
+
signing_key:
|
28
|
+
cert_chain:
|
29
|
+
post_install_message:
|
30
|
+
authors:
|
31
|
+
- Rakuto Furutani
|
32
|
+
files:
|
33
|
+
- History.txt
|
34
|
+
- Manifest.txt
|
35
|
+
- README.txt
|
36
|
+
- Rakefile
|
37
|
+
- lib/extexif.rb
|
38
|
+
- test/test_extexif.rb
|
39
|
+
- ext/exif.c
|
40
|
+
- ext/Makefile
|
41
|
+
- ext/COPYING
|
42
|
+
- ext/ChangeLog
|
43
|
+
- ext/README
|
44
|
+
- ext/exif.rd.en
|
45
|
+
- ext/exif.rd.ja
|
46
|
+
- ext/extconf.rb
|
47
|
+
test_files:
|
48
|
+
- test/test_extexif.rb
|
49
|
+
rdoc_options:
|
50
|
+
- --exclude
|
51
|
+
- ext/exif
|
52
|
+
extra_rdoc_files:
|
53
|
+
- History.txt
|
54
|
+
- Manifest.txt
|
55
|
+
- README.txt
|
56
|
+
executables: []
|
57
|
+
|
58
|
+
extensions:
|
59
|
+
- ext/extconf.rb
|
60
|
+
requirements: []
|
61
|
+
|
62
|
+
dependencies:
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: hoe
|
65
|
+
version_requirement:
|
66
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 1.2.1
|
71
|
+
version:
|