Mich4x Posted September 13, 2022 Share Posted September 13, 2022 Hello! I am looking for a feature in which I am selecting an area and it will write down every single hexcode in the selected area, ideally it would be sortable too (most opacity -> less Opacity). Quote Link to comment Share on other sites More sharing options...
Roly Poly Goblinoli Posted September 14, 2022 Share Posted September 14, 2022 There are plugins that generate a palette from an image. You'd want that. I have no idea how it might sort the colors, but if it sorts them at all then it would be sorted by alpha first by default, since PDN palettes are ARGB colors (A = alpha) This one sounds good: https://forums.getpaint.net/topic/117823-make-palette-plugin-v10-february-15-2021/ Here's the plugin index to find others https://forums.getpaint.net/topic/15260-plugin-index/ Quote Link to comment Share on other sites More sharing options...
Solution Ego Eram Reputo Posted September 14, 2022 Solution Share Posted September 14, 2022 My CSV filetype plugin could be useful here. Copy your selection to a new image, then save it as a *.CSV file based on the color format/structure you want. You'll have to do the sorting yourself (tip: load the CSV file into Excel or a Google sheet). Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Reptillian Posted September 14, 2022 Share Posted September 14, 2022 7 hours ago, Ego Eram Reputo said: My CSV filetype plugin could be useful here. Copy your selection to a new image, then save it as a *.CSV file based on the color format/structure you want. You'll have to do the sorting yourself (tip: load the CSV file into Excel or a Google sheet). RGBx? BGRx? What do those mean? Quote G'MIC Filter Developer I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me. Link to comment Share on other sites More sharing options...
Mich4x Posted September 14, 2022 Author Share Posted September 14, 2022 12 hours ago, Ego Eram Reputo said: My CSV filetype plugin could be useful here. Copy your selection to a new image, then save it as a *.CSV file based on the color format/structure you want. You'll have to do the sorting yourself (tip: load the CSV file into Excel or a Google sheet). Is there a way to save the other pixels in a different Column? So B1, B2,B3 etc. They all get send on one Column A1, A2,A3 etc. Quote Link to comment Share on other sites More sharing options...
Reptillian Posted September 14, 2022 Share Posted September 14, 2022 (edited) Are selection rectangles/squares? If so, I have a easy solution for you. Should there be duplicates? Edited September 14, 2022 by Reptillian Quote G'MIC Filter Developer I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me. Link to comment Share on other sites More sharing options...
Roly Poly Goblinoli Posted September 14, 2022 Share Posted September 14, 2022 I do believe I mentioned a plugin intended for this problem, I would take a look (I guess it might not work after reading through the thread, it looks very hazy) Quote Link to comment Share on other sites More sharing options...
Mich4x Posted September 15, 2022 Author Share Posted September 15, 2022 (edited) 8 hours ago, NinthDesertDude said: I do believe I mentioned a plugin intended for this problem, I would take a look (I guess it might not work after reading through the thread, it looks very hazy) Installation doesn't work anymore Edited September 15, 2022 by Mich4x Quote Link to comment Share on other sites More sharing options...
Mich4x Posted September 15, 2022 Author Share Posted September 15, 2022 (edited) 11 hours ago, Reptillian said: Are selection rectangles/squares? If so, I have a easy solution for you. Should there be duplicates? Yes there are duplicates, thats not the problem, my Issue is that they are under one Column which makes it hard to delete the duplicates. "Are selection rectangles/squares?" - What I did is get a 16x14 Picture and then export it as a csv. file. The Picture itself is made out of squares* This is the Picture I used -> I understand the numbers, one RGB code = One Pixel, one Column has 16RGB Codes x 14 rows, but its is just harder to work with it if the 16 RGB Codes are in the same Column (A1,A2...etc.) Edited September 15, 2022 by Mich4x Quote Link to comment Share on other sites More sharing options...
Reptillian Posted September 15, 2022 Share Posted September 15, 2022 7 hours ago, Mich4x said: Yes there are duplicates, thats not the problem, my Issue is that they are under one Column which makes it hard to delete the duplicates. "Are selection rectangles/squares?" - What I did is get a 16x14 Picture and then export it as a csv. file. The Picture itself is made out of squares* This is the Picture I used -> I understand the numbers, one RGB code = One Pixel, one Column has 16RGB Codes x 14 rows, but its is just harder to work with it if the 16 RGB Codes are in the same Column (A1,A2...etc.) I used your picture, and I'd have to ask if you want the output to look something like this: Spoiler AARRGGBB FF313739 FF35373D FF35373B FF37393C FF383A3D FF393B40 FF3A3B3F FF393B3F FF313C3B FF3A3C3F FF3B3C3F FF3B3D40 FF3C3D41 FF3B3D41 FF3C3D43 FF3C3E41 FF3D3E41 FF3D3F41 FF3E3F43 FF3E3F42 FF3D3F42 FF404042 FF3F4043 FF3E4044 FF3F4045 FF3F4042 FF3E4042 FF404041 FF3F4143 FF414145 FF424244 FF3E4249 FF404248 FF404245 FF31423D FF424243 FF434346 FF434345 FF28443B FF2F473E FF2D483F FF21493C FF1D4A38 FF224A3C FF234A3D FF2B4B44 FF164B36 FF234B3C FF204B39 FF244B3D FF1F4C39 FF264C3F FF214C3B FF264C3E FF264D3E FF274D3F FF274E3F FF25503E FF115035 FF1A543C FF0D5635 FF065935 FF055A35 FF045C35 FF035C35 FF085E36 FF025E35 FF075F38 FF035F35 FF036036 FF046137 FF05613A FF006234 FF006231 FF006431 FF006433 FF006635 FF006830 FF006833 FF006D30 FF006F30 FF007038 FF00712F FF007236 FF007435 FF00742F FF007534 FF00752F FF007634 FF007633 FF00762F FF007630 FF00772E FF007832 FF007830 Quote G'MIC Filter Developer I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me. Link to comment Share on other sites More sharing options...
Mich4x Posted September 15, 2022 Author Share Posted September 15, 2022 4 minutes ago, Reptillian said: I used your picture, and I'd have to ask if you want the output to look something like this: Hide contents AARRGGBB FF313739 FF35373D FF35373B FF37393C FF383A3D FF393B40 FF3A3B3F FF393B3F FF313C3B FF3A3C3F FF3B3C3F FF3B3D40 FF3C3D41 FF3B3D41 FF3C3D43 FF3C3E41 FF3D3E41 FF3D3F41 FF3E3F43 FF3E3F42 FF3D3F42 FF404042 FF3F4043 FF3E4044 FF3F4045 FF3F4042 FF3E4042 FF404041 FF3F4143 FF414145 FF424244 FF3E4249 FF404248 FF404245 FF31423D FF424243 FF434346 FF434345 FF28443B FF2F473E FF2D483F FF21493C FF1D4A38 FF224A3C FF234A3D FF2B4B44 FF164B36 FF234B3C FF204B39 FF244B3D FF1F4C39 FF264C3F FF214C3B FF264C3E FF264D3E FF274D3F FF274E3F FF25503E FF115035 FF1A543C FF0D5635 FF065935 FF055A35 FF045C35 FF035C35 FF085E36 FF025E35 FF075F38 FF035F35 FF036036 FF046137 FF05613A FF006234 FF006231 FF006431 FF006433 FF006635 FF006830 FF006833 FF006D30 FF006F30 FF007038 FF00712F FF007236 FF007435 FF00742F FF007534 FF00752F FF007634 FF007633 FF00762F FF007630 FF00772E FF007832 FF007830 Ideally in an excel sheet format, or something which would show what y and x axis the pixel was on. In the excelsheet the format, the 1-14 row would represent the pixels on y and then what the x axis pixels would be on the letters A-O in this picture. I don't mind Hexcodes, but it would be nice to have a RGB Code too. Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted September 15, 2022 Share Posted September 15, 2022 On 9/14/2022 at 11:31 PM, Reptillian said: RGBx? BGRx? What do those mean? Color channels. Red, Green, Blue & Alpha. You can replace X with a set value (allows you to set the alpha value manually). 4 hours ago, Mich4x said: Ideally in an excel sheet format, or something which would show what y and x axis the pixel was on. The CSV plugin transcribes rows starting from the top left. You can specify rows by adding a linefeed at the end of the row. E.g. this structure... Gives this output The size of the output should match the image dimensions. ^this demo image was a 32x32 pixel icon. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Reptillian Posted September 15, 2022 Share Posted September 15, 2022 (edited) @Ego Eram Reputo By the way, could you change the title? It's a misnomer going from the conversation. Hexcode detection plugin could be not CSV-related. Edited September 15, 2022 by Reptillian Quote G'MIC Filter Developer I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me. Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted September 15, 2022 Share Posted September 15, 2022 Done. 4 minutes ago, Reptillian said: Hexcode detection plugin could be not CSV-related. Disagree. CSV stands for comma separated values - so hexcodes are entirely valid in a CSV file. Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.