intel / intel/AI-Playground

Generated result produces incorrect image orientation

Open
#32 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
979
Forks
132
Avg merge
9h 23m
Merged PRs (30d)
8

Description

Summary:
AI Playground produces an image with incorrect orientation when the photo is a Jpeg.

Circumstance:

1. Open a Jpeg photo with Windows default Photo App (v2024.11070.31001.0)
2. Rotate the photo within the app
3. Save the image and close the Photo app.
4. Launch AI Playground
5. Import the same photo into AI Playground
6. Note that AI Playground displays the photo with orientation modification done in the Photo app. (see below)

![image](https://github.com/user-attachments/assets/5c787847-d7ae-41cb-83ad-f0987a8dbdc1)

7. Generate an Image Prompt using default settings

Expected: Resulting image has matching orientation

Actual: Result matches orientation of the photo before it was edited in the Windows 11 Photo app. (see below)

![image](https://github.com/user-attachments/assets/11b58e76-dd23-4b2d-83b5-e46ffc84ef07)

Expected:
![image](https://github.com/user-attachments/assets/338c7b93-ed6f-4a37-85ce-27b991ee84a9)

Note: This does not occur with PNG file formats. I haven't tried any others so I don't know the scope of the issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.