Actions
Feature #1943
closedAuto rotate image
Start date:
2023-01-27
Estimated time:
Description
Some image are not rotated and this doesn't look nice for thumbnails. Therefore, Alex suggested following code to improve this:
from subprocess import call
if f'.{ext}' in app.config['IMAGE_EXTENSIONS']:
call(f'exiftran -ai {path}', shell=True) # Fix rotation
Updated by Bernhard Koschiček-Krombholz almost 2 years ago
- Related to Feature #1663: Controlled vocabularies via Vocabs added
Updated by Bernhard Koschiček-Krombholz almost 2 years ago
- Related to deleted (Feature #1663: Controlled vocabularies via Vocabs )
Updated by Bernhard Koschiček-Krombholz almost 2 years ago
- Related to Feature #1848: API: fetch data from ARCHE added
Updated by Alexander Watzinger almost 2 years ago
- Category set to Backend
- Target version changed from 7.10.0 to 7.12.0
Updated by Bernhard Koschiček-Krombholz almost 2 years ago
- Status changed from Assigned to Acknowledged
- Assignee deleted (
Bernhard Koschiček-Krombholz)
There is no version of exiftran for Windows, therefor it is hard to test and implement it for me.
Updated by Alexander Watzinger almost 2 years ago
- Status changed from Acknowledged to In Progress
- Assignee set to Alexander Watzinger
Updated by Alexander Watzinger almost 2 years ago
- Status changed from In Progress to Closed
- Target version changed from 7.12.0 to 7.11.0
Images are now auto rotated if they have the metadata that can be used by exiftran. A typical example would be a taken photo.
Actions