[web][photos] Rename cropWithRotation to cropImage
This commit is contained in:
parent
ae5496f306
commit
56cd3a9949
1 changed files with 2 additions and 2 deletions
|
@ -744,10 +744,10 @@ const extractFaceCrop = (
|
|||
const scaleForPadding = 1 + padding * 2;
|
||||
const paddedBox = roundBox(enlargeBox(alignmentBox, scaleForPadding));
|
||||
|
||||
return cropWithRotation(imageBitmap, paddedBox, 256);
|
||||
return cropImage(imageBitmap, paddedBox, 256);
|
||||
};
|
||||
|
||||
const cropWithRotation = (
|
||||
const cropImage = (
|
||||
imageBitmap: ImageBitmap,
|
||||
cropBox: Box,
|
||||
maxDimension: number,
|
||||
|
|
Loading…
Add table
Reference in a new issue