Jump to content

midora

Members
  • Posts

    1,782
  • Joined

  • Last visited

  • Days Won

    26

Posts posted by midora

  1. 8 hours ago, Rick Brewster said:

     

    If you're looking for a better octree quantizer, you can adapt the code from https://github.com/paintdotnet/PaintDotNet.Quantization

     

    Hi Rick. I know. But I guess the main issue is that the process of quantization and dithering should result in similar frames. Octree is for sure quite good for still images but it may not work optimal for animated frames.

     

  2. I'm looking for an ImAGIF.FileType dll version <= 0.12. You may know that I lost access to all my sources in 2015. When I became active again on this forum (beginning of 2021) there was just a modified version available which used already octree to quantize colors (my versions used the old built-in quantizer of paint.net). There are issues with all these octree versions and I would like to compare the output of v1.5 with an older version of the plugin. I.e loading Pixeys Aquarium sig (5,8 MB) and resaving creates a 19 MB file with v1.50. I already fixed some issues and could reduce the output to 10 MB and I have an idea what's going on. But it would be easier to first compare it with the old implementation.

     

    So if someone has an older dll archived and could provide it to me then I could recompile it and check for differences.

     

  3. I can confirm that load and save of options no longer works in various plugins based on OptionBasedLibrary. This is a library issue the plugins themself are not involved. I can not update something there untile OptionBasedLibrary itself has been updated to 4.3.3. This may take some time.

    Load and save just serialize/deserialize the EffectToken (the dialog options) to XML. The library can do this w/o knowing the content of the EffectToken.

    • Thanks 1
  4. I had in mind that there was a possibility to use metadata of files but had no idea that it was layer based. The question would be which file format supports what. I.e. I know there is XMP support for GIF but does MS really supports this extension? Who knows.

     

    Anyway the comment feature would allow users to enter and edit information.

     

    BTW: If Effect plugins could store some information in a layer using their name as a key then we could easily create an editable text plugin which doesn't depend on tricks like storing the information in the pixels (which is quite clever). Just as a temporary solution until we get paint.net 5 😉

  5. You should place the folder somewhere in the user space, not on a removable disk and not in a system folder with admin rights.

    What's the output of the regasm tool?

     

    Anyway I will create a small application to install/uninstall these thumbnail files (in the moment there are already 12 on my side) in a proposed location. Shouldn't be to complex. But I like to close the implementation of the apng format first. The save part of apng is now promised for some years and still not available.

     

    I would also prefer that the normal gif, png, webp thumbnails should show an indication if they are containing an animation. Id did this for bmp containing this bmrl format.

     

    I will do the installer before I'm looking to improve the speed creating the frames of animations. There are some parts of the implementation where multiple tasks are possible. And the code can be used in all implementations. Trying to save your aquarium takes much too long an my pc.

     

     

  6. Sometimes I like to add a comment to a layer but do not like to add it to the name.

    So an additional layer property would help.

    I'm not 100% sure if a change in the serialized part of pdn files would have no impact to old pdn versions. Rick knows this ,-)

     

    The comment should allow multiple lines and the the UI should support a multiline control in the layer properties dialog.

    I guess there is no need to show the comment in the layers panel (maybe just an indicator icon that there is a comment).

     

    I would support this feature in the animated image file formats to place the animation commands in the comment property (and no longer after the separator // in the layer name).

  7. Since paint.net 4.2.16 DocumentResolution in the EffectEnvironmentParameters class contains the resolution of a document.

    But plugins are not able to change the dimension of a layer (or the image).

    If you like to scale the pixels of the whole image and keep the current dpi value then you can do this via Image->Canvas Size.

    If you like to scale the dpi value and keep the pixels then set the new dpi value in Image->Resize.

    The status bar provides you information about the size of the selection. You can change its unit via the small popup in the status bar (px, cm, in).

×
×
  • Create New...