Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/08/2021 in all areas

  1. This build fixes the bugs identified in the post for the previous version, and also optimizes plugin loading times by quite a bit. A performance issue was also fixed that was crippling the performance of most tools, which was related to using the garbage collector's "low latency" mode while drawing. As it turns out, it totally broke performance, so it has been reverted. The first time the app starts after install or update, it will load Shapes normally, convert them into a binary format, and then save them to a cache. Subsequent app starts will be much faster, as the time for loading the binary data from the cache is -- at least on my system! -- 16x faster. I'm pretty happy with this result 😁 This should help a lot on systems that have a lot of shapes installed. Memory usage of the shapes is also greatly reduced. For effects and file types, some of them need to be patched up at load time to be compatible with 4.3. If you remember from some of the previous alpha builds, I mentioned that I made a similar caching system for these types of plugins (as described above for Shapes). I later disabled it because I had concerns about its security. I've now re-enabled the cache, but only for plugins that are installed into the Documents folder -- not for plugins installed into the Program Files location. So, if you want to ensure Paint.NET starts as fast as possible, I recommend moving your plugins to that location (e.g. Documents\paint.net App Files\FileTypes for FileTypes, and similar for Effects). The cache is also employed for additional plugin directories that are established using the process described here. The plugin caches are now also enabled for the portable releases. A directory called AppCache will be created in the same directory as the app. It can be safely deleted at any time, even while the app is running. Also note that the plugin caches must be rebuilt every time a new update is installed, so expect the first app start after installing an update to be more sluggish if you have many plugins or shapes installed. It won't be any worse than 4.2.16, however. Get the update 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 Any CPU (x64, x86, ARM64): https://www.getpaint.net/files/zip/test/paint.net.4.300.7921.1736.install.anycpu.web.zip Portable ZIPs Intel/AMD 64-bit (x64): https://www.getpaint.net/files/zip/test/paint.net.4.300.7921.1736.portable.x64.scd.aot.zip Intel/AMD 32-bit (x86): https://www.getpaint.net/files/zip/test/paint.net.4.300.7921.1736.portable.x86.scd.aot.zip ARM64: https://www.getpaint.net/files/zip/test/paint.net.4.300.7921.1736.portable.arm64.scd.aot.zip Installer (offline) Intel/AMD 64-bit (x64): https://www.getpaint.net/files/zip/test/paint.net.4.300.7921.1736.install.x64.scd.aot.zip Intel/AMD 32-bit (x86): https://www.getpaint.net/files/zip/test/paint.net.4.300.7921.1736.install.x86.scd.aot.zip ARM64: https://www.getpaint.net/files/zip/test/paint.net.4.300.7921.1736.install.arm64.scd.aot.zip Note that the offline installer may still need to download some prerequisites if you're on a Windows 7 or 8.1 machine that is not up-to-date via Windows Update. You do not need to have .NET installed, as these builds use self-contained deployment. Changes since 4.3 alpha build 7918: Improved performance of loading custom Shapes by 16x on 2nd and subsequent app starts Fixed a crash when trying to save an image that does not support loading Fixed a performance issue that was crippling performance while drawing with most tools Enjoy!
    2 points
  2. This version of the plugin allows to save as .bmrl. There is a restriction in the amount of colors which can be handled (Not more than 251 different RGBAs in a row). The reason is that in this case a quantizer has to be called. But this a little bit special if you are working in a 16-bit 565 color space with 5-bit alpha. The source calls WuQuantizer16() to do the job. But this source is not included. If the source is available I would use this one. We may also quantize the BGRA image to 256 colors first. But not now. Typically icons are small enough that there is no issue with the code. Some png test images should be created to stress the save method.
    1 point
  3. @Rick Brewster Almost missed this update - so wrapped up in the template walkthrough. After updating - I can attest to the speedier loading of the plugins. Doc loading is faster too
    1 point
  4. Verified 😉 Still I would prefer not to get a preview at all in this case instead a text like "No preview available". In the moment there is again the original image visible which shows transparency.
    1 point
  5. OK, I replaced installed with used in the sentence above. Just if someone is confused about how a portable version can be installed.
    1 point
  6. CodeLab currently generates the .csproj file in the legacy format. However, the next version of CodeLab will generate the .csproj file in the newer MSBuildProjectSDK format. If you want to convert older .csproj files to the newer format, you can use try-convert. Does that answer your question?
    1 point
  7. Happy birthday No members to show.😀
    1 point
  8. OK, here is a quick shot for a .bmrl filetype supporting open. It requires paint.net 4.3.0 alpha and uses no obsolete methods 😉 As Rick mentioned the portable version of 4.3.0 can be used in parallel to the latest 4.2.16. You just can not run both at the same time. (Removed the old version of the plugin) And the example file provided by @lingfude. BMRL_example.zip
    1 point
  9. The plugin index will take you to the first page that shows the old version as 4.3 has not been released. You need this version https://forums.getpaint.net/topic/110458-the-plugin-browser-v1310-april-28-2020/page/6/?tab=comments#comment-585131 which you will find at the end of the thread. Version 1.3.9.2 is what you are looking for.
    1 point
×
×
  • Create New...