Jump to content

Images are broken when saving HEIC files


Recommended Posts

In Paint.NET 5.0.12, saving in HEIC format sometimes results in a broken image.
To reproduce it simply follow these steps


1. create a blank image of 4032x3024
2. save this image in HEIC format (Q=99)
3. open the saved image again in Paint.NET
4. crop it to a suitable size (e.g. 3267x2543, 3641x2711, etc.)
5. save the image (Ctrl+S)

 

The breaking pattern will vary depending on the cropped size, but you can easily see that the right side and bottom of the image will break.

Here is the computer environment I checked
- OS: Windows 10 22H2, 19045.3758 (x64)
- NVIDIA GeForce RTX 4060 Ti

 

I've seen the same results on other PCs, so it doesn't appear to be an issue with PC specs.
Thank you for your confirmation.

 

2 broken heif.zip

Link to comment
Share on other sites

HEIC in Paint.NET uses Microsoft's HEVC codec, and it does have bugs. I'll try and report this to Microsoft, maybe they can fix it up -- hopefully they still have an engineer or two that owns this area.

 

In the meantime, you can use @null54's excellent HEIC FileType Plus which will replace Paint.NET's built-in HEIC handler. Be sure to read the instructions. Unfortunately I can't integrate it into Paint.NET because HEVC/HEIC has a lot of legal/licensing/patent spaghetti.

 

 

  • Thanks 1

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...