aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tools/exif.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove remaining imports/calls to six not automatically removed by pyupgrade.Ben Sturmfels2021-03-051-2/+0
|
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-051-7/+7
|
* Fix EXIF rotation to make the image portrait on demandchrysn2017-11-291-4/+9
| | | | | Closes: https://issues.mediagoblin.org/ticket/5525 Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com>
* Fix #5524 Zero division error in exif.pyAndrew Browning2017-09-201-8/+4
| | | | | | This patch implements the safe_gps_ratio_divide function for gps direction and altitude values to prevent a zero divide error on malformed GPS data.
* #5314 Prevent ZeroDivisionError in exif.pyChristopher Allan Webber2015-04-271-3/+8
|
* Fix tests on Python 3.Berker Peksag2014-07-141-3/+4
|
* Use six.iteritems() in tools/exif.py.Berker Peksag2014-06-081-1/+1
|
* The file() builtin has been removed in Python 3. Use open() instead.Berker Peksag2014-06-071-1/+1
|
* Use six.iteritems() instead of dict.iteritems().Berker Peksag2014-05-261-2/+4
|
* No more EXIF, for real. Use exifread. This should fix recent import EXIF ↵Christopher Allan Webber2014-04-061-4/+1
| | | | | | failures. This commit sponsored by Aaron Whitehouse. Thank you!
* make exif a submoduleAlon Levy2014-03-021-4/+5
| | | | | | | Updates it to latest which includes a fix for a 100% hang on a jpg without any EXIF data: https://www.dropbox.com/s/m5l185qxq9w5mzk/raspberry-pi-gpio-cheat-sheet.jpg Signed-off-by: Alon Levy <alon@pobox.com>
* Changes to display all EXIF informationGabriel Saldana2013-05-201-1/+1
|
* Switching non-forms back to using normal pass_to_ugettextChristopher Allan Webber2013-04-241-1/+1
|
* Fix-bug-667-Use-lazy_pass_to_ugettext-for-forms.Aditi Mittal2013-04-241-1/+1
|
* A more realistic "con" explaination in the docstring of ↵Christopher Allan Webber2013-03-151-1/+4
| | | | | | | | exif_fix_image_orientation Thanks to dnet for catching this. This commit sponsored by Chester Zeller. Thanks!
* simplified get_usefulAndrás Veres-Szentkirályi2013-02-221-6/+1
|
* use dict.iteritems() instead of dict.items()András Veres-Szentkirályi2013-02-221-1/+1
|
* use list expression instead of 3-deep forAndrás Veres-Szentkirályi2013-02-221-7/+2
|
* simplified clean_exifAndrás Veres-Szentkirályi2013-02-221-6/+2
|
* close file properly and remove unneeded variableAndrás Veres-Szentkirályi2013-02-221-6/+2
|
* typofix in commentAndrás Veres-Szentkirályi2013-02-221-1/+1
|
* use key in dict instead of key in dict.keys()András Veres-Szentkirályi2013-02-221-1/+1
|
* Use system wide EXIF package, if available.Elrond2013-02-071-1/+5
| | | | | | Created and tested by Simon Fondrie-Teitler. Thanks!
* Update extlib/EXIFSebastian Spaeth2012-12-251-2/+1
| | | | | | | | | | | | Bump bundled EXIF lib to 1.0.10 as release in Sep 2012. Also skip unused detailed EXIF tags for reading, we might turn that on when we need them. Adapt test to wording change in EXIF Flas field and due to the fact that we use "details=False" by default now (we did not use these anyway) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Fix for issue #491, invert latitude when neccesary.warp2012-08-271-0/+3
|
* Decoding EXIF strings as UTF-8 with replace in the ifd_tag_to_dictJoar Wandborg2012-07-071-1/+14
| | | | method.
* Fixed EXIF longitude bugJoar Wandborg2012-06-231-3/+14
| | | | | - Negative or 'W' longitudes were not accounted for. - pyflakes fixes.
* fix for ticket #404Bassam2012-03-151-0/+7
|
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Acts on feedback from ChrisJoar Wandborg2012-01-251-7/+4
| | | | | | | - Added EXIF tests - Removed pdb from image processing "ifmain" - Fixed comment typo in image processing - Removed unused import in tools.exif
* EXIF fixesJoar Wandborg2012-01-251-0/+168
- Moved exif functions from mediagoblin.media_types.image.processing to mediagoblin.tools.exif - Moved EXIF.py link from mediagoblin.media_types to mediagoblin.tools.extlib - Refractored and updated EXIF exctraction and presentation