mirror of
https://github.com/KevinMidboe/leifs-image-processor.git
synced 2025-10-29 17:50:20 +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 {
|
return {
|
||||||
'filename': '.'.join([fileID, OUTPUT_EXTENSION]),
|
'filename': '.'.join([fileID, OUTPUT_EXTENSION]),
|
||||||
|
'folder': outputPath,
|
||||||
'variations': list(map(lambda vairation: vairation['name'], OUTPUT_SIZES))
|
'variations': list(map(lambda vairation: vairation['name'], OUTPUT_SIZES))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user