Jump to content

Reptillian

Members
  • Posts

    1,237
  • Joined

  • Last visited

  • Days Won

    18

Posts posted by Reptillian

  1. Long time no post here. First major re-engineering to one of my filter has been done.

     

    OOBS used to be there before, but now it has been rewritten.

     

    As it'll be for G'MIC 3.3.6, and we don't have that now, you can temporarily use it here as a debugging test - https://gist.github.com/Reptorian1125/fe5a16df550b258376c893cd0c8b039c

     

    And you can import .gmic sources via G'MIC plugin, so you can use it now before 3.3.6.

     

    Example result:

     

    4c1d943e7bdd229362a67210947e8ca2661fb431

     

    image.webp?ex=66173228&is=6604bd28&hm=c1

    • Like 1
    • Upvote 1
  2. 29 minutes ago, Rick Brewster said:

    However, for an upcoming major release (let's call it 6.0) I am planning on redoing/revamping the .PDN file format. I am hoping to include with this a public specification of the file format to better enable interoperability.

     

    That seems exciting. I'd be able to make a batch conversion tool via G'MIC here. Hopefully, it's not too complicated.

  3. 3 minutes ago, BDP said:

    Downloaded, still showing as 3.3.2

     

    Brian

     

    On G'MIC website, it's 3.3.3, this is just to let the author of the G'MIC plugin for PDN to update it to 3.3.3. So, if you see any one other than @null54 saying G'MIC has been released, it's for letting him know.

    • Thanks 1
  4. I made my own palette based on the original image. Generated by generating a palette with all color, then generating a palette with reduced color, then I mapped the index of closest color and removed duplicates. This is how it is generated. I did some sorting too.

     

    image.png

     

    ; paint.net Palette File: BluRay IG Menu Palette
    ; Color Format - AARRGGBB
    ; Colors: 93
    FFB00009
    FFC10006
    FFD50311
    FFE00313
    FFDF0717
    FFD90814
    FFE20C1C
    FFFBFBFB
    FEA00005
    FE1C0000
    FE110006
    FE000203
    FE010200
    FE3A0001
    FE500003
    FE74000C
    FE270000
    FE80000A
    FE8A020E
    FEBC0517
    FED90D24
    FED10D1B
    FEA40B1A
    FECA1325
    FEB01120
    FEBF1425
    FE9B121E
    FECE192B
    FE8C1120
    FEBD1E2D
    FE0C0503
    FEB74046
    FEB5434E
    FEB64C54
    FE080B07
    FED7D7D7
    FEE9E9E9
    FEE2E2E2
    FEF4F4F4
    FD60040A
    FD0B0F12
    FC73171F
    FC932632
    FC121619
    FC1A191C
    FCD0D0D0
    FA9E343F
    FA222124
    F9292B2F
    F9BEBEBE
    F534363A
    F489484E
    F357191E
    F3915E61
    F275343A
    F2A57A7B
    F1643137
    F17D4349
    F13F3E41
    EF010101
    EE6A272B
    EE6F6A6E
    EE878586
    EA754B50
    E9674648
    E94F5152
    E7705557
    E4625253
    E1554342
    E15B4F4F
    DF3D403F
    DD41220F
    DD444648
    DC292C2B
    DB4B4243
    DB4E4E4E
    D8382B29
    D83A3A3A
    D7443D3D
    D6363636
    D42A2A2A
    D12F2F2F
    CE252525
    CE2A2A2A
    CA1E1E1E
    C81C1C1C
    C6181818
    C61B1B1B
    C2151515
    BC0D0D0D
    B6060606
    B4010101
    B3000000
    ; End of Palette List
    00808080
    00808080
    00808080

     

  5. 1 hour ago, Ego Eram Reputo said:

    I wasn't too fussy (only 70 colors remained after I removed duplicates):

    Impressive work. However, with the image, I seem to be getting 237 colors, and with modifying XML, there's 253 colors?

     

    Seem like you coded the color filtering quite well as I think it's based on RGB rather than using all channels.

     

    Filtering based on RGB using image gets me 228 colors.

    Filtering based on XML using image gets me 238 colors.

     

    How are you getting 70?

  6. 48 minutes ago, Rick Brewster said:

    That said, I think I see what the issue is -- I would just need to find a way to fix it without affecting plugins.

     

    If the code is in rivy/OpenPDN, I can only guess that a conditional within "Apply" is all that is needed to fix median effect. I don't know, but the code itself is fairly cryptic as you said.

  7. 7 minutes ago, Red ochre said:

    Perhaps create your own palette, "96 shades of grey" ?😉

     

    This is a fun coding exercise.

     

    Here's my answer to doing this:

     

    $ 96,1,1,1,"begin(const last_index=w-1;);round(x/last_index*255);" rep_output_pdn_pal greys

     

    Which gives me a 96 color palette txt file. This is the output for the most part.

     

    ; paint.net Palette File: Grayscale 96
    ; Color Format - AARRGGBB
    ; Colors: 96
    FF000000
    FF030303
    FF050505
    FF080808
    FF0B0B0B
    FF0D0D0D
    FF101010
    FF131313
    FF151515
    FF181818
    FF1B1B1B
    FF1E1E1E
    FF202020
    FF232323
    FF262626
    FF282828
    FF2B2B2B
    FF2E2E2E
    FF303030
    FF333333
    FF363636
    FF383838
    FF3B3B3B
    FF3E3E3E
    FF404040
    FF434343
    FF464646
    FF484848
    FF4B4B4B
    FF4E4E4E
    FF515151
    FF535353
    FF565656
    FF595959
    FF5B5B5B
    FF5E5E5E
    FF616161
    FF636363
    FF666666
    FF696969
    FF6B6B6B
    FF6E6E6E
    FF717171
    FF737373
    FF767676
    FF797979
    FF7B7B7B
    FF7E7E7E
    FF818181
    FF848484
    FF868686
    FF898989
    FF8C8C8C
    FF8E8E8E
    FF919191
    FF949494
    FF969696
    FF999999
    FF9C9C9C
    FF9E9E9E
    FFA1A1A1
    FFA4A4A4
    FFA6A6A6
    FFA9A9A9
    FFACACAC
    FFAEAEAE
    FFB1B1B1
    FFB4B4B4
    FFB7B7B7
    FFB9B9B9
    FFBCBCBC
    FFBFBFBF
    FFC1C1C1
    FFC4C4C4
    FFC7C7C7
    FFC9C9C9
    FFCCCCCC
    FFCFCFCF
    FFD1D1D1
    FFD4D4D4
    FFD7D7D7
    FFD9D9D9
    FFDCDCDC
    FFDFDFDF
    FFE1E1E1
    FFE4E4E4
    FFE7E7E7
    FFEAEAEA
    FFECECEC
    FFEFEFEF
    FFF2F2F2
    FFF4F4F4
    FFF7F7F7
    FFFAFAFA
    FFFCFCFC
    FFFFFFFF

    For the OP, you could copy and paste this into a .txt file and place it into palette folder, and then open PDN.

    • Upvote 2
  8. 1 hour ago, MJW said:

    I agree with the original comment that it would be a useful option, since it corresponds to that standard mathematical convention for graphs. I sometimes wish that computer graphics hadn't chosen the y-down coordinate system. Of course, that's a ship that sailed long ago.

    The y-coordinate is what confused me when I started out with image processing. I then, learned to work with it.

×
×
  • Create New...