mirror of
https://github.com/immich-app/immich.git
synced 2026-02-12 11:58:15 +03:00
fix: create face exif orientation handling (#26108)
* fix: handle exif orientation when creating face * chore: tests
This commit is contained in:
@@ -677,8 +677,9 @@ export class PersonService extends BaseService {
|
||||
};
|
||||
|
||||
// now coordinates are in original image space
|
||||
dto.imageHeight = asset.exifInfo.exifImageHeight;
|
||||
dto.imageWidth = asset.exifInfo.exifImageWidth;
|
||||
const originalDimensions = getDimensions(asset.exifInfo);
|
||||
dto.imageWidth = originalDimensions.width;
|
||||
dto.imageHeight = originalDimensions.height;
|
||||
}
|
||||
|
||||
await this.personRepository.createAssetFace({
|
||||
|
||||
Reference in New Issue
Block a user