Jump to content

Rick Brewster

Administrator
  • Posts

    17,107
  • Joined

  • Last visited

  • Days Won

    168

Everything posted by Rick Brewster

  1. I'm pretty sure they changed all of that with .NET Core and .NET 5.
  2. Any plugin using OptionBasedLibrary will be broken with Paint.NET 4.3 / .NET 5. @midora needs to update OptionBasedLibrary to use MenuStrip / ContextMenuStrip.
  3. I don't know what you mean by "Regedit example", but if you're able to launch (the non-portable) PDN 4.3 then you have .NET 5 installed. Simple as that.
  4. That's intentional. I changed the cursor graphic to the standard crosshair.
  5. You can already snap the Tools window to a corner or edge of the main canvas area. In fact, it defaults to being snapped to the top-left corner.
  6. It's happening sooner than you think. Quite possibly by end-of-year. "Not supported" doesn't mean you don't get any support (like here on the forum). It means the app will not install.
  7. If you are running PDN 4.3 build 7881, then you already have .NET 5. It requires .NET 5, and installs it if necessary when applying the update.
  8. Okay that's related to the SIMD optimizations. I'll get that fixed and put out a new update.
  9. Sorry about that, I'm still getting the new update ready. It'll be released soon. You can already install an alpha of 4.3:
  10. As a random idea, what happens if you resize the window? Sometimes "jiggling the handle" can get things to work. If that works, then I still need to put a fix in place, but at least it tells me a lot more about why this is happening and where the fix needs to go.
  11. Also you do really need to upgrade to Windows 10. Windows 7 is 12 years old and barely on life support at this point.
  12. Windows 7 is still supported, for Paint.NET anyway, for a bit longer. I'm not seeing this happen on my laptop (w/ Win11) but I can poke around in a Win7 VM when I'm back from being AFK.
  13. I was also able to get the error to happen if I installed .NET 5.0.8 x64 and then .NET 5.0.8 arm64 (both Runtime and Desktop Runtime, due to a bug they had in their deployment of the installers where Desktop Runtime didn't also include the base Runtime package:https://github.com/dotnet/windowsdesktop/issues/1823 )
  14. I was able to reproduce that error if I have only the x64 version of .NET 5.0.8 installed. @gtopala is that what you had? Unfortunately there's a bit of a bug in .NET right now whereby both the x64 and arm64 versions will install to the same location and effectively clobber each other. If you have the x64 version installed, then you'll get the FailedHostfxrExports error. If you then install the arm64 version of .NET, e.g. from https://dotnet.microsoft.com/download/dotnet/5.0, it will overwrite the x64 version of .NET, and vice versa. This is fine if you don't have any x64 .NET apps you need to use, but not so great if you need both x64 and arm64 apps.
  15. Thanks, I've fixed the links! I've got a Surface Pro X here and I'd like to try and reproduce what you're seeing. Can you tell me a bit more about what you have installed on your system, or rather what you had installed at the time of the error? Did you have any .NET 5, 6, or Core 3.1 installed? Was it x86, x64, and/or the arm64 versions? (Win11 arm64 can actually install all of them!) Did you end up getting it to work somehow, or are you stuck? (for example, maybe you installed .NET 5 manually, and then the PDN installer afterwards and it worked/failed?)
  16. I managed to get the effects working for Paint.NET 4.3. No need to install a not-yet-available update Hopefully @Ed Harvey releases an update anyway, as there are still some lingering UI issues with high DPI and dark theme (these issues are not new in 4.3 though).
  17. This big thing for this update is that I was able to get @Ed Harvey's effect plugins to work! And that's basically it, but that's a really big win In order to get it working, the DLL is modified to fix up the code that doesn't work on .NET 5. There were two properties of type ContextMenu that had to be removed (they weren't being used), and some reflection against some fields in VisualStyleRenderer that were renamed. This was pretty easy with the use of Mono.Cecil. To get this update, make sure you have "Also check for pre-release (beta) versions" enabled in Settings, and then click on the Check Now button. (Unfortunately alpha/beta releases are not currently available for the Microsoft Store version of the app). Direct download links: Installer EXE Any CPU (x64, x86, ARM64): https://www.getpaint.net/files/zip/test/paint.net.4.300.7881.3082.install.anycpu.fdd.aot.zip Portable ZIPs Intel/AMD 64-bit (x64): https://www.getpaint.net/files/zip/test/paint.net.4.300.7881.3082.portable.x64.scd.aot.zip Intel/AMD 32-bit (x86): https://www.getpaint.net/files/zip/test/paint.net.4.300.7881.3082.portable.x86.scd.aot.zip ARM64: https://www.getpaint.net/files/zip/test/paint.net.4.300.7881.3082.portable.arm64.scd.aot.zip Changes since 4.3 alpha build 7879: Fixed: EdHarvey's Effects now work as-is without the need to install an updated version (which is not yet available) The complete list of changes so far for 4.3, as compared to 4.2.16: New: The app has been migrated to .NET 5, and performance has been greatly improved as a result. New: ARM64 is now natively supported Installation is much faster now due to no longer needing the "Optimizing performance for your system" stage (NGEN has been replaced with ReadyToRun via crossgen). Portable ZIPs are now officially available, utilizing self-contained deployment, and do not require the installation of .NET 5. You must manually update to newer versions of the app, however. Improved performance of most effects and other compute-intensive tasks by about 20% on average, due to .NET 5's improved code generation Improved: Many areas of the app have been optimized to use SIMD (SSE2/3/4.1, AVX2) on x86/x64 Drawing on an image with a large number of layers is faster Drawing with the Gradient Tool's alpha mode is faster Drawing with the Recolor tool is faster Drawing with the Erase or Clone Stamp tool is faster when using a color whose alpha value is less than 255 Drawing with the Overwrite blend mode is faster Drawing with the Shapes tool is faster, due to improved compositing performance Drawing with a brush tool without antialiasing is faster Tile compression has lower overhead due to being optimized for SSE2 and AVX2 Working with complex selections is faster Many other optimizations all throughout the application and rendering engine Improved: Selection antialiasing quality is now better by way of using a 4x4 super sampling filter instead of 3x3. The code has also been optimized to use SSSE3 on x86/x64. Improved: Performance should be significantly better on systems without HyperThreading (by reserving 1 core for the UI), and also a bit better on systems with it (by utilizing more of the logical cores) Improved: Effect and File Type plugins can now be organized into folders -- the plugin loader will recursively search for DLLs up to 1 folder deep Fixed a bug in Polar Inversion that was causing hangs Improved performance of Polar Inversion by 3x, due to the aforementioned bug fix (and a little bit is due to .NET 5) Fixed: There were some issues with zooming in/out using the keyboard, where the anchoring (centering) point was not calculated correctly, causing the canvas to drift in the wrong direction. Fixed a bug when saving with "Auto Detect" bit-depth that was causing fidelity loss on some images that already had 256 colors or less. This was reported here: https://forums.getpaint.net/topic/118401-images-already-with-256-or-fewer-colors-being-dithered-when-saved-with-palette/ Changed: A processor that supports SSSE3 (yes 3 S's) is now required for x86/x64 systems (previously only SSE2 was required). All CPUs released since about 2006 (e.g. Core 2 Duo) support this. Known Issue: Due to crashing, GPU accelerated effects (Gaussian Blur, Motion Blur, Radial Blur) on ARM64 will actually use the CPU for rendering. Updated the built-in AvifFileType plugin to v1.1.13.0 (courtesy of @null54). See the project's GitHub Releases page for more information.
  18. Good news, I have a fix for @Ed Harvey's effects. The theming still doesn't work, but that was the case in 4.2.16 as well. I'll put out an update shortly. (I got it to work by rewriting the IL code using Mono.Cecil to fix some broken use of reflection 😂 It was just crazy enough that it worked... I also had to strip out a few unused properties that were of type ContextMenu) Ed should still put out updated versions of his plugins, but this at least means we won't have untold number of happy plugin users suddenly in an unhappy state, all e-mailing me and making forum posts asking how to get their effects to work again. Win-win-win situation.
  19. This build isn't too exciting, fresh off the heels of yesterday's 4.3 alpha build 7878, but it's important: it fixes a crash when running an effect with a selection active! (unless the selection was just simple rectangles) To get this update, make sure you have "Also check for pre-release (beta) versions" enabled in Settings, and then click on the Check Now button. (Unfortunately alpha/beta releases are not currently available for the Microsoft Store version of the app). Direct download links: Installer EXE Any CPU (x64, x86, ARM64): https://www.getpaint.net/files/zip/test/paint.net.4.300.7879.42543.install.anycpu.fdd.aot.zip Portable ZIPs Intel/AMD 64-bit (x64): https://www.getpaint.net/files/zip/test/paint.net.4.300.7879.42543.portable.x64.scd.aot.zip Intel/AMD 32-bit (x86): https://www.getpaint.net/files/zip/test/paint.net.4.300.7879.42543.portable.x86.scd.aot.zip ARM64: https://www.getpaint.net/files/zip/test/paint.net.4.300.7879.42543.portable.arm64.scd.aot.zip Changes since 4.3 alpha build 7878: Fixed a crash when running an effect while a non-pixelated selection (not just simple rectangles) was active The complete list of changes so far for 4.3, as compared to 4.2.16: New: The app has been migrated to .NET 5, and performance has been greatly improved as a result. New: ARM64 is now natively supported Installation is much faster now due to no longer needing the "Optimizing performance for your system" stage (NGEN has been replaced with ReadyToRun via crossgen). Portable ZIPs are now officially available, utilizing self-contained deployment, and do not require the installation of .NET 5. You must manually update to newer versions of the app, however. Improved performance of most effects and other compute-intensive tasks by about 20% on average, due to .NET 5's improved code generation Improved: Many areas of the app have been optimized to use SIMD (SSE2/3/4.1, AVX2) on x86/x64 Drawing on an image with a large number of layers is faster Drawing with the Gradient Tool's alpha mode is faster Drawing with the Recolor tool is faster Drawing with the Erase or Clone Stamp tool is faster when using a color whose alpha value is less than 255 Drawing with the Overwrite blend mode is faster Drawing with the Shapes tool is faster, due to improved compositing performance Drawing with a brush tool without antialiasing is faster Tile compression has lower overhead due to being optimized for SSE2 and AVX2 Working with complex selections is faster Many other optimizations all throughout the application and rendering engine Improved: Selection antialiasing quality is now better by way of using a 4x4 super sampling filter instead of 3x3. The code has also been optimized to use SSSE3 on x86/x64. Improved: Performance should be significantly better on systems without HyperThreading (by reserving 1 core for the UI), and also a bit better on systems with it (by utilizing more of the logical cores) Improved: Effect and File Type plugins can now be organized into folders -- the plugin loader will recursively search for DLLs up to 1 folder deep Fixed a bug in Polar Inversion that was causing hangs Improved performance of Polar Inversion by 3x, due to the aforementioned bug fix (and a little bit is due to .NET 5) Fixed: There were some issues with zooming in/out using the keyboard, where the anchoring (centering) point was not calculated correctly, causing the canvas to drift in the wrong direction. Fixed a bug when saving with "Auto Detect" bit-depth that was causing fidelity loss on some images that already had 256 colors or less. This was reported here: https://forums.getpaint.net/topic/118401-images-already-with-256-or-fewer-colors-being-dithered-when-saved-with-palette/ Changed: A processor that supports SSSE3 (yes 3 S's) is now required for x86/x64 systems (previously only SSE2 was required). All CPUs released since about 2006 (e.g. Core 2 Duo) support this. Known Issue: Due to crashing, GPU accelerated effects (Gaussian Blur, Motion Blur, Radial Blur) on ARM64 will actually use the CPU for rendering. Updated the built-in AvifFileType plugin to v1.1.13.0 (courtesy of @null54). See the project's GitHub Releases page for more information.
  20. Locking this thread -- landing a new build momentarily
  21. Known Issue: There is currently a crash when running an effect while a non-pixelated selection is active. "Non-pixelated" basically meaning anything other than simple rectangles. ("simple" as in not rotated and not scaled) I should have a fixed build pushed out today or tomorrow.
  22. @Pixey, which version are you using? 4.2.16 or the 4.2.17 alpha?
×
×
  • Create New...