Sha256: 1d4eb65248726988eeefeb1f63e5c3aa4e644d0ba50ab95ec6b87a5a98a41194

Contents?: true

Size: 503 Bytes

Versions: 9

Compression:

Stored size: 503 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true
# encoding: UTF-8
# (c) ANB Andrew Bizyaev

require_relative '_tag_string'

module ExifTagger
  module Tag
    # XMP-iptcExt:LocationShownWorldRegion, String
    class WorldRegion < TagString
      MAX_BYTESIZE = 64 # No limit in XMP spec
      EXIFTOOL_TAGS = %w(LocationShownWorldRegion).freeze

      private

      def generate_write_script_lines
        @write_script_lines << %(-XMP:LocationShownWorldRegion=#{@value})
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
phtools-0.18.0 lib/phtools/exif_tagger/tags/world_region.rb
phtools-0.17.0 lib/phtools/exif_tagger/tags/world_region.rb
phtools-0.16.1 lib/phtools/exif_tagger/tags/world_region.rb
phtools-0.16.0 lib/phtools/exif_tagger/tags/world_region.rb
phtools-0.15.1 lib/phtools/exif_tagger/tags/world_region.rb
phtools-0.15.0 lib/phtools/exif_tagger/tags/world_region.rb
phtools-0.14.0 lib/phtools/exif_tagger/tags/world_region.rb
phtools-0.11.2 lib/phtools/exif_tagger/tags/world_region.rb
phtools-0.11.1 lib/phtools/exif_tagger/tags/world_region.rb