lib/phtools/ph_file.rb in phtools-0.15.1 vs lib/phtools/ph_file.rb in phtools-0.16.0
- old
+ new
@@ -8,10 +8,10 @@
require 'date'
require 'fileutils'
module PhTools
# media type constants
- FILE_TYPE_IMAGE_NORMAL = %w[jpg jpeg tif tiff png].freeze
+ FILE_TYPE_IMAGE_NORMAL = %w[jpg jpeg tif tiff png heic].freeze
FILE_TYPE_IMAGE_RAW = %w[orf arw dng].freeze
FILE_TYPE_IMAGE = FILE_TYPE_IMAGE_NORMAL + FILE_TYPE_IMAGE_RAW
FILE_TYPE_VIDEO = %w[avi mp4 mpg mts dv mov mkv m2t m2ts 3gp].freeze
FILE_TYPE_AUDIO = %w[wav].freeze