Jump to content

Reptillian

Members
  • Posts

    1,236
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Reptillian

  1. A python script to read text from image and paste the text onto clipboard via pyperclip, then use pdn text tool. Too much work, I know.
  2. One last observation, the red channel and blue channel are using the same image as base. It's only the green channel that should use a different image. Seems very doable as a script to be honest. So basically: Red has no change Green is a negative, and has a different base Blue is a negative, and is the same base as in red.
  3. To do exactly what the author of the blog did, you'd need to invert the channels. I actually checked, here's the check: You can tell that from the top left picture of each group are inverted. There may also be some control involved into each channels. It's hard to see from the blue side, but you can tell that the pictures for other channels other than red don't have to be the same. My example with the observation made:
  4. If you want another alternative to try, there is Photoflare + G'MIC (I think it does support this I don't know). Many filters on G'MIC are already identical to ones found on Paint.NET with some of them having way more features.
  5. There's another Extract Channel plugin (which I had made). Your step can be argued to be a bit too long, but works.
  6. I guess it would be possible to write a plugin/G'MIC script which import images, and then combine them per channel.
  7. Bit-Plane Shuffler Updated! New Feature: Alpha checkbox. Icon added. Bugfix: Direction fix.
  8. I fixed the paper cut bugs though this will be for G'MIC 3.1.6.
  9. New Filter! - Lavander Binary Map The current filter consists of annoying paper cut bugs. There are some "bugs" cases that can't be avoided due to how the algorithm work. If you were to use auto on different size image, different result is to be expected.
  10. Actually, it was posted just around midnight in GMT-4. So, basically, considering the gap between North America, and Europe, it's easy to see why.
  11. With regards to autocompletion, I'd be happy if the suggestion could pop up, but it autocomplete with arrow keys only. And if that's not clear, KDE Kate behaves like that.
  12. G'MIC-QT -> Pixel Denoise Seem successful at removing single pixel noises.
  13. This effect essentially about swapping binary numbers or swapping bitplanes of image. Wikipedia Link for bit plane - https://en.wikipedia.org/wiki/Bit_plane Preview of Effect: Plugin Download Link - BitPlaneShuffler.zip Instruction: 1) Install 2) Find under Stylize. Source Code: ------------------ License : CeCiLL v2.0 - https://cecill.info/licences/Licence_CeCILL_V2-en.html CodeLab: G'MIC:
  14. Sorry to ask, but where's the tabs tutorial? I really want to convert my G'MIC Stitch into a PDN plugin now that tabs are supported.

  15. I would like to let you know that I had made a upgrade of a G'MIC filter named Transfer Color [Reduced Colors], and you can use some of the ideas found there into your plugin which is for reducing color.

    1. AtariSMN82

      AtariSMN82

      palette of one picture is applied to another?

    2. Reptillian

      Reptillian

      That's possible by getting the existing color. In context of C#, and PDN, you can create a 3D array.

       

      Something like this:

       

      1. array_3d=[256,256,256] # This means a 3D array with dimension of 256,256,256

       

      2. Loop by pixel by pixel within picture, and find the color. Use the current color as coordinate to increment at r,g,b of array_3D.

       

      3. Create a list of colors

       

      4. Loop by array in 3D array, and if the value in index r,g,b is greater than 0, append the rgb into list of color.

       

      If you want more information, I would recommend you to start a thread on plugin developer.

       

      For more advanced things like getting the closest match and specified color, you do have a start to there. It's just out of my league to do as what I did was existing commands within G'MIC to do the job rather than code it.

  16. Major upgrade to Transfer Color [Reduced Colors] has been released. See commit here.
  17. A simple plugin to convert images from RGB-8 to HSV-8 (0-255 Range). There's no parameter. Just click it after installation. After installation, you will find this under Effect->Color. Download Link - RGB2HSV8.zip Preview: Code License: CC0 (Free to use, no credits or permission required) Codelab Source (Too simple to figure out, but here it goes):
  18. I figured it out, I had to implement a mod operator again. Close this please.
  19. It seems that HSV8 is not outputting the correct value. The second and third channel are fine. It is the first channel that is not correct. All I know is that last shade of red with mixture of blue is wrong.
  20. There is a way to get 0-255 HSV, but I don't think it's ideal for you and it's probably never going to be implemented. Copy the layer that you want to pick color from. Set the layer opacity to 0. Do not click on any other layer, just proceed with looking at plugins. Go to G'MIC-QT plugin, and go to Various-> Code (Any). Replace the textbox with rgb2hsv8. Press Ok. This will allow you to get colors in HSV 0-255 form. Alternatively, a plugin to speed up this step is desirable actually. I don't think it's too hard to do anyway. If you can figure out what's wrong with this: You can get a solution that doesn't involve this workaround.
  21. If there is a plugin that operates on HSV model, and only modify the Hue Channel, then this could be done.
×
×
  • Create New...