Commit Graph

44 Commits

Author SHA1 Message Date
Simon Conseil
fbb056e3b9 Add doc page with licenses and replace a few images
whose license/origin is unclear
2018-09-05 09:00:55 +02:00
Simon Conseil
23cc8a994b Remove encoding specification 2018-08-27 00:15:17 +02:00
Edwin Steele
45cf226f17 Move iptc field extraction to image.py 2018-02-15 17:14:37 +11:00
Edwin Steele
ef07f1e7a7 Populate title & description from IPTC image data
The IPTC spec defines title and description fields so use those
to populate these fields on the Image unless they've been set by
some other means.
2018-02-13 17:07:54 +11:00
Simon Conseil
498d94c2b3 Add video_converter to the settings dict
Also split arguments for image and video's generate_thumbnail functions.
2018-01-03 18:52:15 +01:00
Simon Conseil
1e96a7c939 Add setting to customize the EXIF datetime format (fix #271)
- The default format is now `%c`
- Fix documentation confusion between ``datetime`` and ``dateobj``
2018-01-03 17:11:58 +01:00
Edward Betts
311d203e3a correct spelling mistakes 2017-10-23 08:18:08 +01:00
Matthias Vogelgesang
0a62cb38fd Test portrait/landscape resize correctness 2017-10-09 14:09:49 +02:00
Jorge Gallegos
6eb570ceb7 Adding a test that showcases the bug
I found a couple of images where the ISOSpeedRatings value is an empty
tuple. This makes sigal sad.
2016-04-07 10:36:42 -07:00
Simon Conseil
b4d1057a58 Fix ZeroDivisionError when ExposureTime contains null values (fix #193) 2016-02-16 00:16:14 +01:00
Rémy HUBSCHER
dba2aec8ec Use pytest.mark.parametrize r=@saimn 2016-01-08 12:23:23 +01:00
Rémy HUBSCHER
c196fc64a5 Validate GIF always use_orig and generate thumbnail. 2016-01-08 11:46:51 +01:00
Simon Conseil
f819f883d4 Fix test with fraction exposure 2016-01-08 00:13:07 +01:00
Simon Conseil
0622f2666c xfail GPS test only for Pillow 3.0.0 2016-01-08 00:12:33 +01:00
Simon Conseil
a9ca86fe6f More fixes. 2015-10-14 23:16:09 +02:00
Simon Conseil
e8e6598b6d Strip spaces for some exif tags (fix #154). 2015-07-18 00:43:25 +02:00
Simon Conseil
b4ad227eb7 Make sure that bad exif data does not crash sigal. 2015-07-17 00:48:51 +02:00
franek
78b23090fe add test on get_size method when missing image 2015-06-15 11:10:50 +02:00
franek
a7e9c17489 Refactor get_size method and add 2 properties to Image (size and thumb_size).
Add tests for get_size method
2015-06-14 12:54:19 +02:00
jdn06
99dc1a2865 Include thumb_video_delay in tests 2015-02-23 23:40:19 +01:00
Antoine Pitrou
e5b7e53e51 Fix #118: allow passthrough of original files 2014-10-05 16:50:01 +02:00
Simon Conseil
a0ed5d88ff Use cached properties to simplify the access to exif metadata. 2014-09-27 00:35:42 +02:00
Simon Conseil
8f45c2c1cd Fix encoding issue with accentuated files. 2013-12-17 00:19:46 +01:00
Simon Conseil
ed7903c26d Docstrings 2013-09-23 00:32:32 +02:00
Keith Johnson
236e6e9a33 Fix testcase for GPS info
GPS coordinates for the sample photo were incorrect in the test case. Found the correct coordinates from: http://regex.info/exif.cgi
2013-09-22 15:23:11 -04:00
Matthias Vogelgesang
e98b76f401 Add test case for GPS tags
This also adds a sample image licensed under CC-BY-NC from jerquiaga located at
Flickr: http://www.flickr.com/photos/jerquiaga/2394751088/
2013-08-14 10:27:08 +02:00
Matthias Vogelgesang
da4c9c4f6c Pass settings dictionary to generate_image
Reduce the amount of parameters to pass necessary to generate an image.
2013-08-04 14:34:54 +02:00
Matthias Vogelgesang
9dcacec2f5 Remove unused image processing parameters
This change removes the autoconvert and format parameters. In all call
situations they were either not set or set to the default value anyway.
2013-08-04 14:17:02 +02:00
Matthias Vogelgesang
c0c9b29622 Insert 'exif' and 'raw_exif' keys into media_ctx 2013-08-01 09:39:54 +02:00
Matthias Vogelgesang
33e8538e1d Add a test case for copying EXIF data 2013-08-01 09:39:54 +02:00
Simon Conseil
e6c9bc6121 More tests 2013-05-15 00:15:28 +02:00
Simon Conseil
8cbad2b3c4 Move sample pictures to a sub-directory 2013-05-07 00:30:07 +02:00
Simon Conseil
42c667ab7e Fix a test with generate_thumbnail 2013-04-21 01:03:30 +02:00
Simon
692a036237 Move to pilkit.
Replace the custom code in the image module by pilkit generators.
2013-04-21 00:44:45 +02:00
Simon
57eb9cf456 Remove the copy exif feature.
This feature was not really needed as the exif metadata were just copied to the
generated image. Moreover, this was depending on pyexiv2 which is now deprecated
in favour of GExiv2.
2013-03-04 00:08:55 +01:00
Simon
258b76b84e Add tests for the Image class. 2012-11-27 23:47:16 +01:00
Simon
ec2be44146 Add a test for the copy_exif function. 2012-11-27 23:31:12 +01:00
Simon
1a85719e5c fix tests for gallery 2012-11-07 01:01:12 +01:00
Simon
4d41236c2a simplify Gallery parameters 2012-10-30 00:27:12 +01:00
Simon
8fbd43f4d5 move Gallery in its own module 2012-10-29 23:48:55 +01:00
Simon
8998141395 pep8 2012-10-29 23:28:22 +01:00
Simon
8306351e6d use assertItemsEqual as the order of the list of files returned by os.walk is
not always the same.
2012-08-06 00:14:54 +02:00
Simon
34510f0050 test_image - rename the class 2012-07-15 22:45:33 +02:00
Simon
7cbb1b6c36 gallery: add tests for the filelist method, + correct import of PIL 2012-05-22 23:48:15 +02:00