Rotating a HEIC image causes it to change file size from about 2.5MB to 48.7MB (48,771,210 bytes)
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 752
- Avg merge
- 10d 14h
- Merged PRs (30d)
- 1
Description
System info:
- ImageGlass version: 7.07.26
- OS version: 10.0.18362 Build 18362
Expected behavior:
Rotating a ~2.5 MB HEIC file in ImageGlass, allowing it to save the changes should result in a file that is about the same size (2.5MB).
Actual behavior:
Rotating a ~2.5 MB HEIC image and allowing ImageGlass to save it, will create a HEIC image that is 48,711,210 Bytes in size
Steps to reproduce:
- Take a picture with an iPhone. I used an iPhone 11 Pro running iOS 13.2.3
- Import the picture to your PC, note the file size.
- View in ImageGlass, rotate the picture, move to the next picture (to save the picture).
- Examine the file size change.
Other info:
Interesting the files, regardless of their initial size, yield files always exactly the same size.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in ImageGlass with an iPhone HEIC image, following the listed rotation and save steps, and compare the original and saved sizes. No source file or test is named; trace the rotation-save path and verify that saving a rotated HEIC does not inflate a roughly 2.5 MB file to about 48.7 MB.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100