mcamp14 Posted December 20, 2009 Share Posted December 20, 2009 Hey, I am an astronomer studying globular cluster cor collapse. I am wondering if there is a way to take the RGB values of each pixel to a text file so that I can then import that in an excel document. I have a 640 x 1 bmp file, the details of how I got it are unimportant, but I need to plot the RGB values in a scatter plot. Thanks Quote My Humble Gallery Astronomy Fans group on facebook I see things, I'm an astronomer Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 20, 2009 Share Posted December 20, 2009 This isn't possible in Paint.NET. It is not designed for image analysis like what you're looking for. (nor can this be properly accomplished with a plugin -- it just isn't designed for anything like this) You'll have better luck if you ask in, for example, a C# Programming forum. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
pyrochild Posted December 20, 2009 Share Posted December 20, 2009 (nor can this be properly accomplished with a plugin -- it just isn't designed for anything like this)[/i] A FileType plugin that saves in a text format is a perfectly reasonable solution. Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 20, 2009 Share Posted December 20, 2009 Actually you're right, it does kinda make sense. I'm not sure if save-only plugins actually work though. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
mcamp14 Posted December 20, 2009 Author Share Posted December 20, 2009 The only reason that I am asking is because I could do it by hand via the eyedropper tool and read off the RGB values, and I have done that, but it takes too long. I need a way to automate the process. I understand the Paint.NET is not a program to analyze images, but making it more flexible to be able to do that could bring along more uses. Astronomy is all about taking pictures and changing them into numbers so that one can run a statistical analysis on it. That is what I hope to use Paint.NET for. Besides, I would make a plugin for myself, but I am not well versed in C#, I am more of an LaTeX, HTML, Visual Basic kind of guy. Quote My Humble Gallery Astronomy Fans group on facebook I see things, I'm an astronomer Link to comment Share on other sites More sharing options...
pyrochild Posted December 20, 2009 Share Posted December 20, 2009 Post the details of how you want the output text file formatted. Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
mcamp14 Posted December 20, 2009 Author Share Posted December 20, 2009 All that I am think is something like below: Rpix1 Gpix1 Bpix1 Rpix2 Gpix2 Bpix2 etc This would work if the image is either one pixel high and x pixels wide or 1 pixel wide and x pixels high. Separation could be something like a tab or a space or anything that is not contained in the numbers. See below for another example. 102 222 184 194 203 143 143 132 100 003 050 023 Something like that would be perfect. Quote My Humble Gallery Astronomy Fans group on facebook I see things, I'm an astronomer Link to comment Share on other sites More sharing options...
pyrochild Posted December 20, 2009 Share Posted December 20, 2009 I'm not sure if save-only plugins actually work though. They do, but load-only has issues Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
pyrochild Posted December 20, 2009 Share Posted December 20, 2009 @mcamp14: try this FileType plugin and let me know if it suits your purposes. Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted December 22, 2009 Share Posted December 22, 2009 I have also provided a solution by way of a standalone app. I guess mcamp14 is spoiled for choice 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...
mcamp14 Posted December 24, 2009 Author Share Posted December 24, 2009 @mcamp14: try this FileType plugin and let me know if it suits your purposes. Hey thanks pyrochild, but there is a problem. When I attempt to save the file, it brings up an error saying: "Saving Not Supported". I appreciate the try, but maybe your dll filetype plugin is not compatible with 3.5.1 Quote My Humble Gallery Astronomy Fans group on facebook I see things, I'm an astronomer Link to comment Share on other sites More sharing options...
Frontcannon Posted December 24, 2009 Share Posted December 24, 2009 Can't you just copy the values in the Excel file? Quote Night Vision Text Effect Tutorial Gallery reddit.com/r/futurebeats | My Mixcloud Link to comment Share on other sites More sharing options...
Sarkut Posted December 24, 2009 Share Posted December 24, 2009 mcamp14, The plugin saves okay on my system. XP - PdN 3.51 Quote Link to comment Share on other sites More sharing options...
pyrochild Posted December 25, 2009 Share Posted December 25, 2009 @mcamp14: try this FileType plugin and let me know if it suits your purposes. Hey thanks pyrochild, but there is a problem. When I attempt to save the file, it brings up an error saying: "Saving Not Supported". I appreciate the try, but maybe your dll filetype plugin is not compatible with 3.5.1 There's a bug in Paint.NET involving load-only filetypes. Remove any load-only filetype plugins from Paint.NET, and it should work. If you're not sure which ones are load-only, you can remove all of them. Just put them in a temporary folder and put them back when you're done. Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
mcamp14 Posted January 3, 2010 Author Share Posted January 3, 2010 @mcamp14: try this FileType plugin and let me know if it suits your purposes. Hey thanks pyrochild, but there is a problem. When I attempt to save the file, it brings up an error saying: "Saving Not Supported". I appreciate the try, but maybe your dll filetype plugin is not compatible with 3.5.1 There's a bug in Paint.NET involving load-only filetypes. Remove any load-only filetype plugins from Paint.NET, and it should work. If you're not sure which ones are load-only, you can remove all of them. Just put them in a temporary folder and put them back when you're done. I appreciate your help, but EER has got me covered in the stand-alone executable. Quote My Humble Gallery Astronomy Fans group on facebook I see things, I'm an astronomer 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.