Vovan29 Posted January 31, 2021 Share Posted January 31, 2021 This is a very odd bug - some .png files get .jpg-like compression (and sometimes drop transparency) while copied and pasted to PaintDotNet Example: https://static.wikia.nocookie.net/minecraft_gamepedia/images/0/0c/Launcher_Alex_Texture.png/revision/latest?cb=20200819175304 Here's this picture copied and pasted from Mozilla Firefox 87 on Windows 10 (20H2) to Paint and PaintDotNet: As you can see, picture looks good in Paint (it has black background since Paint doesn't support transparency), but gets oddly compressed in PaintDotNet Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted January 31, 2021 Share Posted January 31, 2021 1 hour ago, Vovan29 said: ... pasted from Mozilla Firefox 87 ... Please check which formats Firefox Nightly is placing on the clipboard. You can use this tool: https://freeclipboardviewer.com/ Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
toe_head2001 Posted January 31, 2021 Share Posted January 31, 2021 You also need to install Paint.NET v4.2.15; we don't offer support for old versions. And it appears you're using custom theming (WindowBlinds or the like) on Windows 10; that can also some issues with Paint.NET. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Djisves Posted January 31, 2021 Share Posted January 31, 2021 My Firefox is up-to-date, v.85. I don't know where to get v.87. I downloaded the image and pasted it in Paint and PDN. I resized by 300% at default settings for clarity, placed a black background in the PDN copy for comparison. See the results below. I cannot see any drop in quality. If you can, feel free to repeat the same, only this time resize in PDN using "nearest neighbour". TBH, I cannot see any drop in quality even in the images posted by the OP. PS.: For anyone wanting to try, the correct link for the image is this https://static.wikia.nocookie.net/minecraft_gamepedia/images/0/0c/Launcher_Alex_Texture.png Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted January 31, 2021 Share Posted January 31, 2021 2 minutes ago, Djisves said: I don't know where to get v.87. Firefox Nightly can be downloaded near the bottom of this page: https://www.mozilla.org/en-US/firefox/channel/desktop/ 3 minutes ago, Djisves said: TBH, I cannot see any drop in quality ... in the images posted by the OP. There is definitely a difference between the two in the screenshot. It's especially noticeable in the regions that are solid colors. 1 Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Vovan29 Posted January 31, 2021 Author Share Posted January 31, 2021 (edited) 1 hour ago, Djisves said: My Firefox is up-to-date, v.85. I don't know where to get v.87. I downloaded the image and pasted it in Paint and PDN. I resized by 300% at default settings for clarity, placed a black background in the PDN copy for comparison. See the results below. I cannot see any drop in quality. If you can, feel free to repeat the same, only this time resize in PDN using "nearest neighbour". TBH, I cannot see any drop in quality even in the images posted by the OP. PS.: For anyone wanting to try, the correct link for the image is this https://static.wikia.nocookie.net/minecraft_gamepedia/images/0/0c/Launcher_Alex_Texture.png Yes, for some reason these 2 pictures are the same. Link without additional symbols copies only compressed version, but if you open it through this link https://minecraft.gamepedia.com/File:Launcher_Alex_Texture.png (left click on the preview to open the puciture), it will be bugged The bug is also presented on Firefox 85, so it's probably related to the way Firefox copies pictures (Microsoft Edge copies the picture without any bugs) Edited January 31, 2021 by Vovan29 Quote Link to comment Share on other sites More sharing options...
Vovan29 Posted January 31, 2021 Author Share Posted January 31, 2021 39 minutes ago, toe_head2001 said: You also need to install Paint.NET v4.2.15; we don't offer support for old versions. And it appears you're using custom theming (WindowBlinds or the like) on Windows 10; that can also some issues with Paint.NET. OK, I updated my PDN to 4.2.15 (it seems it was released a few minutes after my post), but the bug is still there It's official theme called "Aero Lite". It doesn't affects PDN since I remember I also had this bug when I was using default theme. Quote Link to comment Share on other sites More sharing options...
ardneh Posted January 31, 2021 Share Posted January 31, 2021 (edited) Copy/paste from Chrome also gives a degraded image. 4.2.15 Default theme. Edited January 31, 2021 by ardneh Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted January 31, 2021 Share Posted January 31, 2021 38 minutes ago, Vovan29 said: Yes, for some reason these 2 pictures are the same. Link without additional symbols copies only compressed version, but if you open it through this link https://minecraft.gamepedia.com/File:Launcher_Alex_Texture.png (click on the picture to open it), it will be bugged There is no bug here. These are two different image files. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Vovan29 Posted January 31, 2021 Author Share Posted January 31, 2021 3 minutes ago, toe_head2001 said: There is no bug here. These are two different image files. Yes, preview picture is not bugged. In my previous reply I meant click it with left mouse button (it opens a link with bugged png, which also can be found in the original post) Quote Link to comment Share on other sites More sharing options...
null54 Posted January 31, 2021 Share Posted January 31, 2021 39 minutes ago, Vovan29 said: In my previous reply I meant click it with left mouse button (it opens a link with bugged png, which also can be found in the original post) The bugged "PNG" is actually a WebP file that is encoded with lossy compression. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
Vovan29 Posted January 31, 2021 Author Share Posted January 31, 2021 (edited) Quote Here's Windows XP's Paint, it also pastes it just fine. But why PDN can't? does this mean it recognizes it as WebP and ignores PNG becuase of this? And paint is just too old to even recognoze what .webp is so it pastes image correctly? Edited January 31, 2021 by Vovan29 :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.