You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-07-11 01:10:14 +02:00
making faces folder if not exists
This commit is contained in:
@ -92,6 +92,7 @@ export class PhotoProcessing {
|
|||||||
input.cut.width = Math.min(input.cut.width, photo.metadata.size.width - input.cut.left);
|
input.cut.width = Math.min(input.cut.width, photo.metadata.size.width - input.cut.left);
|
||||||
input.cut.height = Math.min(input.cut.height, photo.metadata.size.height - input.cut.top);
|
input.cut.height = Math.min(input.cut.height, photo.metadata.size.height - input.cut.top);
|
||||||
|
|
||||||
|
await fsp.mkdir(ProjectPath.FacesFolder, {recursive: true});
|
||||||
await PhotoProcessing.taskQue.execute(input);
|
await PhotoProcessing.taskQue.execute(input);
|
||||||
return thPath;
|
return thPath;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user