Jump to content

Recommended Posts

Hi,

 

After upgrading to 4.2, loading images seems much slower.

 

Prior to this, I could drag a dozen or so (4k x 6k) images (jpeg) downloaded from my camera into paint.net, and they would load quickly - now it can take up to a minute to open 12 images.

 

Is this normal, or is something messed up on my installation? Windows 10 Pro (1903)

Link to post
Share on other sites

After finding an older version of paint.net on FileHippo, I did some testing. I would drag the 12 images from a folder onto paint.net,  and start the stopwatch when I clicked 'open'

 

I reinstalled 4.2, so it was a clean install. Over 5 tries, loading 12 images took 70s +/- 2s

 

I then uininstalled 4.2, and installed 4.1.4, loading the same 12 images took 6s

 

So I wasnt imagining it, 4.2 takes 10 times as long to load the images.

Edited by Adelea
Adding detail
  • Upvote 1
Link to post
Share on other sites

For anyone else who's reading this: 4.2.1 fixes this. 

 

It was related to images with an embedded orientation tag. Like when you take a photograph in portrait mode. The same pixels are saved to disk as if you had taken it in landscape, but an extra EXIF metadata tag says "rotate the image by 90/180/270 degrees". However, the way Paint.NET was getting pixel data from WIC was not optimal, and it resulted in decoding the image over and over to get different regions of the image. A weird O(n^2) performance problem ...

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

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

forumSig_bmwE60.jpg

Link to post
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...