Share this post

Link to post

Share on other sites

Pdn 4.0.13
Just copied MJW's sunflower image (latest firefox/right click/ copy image) - opened Pdn with a view to creating a new image and pasting.
Didn't get that far as Pdn locked up. Cursor still moved but no controls worked - including minimize and close. Closed it using task manager.
No 'program not responding message'. No error message, No crash report, just 'froze'?

Tried a second time and I get the same out of memory error message as above.

All these crash reports mention 'useEmbeddedColorManagement' but I thought Pdn didn't use that anyway?

Solved (for me)

Disabled the Pinterest Firefox plugin.

Share this post

Link to post

Share on other sites

I too have only recently started having this issue. It's not consistent with anything that I can see, except for copying an image from the browser (Firefox). I don't have a Pinterest plugin so I don't know what to try to fix this issue. This is only a recent issue. Today I have had this issue 4 times with different sized images ranging from 40x40 avatars to larger layered images.

I would appreciate some help on this as it's becoming very frustrating. Interestingly I just tried to drag and drop from the browser to PDN and it worked fine and opened the image no worries. Right-click to copy the image is where it failed to me.

Link to post

Share on other sites

TL;DR: Firefox's fault. It's saving HTML as a PNG image. Ok, I guess it's PhotoBucket's fault too, because they are redirecting requests to the PNG image to an HTML page.

While Firefox places several formats on the clipboard (including valid Bitmaps/DIBs), paint.net ends up trying to load an invalid PNG image. Too bad the image is actually HTML code saved as a PNG.

Here's the PNG file on the clipboard:

And here's the content of the "PNG" file:

Chromium based browsers (Chrome, Vivaldi, ect.) don't place so many formats on the clipboard, so paint.net ends up loading the Bitmap/DIB, thus avoiding the issue of PhotoBucket redirecting requests to PNG images.

Share on other sites

Edit: Very funny: I just had the error in my Seamonkey 2.48 (my favourite browser) with the image by Humility (Photobucket) in this thread, but NOT with my Firefox. And the error appears only on my first try to copy the image. On second try it works. ¯\_(ツ)_/¯

Edited February 16 by IRON67

Share this post

Link to post

Share on other sites

Microsoft Paint seems to have no problem pasting the images that PDN gives the memory error on. I copied my flower image to the clipboard and tried pasting into PDN. I got the "not enough memory" error. I then went to an open MS Paint window and clicked the Paste button. The image was immediately pasted. I tried with a different image, with the same result. If there's a problem with the image data in the clipboard, it's a problem MS Paint can deal with.

Share this post

Link to post

Share on other sites

No problem here copy + pasting the flower image from FireFox browser into PDN 3.5.11 running in Linux under wine. Perhaps it's a PDN 4.0.13 issue? I have v4.0.13 installed in a VM, but I don't let it have internet connection.

Share this post

Link to post

Share on other sites

One thing I just realized is that I can use the problematic clipboard images in plugins that use the clipboard, such as the Texture Shader and Texture Merger. So, if PDN can identify it's supposed to be a PNG image, and if PDN can access the data, isn't it better to fix it to work, even if it's technically Firefox's problem?

Share this post

Link to post

Share on other sites

This is becoming increasingly strange!The Firefox-Bug is not reproducible with me - also not with the transparency.I just tested it at toe_head2001's logo.It is all as it should be. I'm using Win 7 SP1, 64bit, Firefox 51.0.1, 64bit (Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0 ID:20170125094131 CSet: 327e081221b064b05a302d7877c6e4be2949a617)

Edit:

I tried again (same result), but this time I've checked the clipboard with the "Free Clipboard Viewer".It occurred to me that in the preview when copying with SeaMonkey is a text link or URL to the PNG file, while when copying with Firefox a preview with black background is shown.Nevertheless, the correct image with transparency appears in Paint.NET after paste it from the clipboard.

If this can be reproduced easily and consistently, I can look into it and hopefully find understanding on this issue.

So if someone has a list of dummy-proof and very specific instructions to recreate this, I can check it out. This is really important so that I can recreate the problem and verify the fix (assuming there is one).