Jump to content

Reptillian

Members
  • Posts

    1,237
  • Joined

  • Last visited

  • Days Won

    18

Posts posted by Reptillian

  1. @Rick Brewster Thank you, I think that helps in case of having a existing palette and it's something @G'MIC has provided me a code for. I have found a even faster method that doesn't involve taking the euclidean distance to determine which color to pick in case of bit-depth reduction. Imagine that you have a int color, and a double color which is generated using a threshold map. You take the difference between those two color, and power the difference to the two, then add it back to integer color, then rescale it back. This involves assuming linear color space. This only works with 100% dithering, so I had to use linear interpolation for arbitrary dithering.

     

     

  2. This is created by getting the first 96 colors of hexadecimal in pi in hexadecimal form (removed duplicates values), then sorted by hue. Love it or hate it.

    Spoiler
    ; paint.net Palette File: PiHexSorted96
    ; Color Format - AARRGGBB
    ; Colors: 96
    FFC25A59
    FFF70801
    FFD5392A
    FFEF8E79
    FFD1310B
    FFD87157
    FF3A180E
    FFE65525
    FFF26013
    FFB54709
    FFF4933D
    FFB3916C
    FFF3AA55
    FF5C3E16
    FFE8CEA1
    FFDCB060
    FFAB9457
    FFB59C30
    FFF2E285
    FFC0AC29
    FFA19947
    FFB5AC2F
    FFD5D989
    FF636920
    FFB4CC5C
    FFB8DB38
    FF7F9924
    FFB7C97C
    FF5D7418
    FF8BB01E
    FF6C9E0E
    FFC5D1B0
    FF588215
    FF8EB658
    FF6C8945
    FFAFED6A
    FF8EFC16
    FF6FBC2A
    FF98EC4E
    FF417918
    FF79FB1B
    FF54A41D
    FF44A409
    FF63E814
    FF77BE54
    FF66CF34
    FF396A2A
    FF38D013
    FF45F12C
    FF50DD3F
    FF748F72
    FF179216
    FF08D313
    FF198A2E
    FF2FDA55
    FF4AEE7B
    FF489862
    FF24CF5C
    FF58FEA3
    FF84D5B5
    FF85F0CA
    FF31F6CE
    FF037073
    FF2BA9C5
    FF1EAFD6
    FF267E96
    FF2778AF
    FF1577C1
    FF5486AF
    FF243F6A
    FF93B3EE
    FF4E69A4
    FF718BCD
    FF082EFA
    FF4055CA
    FF232860
    FFB7B8E1
    FF2821E6
    FF141163
    FF7C72E9
    FF8885A3
    FFA698DF
    FF8A3ED7
    FF9F31D0
    FF341141
    FF7E0D95
    FFD01ADF
    FFAB10B6
    FF605C60
    FFFD72DB
    FF9B8793
    FFE90C6C
    FFBA336C
    FFBA7C90
    FF382229
    FFBD314B

     

     

    • Upvote 1
  3. Some progress has been made in the update. Also, stuck on finding an appropriate algorithm for finding nearest color for ordered dithering.

     

    That being said, I updated Bit-Plane Shuffler. I know that isn't much, but it is now possible to blend multiple layers and rearrange in any order with ease.

     

    I made few commands to deal with generating lexicographic order at specified index, and predict which index contains an order. This is why the update is mentioned as it is a prelude to possible new filters.

    • Like 1
  4. Made some work on Transfer Color [Reduced Color].

     

    It is turning out to be a difficult project. Not because dithering is difficult, and it isn't. It's finding how to make window-based dithering work. And for this one, I have to use multiple dithering algorithm. A simple dithering algorithm was used to aid in finding colors, and then the JJN dithering was used on each window. The other difficult part is to make dynamic code based on condition.

     

    Here's a picture of progress:

     

    b844de5f87ccba569e2390eda5ceb7825cf0884f

    The evidence is given by the fact that you see square set of dots. That shows dithering is based on windows size. This is important to emulating old hardware graphics.

    • Like 2
  5. There's not much update for now. Just some news.

     

    Vibrato and OOBS are going to be updated. Gimpchat users seem to like them. It is not known when I will do that.

     

    Certain Plans:

    Add white background support for Serendipitous Circle.

     

    Upgrade Transfer Color [Reduced Color].

    • Like 1
  6. 2 hours ago, AndrewDavid said:

    very much doubt the plugin will be rewritten due to other available choices

    I don't think all is lost if someone has the dll file. If one has earlier version of pdn, and a copy of the dll, then one can move forward to make an update or see if existing alternative does the same.

     

    I managed to send the author a mail.

  7. Hitomezashi has been upgraded with full-size preview support that arrived in 3.1. It is wonderful to use. I also fixed a bug there. It's not perfect yet, I will have to talk with @G'MIC about improving the cropped viewport.

     

    EDIT: More accurate preview for Serendiptous Circle. Precursor to a upgrade soon.

    • Like 1
×
×
  • Create New...