Jump to content

null54

Moderator
  • Posts

    1,964
  • Joined

  • Last visited

  • Days Won

    90

Posts posted by null54

  1. 15 minutes ago, toe_head2001 said:

    I may be mistaken, but I believe your filetype class should not be inheriting from both FileType & IFileTypeFactory. You need to create a class for both of them.

     

    Inheriting from both FileType & IFileTypeFactory is fine, my WebP FileType does that for instance.

    The problem is that @ArgusMagnus is missing the public modifier on the constructor.

     

    public sealed class TestFileType : FileType, IFileTypeFactory
        {
            public TestFileType()
                : base("Test", FileTypeFlags.SupportsSaving | FileTypeFlags.SavesWithProgress, new[] { ".test" }) { }
    
            protected override Document OnLoad(Stream input)
            {
                return null;
            }
    
            protected override void OnSave(Document input, Stream output, SaveConfigToken token, Surface surface, ProgressEventHandler callback)
            {
                // Do save operation...
    
                base.OnSave(input, output, token, surface, callback);
            }
    
            FileType[] IFileTypeFactory.GetFileTypeInstances()
            {
                return new[] { new TestFileType() };
            }
        }

     

    • Upvote 1
  2. 17 hours ago, ReMake said:

    I noticed some bug. Click on the image or on the effect UI when you have this message and then click Cancel button.

     

    Fixed in 1.3.2.

     

    21 hours ago, xod said:

    How could I miss such a good plugin?

     

    With the large number of plugins available on this forum it does not surprise me that some may be overlooked, and this is more of a niche plugin than something like Feather or Clipwarp.

    I do not envy @Ego Eram Reputo's job keeping the plugin index up to date. ?

    • Like 1
    • Upvote 2
  3. Thanks for the detailed bug report and analysis.

     

    I will most likely be changing the plugin to use the ImageMagick formula with a default quality of 85 (compression ratio of 9:1).

     

    22 hours ago, ektekmek said:

    The JPEG 2000 rate, though, appears to literally be the target file size for the .JP2 file, expressed as a percentage of the size of the uncompressed image.

     

    That is exactly what JasPer does (at least the version that is currently used by this plugin).

     

  4. 1 hour ago, skr68 said:

    If that is true, could the plugin not check the file content to see if it is a WEBP file in disguise and open it regardless of the extension, or otherwise pass control back to paint.net? Or will it not be called for PNG files at all?

     

    The plugin will only be called for files with a .webp extension.

  5. 4 hours ago, skr68 said:

    Chrome, IrfanView Firefox and Windows Photo Viewer (with webp plugins installed) can handle the file with the wrong extension perfectly, they seem to look at the content rather than the extension. Could the same be achieved for paint.net as well? That would make this plugin just perfect!

     

    I do not know, that would be a question for @Rick Brewster.

  6. 1 hour ago, Rembrandt said:

    Yes, I’m referring to the OK button in the 8bf filter dialog.

     

    My guess is that there is some kind of race condition in the code that I use to check if a filter is running.

    But as I have been unable to reproduce this error I do not know what I would need to change to fix it. ?

  7. 33 minutes ago, Rembrandt said:

    I don't know what you've changed but it still doesn't work at me.

     

    I added a line that should prevent the "8bf filter" dialog from closing when a filter is running.

     

    23 hours ago, Rembrandt said:

    I just choose the filter I want to use and press OK

     

    When you say "Press OK" are you referring to the OK button in the "8bf filter" dialog?

  8. 1 hour ago, Rembrandt said:

    Well, I use Flaming Pears’ free pack and I do not press repeat filter. I just choose the filter I want to use and press OK 

     

    Fixed in 1.0.7.0.

     

    Other changes include:

    • Support for the Paint.NET "Dark" theme
    • Improved performance when launching the effect dialog multiple times
    • Settings should be remembered during the current session for most filters

    Additionally all filters now have access to the PICA suites, this should improve compatibility with newer filters.

    • Like 1
    • Upvote 1
  9. That appears to be the dialog Paint.NET shows when it is waiting for an effect to finish rendering.

     

    Are you using Paint.NET's "Repeat Filter"  command to run PSFilterPdn?

    If not I am somewhat confused because the main "8bf filter" window should never cause Paint.NET to display that dialog.

     

    Also what is the name of the filter you are trying to use?

    There may be some kind of compatibility issue with the filter and PSFilterPdn.

  10. 5 hours ago, cnorke said:

    Have you an idea how I could solve that?

     

    You may need to change the DCRaw options, the list of options is available here.

     

    5 hours ago, cnorke said:

    Is there a way to load the camera's colour profile to pdn?

     

    Paint.NET does not support color management, but DCRaw can convert the image to sRGB.

     

    5 hours ago, cnorke said:

    Which is the "right" one that I should use?

     

    I do not know.

  11. 26 minutes ago, cardamom said:

    Hi. I put the dlls in paint.net and then repaired the program to make sure it could load plugins. I started the program and then I opened some textures. Saving only allows up to Bc5. I tried running it in administrator and same thing. I tried renaming the files to .dds2 file extension but the program doesn't recognize in or out of administrator mode, so I can't try compressing it. 

     

    It sounds like the plugin is not installed correctly.

    Do you see the dds2 extension in the open file dialog?

     

    • Like 1
×
×
  • Create New...