null54

Members
  • Content count

    579
  • Joined

  • Last visited

  • Days Won

    18

null54 last won the day on June 15 2016

null54 had the most liked content!

Community Reputation

211

1 Follower

About null54

Profile Information

  • Gender
    Male

Recent Profile Visitors

2,152 profile views
  1. DDS FileType Plus (2017-09-19)

    Added support for saving the R8G8B8A8 and B4G4R4A4 formats. File version updated to 1.5.0.0.
  2. Paint.NET should preserve all the metadata it receives when the file is loaded. The JPEG loading and saving uses the GDI+ library that is built-in to Windows. Paint.NET does not have any control over what it does with metadata when an image is loaded or saved.
  3. PSFilterPdn (2016-10-05)

    If the load time is 45 to 75 seconds then it sounds to me like disk I/O may be a big part of the issue. Perhaps the list of 8bf filters should be stored in the EffectConfigToken, at least that way it only scans the disk the first time it is opened. Or the filter information could be serialized to disk and used across Paint.NET sessions, this is what GIMP's PSPI plugin does. I never anticipated PSFilterPdn would be used with that many filters. I am surprised that the Windows Forms TreeView works with that many items. Regarding your pull request, I am surprised that the TreeView sorting is such a bottleneck. I have not decided if I will be merging it, accepting 3rd party contributions would restrict me from changing to a different open source license.
  4. PSFilterPdn (2016-10-05)

    The search speed would depend on the number of folders in the Search Directories tab and the number of 8bf files located in those folders. That would not surprise me. Each time PSFilterPdn is launched it searches the folders and gathers the information it needs from every 8bf file it finds.
  5. Video Gaming Thread

    GameBanshee has a Skyrim map with many locations marked distributed as a 9 page PDF that you can download and print. http://www.gamebanshee.com/skyrim/mapofskyrim.php
  6. No, it is not. Rick is stating that the UI thread is one of the threads that uses STA mode and that any clipboard access must be performed from a STA thread. In the example I posted the SetClipboardImage method creates a new STA thread when it accesses the clipboard. The following line configures the thread to use STA mode. t.SetApartmentState(System.Threading.ApartmentState.STA);
  7. Video Gaming Thread

    Skyrim Special Edition on the Xbox One? I have over 850 hours in the original game on PC, mods certainly help make the game more replayable. I have not played the Special Edition yet, but I did receive it for free when Bethesda gave it away to PC players that own all the DLC for the original game.
  8. Even if you set the SingleThreaded flag your Render method will be called multiple times.
  9. DDS FileType Plus (2017-09-19)

    Added support for loading Unreal Engine 2.5 DDS files that only set the dwFourCC field in the DDS_PIXELFORMAT structure, see the following thread for details. Convert the sRGB formats to linear RGB when loading. Reduced memory usage when saving. File version updated to 1.4.0.0.
  10. bool firstRun = true; void Render(Surface dst, Surface src, Rectangle rect) { if (firstRun) { SetClipboardImage(src.CreateAliasedBitmap()); firstRun = false; } ColorBgra CurrentPixel; for (int y = rect.Top; y < rect.Bottom; y++) { if (IsCancelRequested) return; for (int x = rect.Left; x < rect.Right; x++) { CurrentPixel = src[x,y]; dst[x,y] = CurrentPixel; } } } void SetClipboardImage(Bitmap bitmap) { try { // Accessing the clipboard requires STA apartment state. System.Threading.Thread t = new System.Threading.Thread(() => Clipboard.SetData(DataFormats.Bitmap, bitmap)); t.SetApartmentState(System.Threading.ApartmentState.STA); t.Start(); t.Join(); } catch { } } Note that this method will not preserve transparency.
  11. DDS FileType Plus (2017-09-19)

    Improved error handling when loading DDS files. Added support for planar and typeless DDS formats. Fixed a conversion bug when saving the X8R8G8B8, A1R5G5B5 and R5G6B5 formats. File version updated to 1.3.0.0.
  12. DDS FileType Plus (2017-09-19)

    Interesting link. I did not notice any quality difference during my testing, but I was using photographs instead of game textures. One thing I did notice is that the DirectCompute based BC7/BC6H encoder is significantly faster than the software encoder. The software encoder processes a 1024x768 image in around 25 seconds, the DirectCompute encoder processes the same image in around 5 seconds.
  13. DDS FileType Plus (2017-09-19)

    Corrected the name of the 32-bit DLL in the P/Invoke signatures. Changed the 32-bit DLL to use SSE instead of of SSE2. File version updated to 1.2.1.0.
  14. DDS FileType Plus (2017-09-19)

    Added support for saving the BC6H compressed format (RGB, 16-bit floating point). Show progress when saving. File version updated to 1.2.0.0.
  15. DDS FileType Plus (2017-09-19)

    Significantly improved the performance when saving the BC7 format by using DirectCompute when it is available. File version updated to 1.1.0.0.