Rick Brewster Posted July 31, 2019 Share Posted July 31, 2019 This release will be fixing a handful of bugs and adds JPEG XR file type support. For now there's only a direct download link. I'll be adding this to the built-in updater in a few hours after I run some errands. Download: https://www.getpaint.net/files/zip/test/paint.net.4.201.7151.31272.install.zip Changes: New: JPEG XR file type support Fixed: Holding Ctrl when dragging a selection with Move Selected Pixels will again leave a copy behind (but only with the mouse) Fixed crashes when saving DDS images Fixed VTF plugin compatibility; it was not working in 4.2 except for images that were an exact power-of-2 size on each dimension Fixed: .BMP files can be opened even if they're not actually BMP images (they still need to be a valid WIC-supported file type such as PNG, JPEG, etc.) Fixed (stabilized) menu ordering of effect plugins that have duplicate names Fixed metadata handling that was preventing some images with EXIF tag 330 from being able to load Fixed metadata preservation for old images that pad EXIF string values with null terminators Fixed title bar text color when using certain custom accent colors in Windows 10 Fixed very bad performance when opening large images with embedded rotation metadata 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...
toe_head2001 Posted July 31, 2019 Share Posted July 31, 2019 JPEG XR isn't working on my Windows 7 box. Spoiler Application version: paint.net 4.2.1 (β 4.201.7151.31272) PaintDotNet.ComponentModel.InterfaceNotSupportedException: D:\src\pdn\src\SystemLayer.Native\Imaging\WICImagingFactory.cpp (967) : hr = m_pImagingFactory->CreateEncoder( NativeConversions::ToNative(containerFormat.Guid), preferredVendor.HasValue ? &NativeConversions::ToNative(preferredVendor.Value.Guid) : 0, &spEncoder); at PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() in D:\src\pdn\src\Base\Interop\InteropErrorInfo.cs:line 98 at PaintDotNet.SystemLayer.Native.x64.NativeUtilities.ThrowOnErrorImpl(Int32 hr, SByte* szHr, IUnknown* pFxErrorInfo) at PaintDotNet.SystemLayer.Native.x64.Imaging.WICImagingFactory.CreateEncoder(Stream stream, ContainerFormat containerFormat, Nullable`1 preferredVendor) at PaintDotNet.Data.WicFileTypeHelpers.Encode(IBitmapSource source, Metadata metadata, Vector2Double dpi, Stream output, ContainerFormat containerFormat, Nullable`1 requiredVendor, IEnumerable`1 encoderOptions, MetadataTranscoder metadataTranscoder, ProgressEventHandler progressCallback, Object progressCallbackSender, Double progressPercentStart) in D:\src\pdn\src\PaintDotNet\Data\WicFileTypeHelpers.cs:line 357 at PaintDotNet.Data.WicFileTypeHelpers.Save(Document document, Surface flattenedSurface, Stream output, ContainerFormat containerFormat, Nullable`1 requiredVendor, MetadataTranscoder metadataTranscoder, IEnumerable`1 encoderOptions, SavableBitDepths bitDepth, Int32 ditherLevelFor8bpp, ProgressEventHandler progressCallback, Object progressCallbackSender) in D:\src\pdn\src\PaintDotNet\Data\WicFileTypeHelpers.cs:line 324 at PaintDotNet.Data.JpegXrFileType.OnFinalSave(Document input, Stream output, Surface flattenedImage, SavableBitDepths bitDepth, Int32 ditherLevel, PropertyBasedSaveConfigToken token, ProgressEventHandler progressCallback) in D:\src\pdn\src\PaintDotNet\Data\JpegXrFileType.cs:line 156 at PaintDotNet.Data.InternalFileType.OnSaveT(Document input, Stream output, PropertyBasedSaveConfigToken token, Surface scratchSurface, ProgressEventHandler progressCallback) in D:\src\pdn\src\PaintDotNet\Data\InternalFileType.cs:line 424 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 276 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 (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Rick Brewster Posted July 31, 2019 Author Share Posted July 31, 2019 Okay thanks, I'll look into it. Maybe WIC's JPEG XR codec requires Windows 8/8.1 or even 10? The documentation is, as usual, completely useless... 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...
Rick Brewster Posted July 31, 2019 Author Share Posted July 31, 2019 Okay it looks like JPEG XR requires Windows 8. I'll adjust the code for that. 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...
BoltBait Posted July 31, 2019 Share Posted July 31, 2019 @toe_head2001, does the old, blocked JPEG XR plugin work on Windows 7? Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Rick Brewster Posted July 31, 2019 Author Share Posted July 31, 2019 I'm going to adjust the block so that the old plugin isn't blocked on Win7. 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...
toe_head2001 Posted July 31, 2019 Share Posted July 31, 2019 1 minute ago, BoltBait said: blocked JPEG XR plugin work on Windows 7? Yes, but technically that plugin uses the HD Photo format. There are differences (so I've read) between Microsoft's HD Photo and the standardized JPEG XR. (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
BoltBait Posted July 31, 2019 Share Posted July 31, 2019 I was just thinking that @Rick Brewster may NOT want to block that plugin for Windows 7 then. Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Pixey Posted August 1, 2019 Share Posted August 1, 2019 I have downloaded this Beta and, as was in 4.2 I can't get the Ctrl + D to de-select anymore ☹️ 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...
BoltBait Posted August 1, 2019 Share Posted August 1, 2019 22 minutes ago, Pixey said: I have downloaded this Beta and, as was in 4.2 I can't get the Ctrl + D to de-select anymore ☹️ I'm not having any trouble with Ctrl+D to deselect even when using the Text Tool. Can you give more details? Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Rick Brewster Posted August 1, 2019 Author Share Posted August 1, 2019 I'm putting up a new build in just a minute ... Closed 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