Rick Brewster Posted May 20, 2019 Share Posted May 20, 2019 I believe I've fixed the issues that were preventing some images from being saved (as reported earlier). I also fixed a few things in the Save Configuration dialog that were supposed to make it into alpha build 7077, but didn't because I incorrectly merged my pull request on GitHub. The issue with the images that wouldn't save was that they had UserComment metadata in them (EXIF tag ID #37510). WIC (Windows Imaging Component) handles this in a way that my code wasn't coping with, so the data didn't round-trip correctly, and WIC decided to refuse the transaction instead. (And there was another bug: part of my wrapper was returning an error when WIC tried to send an IStream::Write() call with a 0 byte payload ... weird, probably a bug in their code, but shouldn't have broken down on my side.) Download link: https://www.getpaint.net/files/zip/test/paint.net.4.107.7079.30132.install.zip (I'm adding this to the auto-updater, too ...) Change log: Fixed: Some images could not be saved as JPEG due to mishandling of some metadata Fixed some error handling in the Save Configuration dialog. An error dialog will now pop up to show the exception that occurred in addition to the usual "Preview: (error)" text that has always been shown. Fixed: HEIC/HEIF file extensions are now registered with Windows so that you can double-click on them in Explorer to open them in Paint.NET Enjoy! 3 1 The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
fixator10 Posted May 21, 2019 Share Posted May 21, 2019 Pasting image from clipboard (copied not from PDN) pastes image without alpha (transparency) Link to comment Share on other sites More sharing options...
Rick Brewster Posted May 21, 2019 Author Share Posted May 21, 2019 This pasted with alpha in 4.1.6? Are you sure it's actually being copied to the clipboard with alpha using DIB_V5? The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
null54 Posted May 22, 2019 Share Posted May 22, 2019 @fixator10 appears to be using XNView MP. When using the "Copy image data" command XNview MP version 0.93.1 places a DIB_V5 on the clipboard that has an incorrect HGLOBAL size (it does not include the size of the 3 BI_BITFIELDS color masks). This also reproduces in other Qt applications (such as as Krita), so it appears to be a bug in the Qt Framework clipboard code. Because of this Paint.NET falls back to reading a Bitmap from the clipboard. 1 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...
fixator10 Posted May 26, 2019 Share Posted May 26, 2019 I'm using "FastStone image viewer", and it seems the same at 4.1.6, seems like this isn't issue with PDN. However, on copy-pasting image from chromium-based browser (Opera) 4.1.7α pastes without transparency, 4.1.6 pastes with transparency. 4.1.6 video 4.1.7α video Link to comment Share on other sites More sharing options...
Rick Brewster Posted May 30, 2019 Author Share Posted May 30, 2019 We have some more Copy/Paste fixes coming in the next build. Thanks for reporting any issues! 1 The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
sl23 Posted June 3, 2019 Share Posted June 3, 2019 is there any chance the portable.zip version can be added to the auto update please? Thank you Link to comment Share on other sites More sharing options...
BoltBait Posted June 3, 2019 Share Posted June 3, 2019 1 minute ago, sl23 said: is there any chance the portable.zip version can be added to the auto update please? Thank you You can make your own portable version. https://blog.getpaint.net/2017/07/21/portable-mode-in-paint-net-4-0-17/ Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
sl23 Posted June 4, 2019 Share Posted June 4, 2019 Thank you for your reply. I know, I recently found that out. But my request wasn't to make PDN portable, but to allow the auto updater to download and install the zip version. Quote 2) The updater will not be enabled in this mode, and the UI for it will not be available in the Settings dialog. But my version checks for, downloads and installs the NON-portable version. Why? Because the zip download version of PDN is outdated and I wanted to try the latest beta. Which isn't available as a zipped portable version. The last check I made, the zip download was for v4.1.4 not the latest stable v4.1.6, hence my request. 🙂 Link to comment Share on other sites More sharing options...
Pixey Posted June 13, 2019 Share Posted June 13, 2019 (edited) Having trouble with @midora's Animate Plug in Crash Log: Application version: paint.net 4.1.7 (α 4.107.7079.30132) System.MissingMethodException: Method not found: 'Int32 PaintDotNet.Data.Quantize.PaletteTable.FindClosestPaletteIndex(System.Drawing.Color)'. at PropertyBasedFileTypes.ImAgifFileType.OnSaveT(Document input, Stream output, PropertyBasedSaveConfigToken token, Surface scratchSurface, ProgressEventHandler progressCallback) at PaintDotNet.FileType.Save(Document input, Stream output, SaveConfigToken token, Surface scratchSurface, ProgressEventHandler callback, Boolean rememberToken) in D:\src\pdn\src\Data\FileType.cs:line 353 at PaintDotNet.Dialogs.SaveConfigDialog.<>c__DisplayClass48_0.<UpdatePreviewAsync>b__0() in D:\src\pdn\src\PaintDotNet\Dialogs\SaveConfigDialog.cs:line 604 at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at PaintDotNet.Dialogs.SaveConfigDialog.<UpdatePreviewAsync>d__48.MoveNext() in D:\src\pdn\src\PaintDotNet\Dialogs\SaveConfigDialog.cs:line 623 Edited June 13, 2019 by toe_head2001 You had copied and pasted your sig into the post body. How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
Rick Brewster Posted June 13, 2019 Author Share Posted June 13, 2019 It looks like the ImAGIF plugin is going to need to be recompiled. It's using a class (PaletteTable) that's internal to Paint.NET that is being updated in 4.1.7 in a way that's incompatible with ImAGIF's use of it. You'll want to report this in that plugin's thread and make sure to get the author's attention. The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Pixey Posted June 13, 2019 Share Posted June 13, 2019 Oh dear, I was afraid of this @midora seems to be AWOL these days, but I'll put it in his thread and hope How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
Rick Brewster Posted June 14, 2019 Author Share Posted June 14, 2019 Closing this thread -- new build incoming The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts