ordigi/elodie/tests/files
Jaisen Mathai 032e24b204 Use PIL(pillow) as a fallback mechanism image format identification and add HEIC support (#320)
Fixes #281 and #269

When elodie imports images, imghdr.what is used to determine the image
type. imghdr implementation won't support all JPEG variants. Because
of this, even for a valid JPEG file, imghdr.what returns None causing
elodie to skip the image during import.

This commit adds a fallback mechanism which uses PIL(pillow) library to
identify image formats. When imghdr fails, elodie uses pillow to
identify image format. When pillow is unavailable, it will be treated as
an invalid media file. Pillow is imported only when imghdr fails.
2019-07-10 04:05:32 -07:00
..
.DS_Store gh-93 Update media module to test for string before calling string functions 2016-03-23 00:25:27 -07:00
Plain With Spaces And Uppercase 123.jpg Add support for customizing file name via config file. #107 #110 #111 (#225) 2019-01-23 01:06:48 +05:30
audio.m4a gh-61 Add support for audio (m4a) files and accompanying tests 2016-01-03 22:10:56 -08:00
imghdr-error.jpg Use PIL(pillow) as a fallback mechanism image format identification and add HEIC support (#320) 2019-07-10 04:05:32 -07:00
invalid.invalid gh-154 Add command to regenerate the hash database 2016-12-13 00:08:08 -08:00
invalid.jpg gh-84 Added tests for invalid files with valid file extensions 2016-02-14 01:03:18 -08:00
no-exif.jpg gh-28 Add no-exif file for tests and add test cases 2015-12-01 01:03:00 -08:00
photo.heic Use PIL(pillow) as a fallback mechanism image format identification and add HEIC support (#320) 2019-07-10 04:05:32 -07:00
plain.jpg gh-28 Add no-exif file for tests and add test cases 2015-12-01 01:03:00 -08:00
text.txt gh-29 Add unit tests for Media module 2015-12-01 01:03:00 -08:00
valid-with-numeric-header.txt gh-98 Check parsed metadata header in text file for type of dict 2016-04-19 21:09:27 -07:00
valid-without-header.txt gh-100 Add support for text files and associated tests 2016-04-12 00:06:22 -07:00
valid.txt Support user defined folder structure (#5) (#160) 2017-01-02 20:58:52 -08:00
video.mov Closes gh-30 Add unit tests for Video module 2015-12-01 01:03:00 -08:00
with-album-and-title-and-location.jpg gh-28 Add title back to test photos which were removed by Photoshop when modifying 2015-12-01 01:03:00 -08:00
with-album-and-title.jpg gh-28 Add title back to test photos which were removed by Photoshop when modifying 2015-12-01 01:03:00 -08:00
with-album.jpg gh-28 Add no-exif file for tests and add test cases 2015-12-01 01:03:00 -08:00
with-filename-and-title-in-exif.jpg Use original name from EXIF instead of parsing assumed file name format. #107 (#202) 2017-03-16 23:43:47 -07:00
with-filename-in-exif.jpg Use original name from EXIF instead of parsing assumed file name format. #107 (#202) 2017-03-16 23:43:47 -07:00
with-location-and-title.jpg gh-28 Add title back to test photos which were removed by Photoshop when modifying 2015-12-01 01:03:00 -08:00
with-location-inv.jpg tests added for inverted lattitude/logitude 2015-12-27 23:40:20 -08:00
with-location-zero-coordinate.jpg Fix bug where zero value for latitude/longitude causes error gh-171 (#176) 2017-01-03 00:49:56 -08:00
with-location.jpg gh-28 Add no-exif file for tests and add test cases 2015-12-01 01:03:00 -08:00
with-original-name.jpg Add original file name methods to text and media class #186 (#187) 2017-01-22 00:19:44 -08:00
with-original-name.txt Add original file name methods to text and media class #186 (#187) 2017-01-22 00:19:44 -08:00
with-title.jpg gh-28 Add title back to test photos which were removed by Photoshop when modifying 2015-12-01 01:03:00 -08:00
withoutextension gh-113 Check for a file extension before doing a string in tuple conditional 2016-04-19 21:33:08 -07:00