mirror of
https://github.com/KevinMidboe/leifs-image-processor.git
synced 2025-10-29 09:40:19 +00:00
Returnstatement now also returns the parent folder that image is saved to.
This commit is contained in:
@@ -41,6 +41,7 @@ def processImage(file, outputPath=None):
|
||||
|
||||
return {
|
||||
'filename': '.'.join([fileID, OUTPUT_EXTENSION]),
|
||||
'folder': outputPath,
|
||||
'variations': list(map(lambda vairation: vairation['name'], OUTPUT_SIZES))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user