midora Posted April 1, 2013 Share Posted April 1, 2013 Plugin which allows the digital image editor "Paint.NET" to take measurements of the active selection or of the whole image. This works for regular shapes like rectangles, for irregular ones, and for not connected shapes. You may set unit, dpi and scale if you have to do measurements in a map or a technical drawing. Measured values are area and centroid of the selection area, width, height, diagonal, and angles of the bounding rectangle. So if you like to measure the distance between two points in the image just use a selection rectangle form one point to the other and check the value for 'Diagonal' in Measure Selection. You may use the resulting angle value to straighten your image using the rotate tool. Or if you need the area of a cirle just use a circle selection. Download >> MeasureSelection.Effect v1.5.zip Example Installation Unzip "MeasureSelection.Effect vX.X.zip" and copy the following files MeasureSelection.dll, MeasureSelection.dlc into the Effects folder of your Paint.NET installation. A typical location is "C:\Program Files\Paint.NET\Effects". OptionBasedLibrary vY.Y.dll, OptionBasedLibrary vY.Y.dlc into the folder of your Paint.NET installation (not into the Effect folder!). A typical location is "C:\Program Files\Paint.NET". Mod note: The OptionBasedLibrary .dll and .dlc are now required to be placed in the Effects folder. After a restart of Paint.NET you will find the plugin under Menu->Effects->Tools. Compatibility Paint.NET 3.5.11+ Language support English Deutsch: Ist in Paint.NET als Sprache 'Deutsch' ausgewählt, dann sind auch die Dialogtexte und die Texte auf der erzeugten Seite in deutscher Sprache. You may add your own translation to MeasureSelection.dlc Package content The effect dll file The effect dlc file (unicode txt file containing keywords) The OptionBasedLibrary dll file The OptionBasedLibrary dlc file (unicode txt file containing keywords) A readme file An image of the effect dialog Instructions Do or do not make a selection in an image Open plugin (Menu->Effects->Tools->Measure Selection...) Select unit, resolution, and scale value which will be used to show the results of the measurement. If you close the dialog using OK, the settings of unit, resolution, and scale will be saved and used in the next call of the plugin. Release History 1.5 (26.3.2014) - Added top/left and bottom/right coordinate - Updated to OptionBasedLibrary 0.6 1.4 (15.10.2013) - Patches to support Paint.NET 4.0 1.3 (12.10.2013) - Added angles of the diagonal inside of the minimal bounding rectangle. - Replaced simple text controls with a drawing showing the results. 1.2 (9.5.2013) - Added 'Centroid of selection' information - Moved the OptionBased part of the plugin to a separate dll. 1.1 (2.4.2013) - Renamed MeasureSelection.txt to MeasureSelection.dlc - Added optional default value keys to the .dlc file - Moved some information from code to the assembly part of the dll 1.0 (1.4.2013) - Initial release based on OptionBasedEffect library. 1 1 Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted April 2, 2013 Share Posted April 2, 2013 Works like a charm. Useful addition to my toolbox. Thanks Martin! 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...
midora Posted April 2, 2013 Author Share Posted April 2, 2013 Works like a charm. Useful addition to my toolbox. Thanks Martin! Danke für die Blumen (this will be difficult to translate because the meaning depends on intonation ;-) Because I'm lazy I added the possibility to set the default values in the configuration file (I always need Meter, 300dpi, 1:50) So there is an update: 1.1 (2.4.2013) - Renamed MeasureSelection.txt to MeasureSelection.dlc (please delete MeasureSelection.txt) - Added optional default value keys to the .dlc file - Moved some information from code to the assembly part of the dll I hope Rick will include - at some time - the dpi value of the image to the Environment of Effects. And to add a scale value to the resize dialog or somewhere else would help to get the scaled values in the status line during selection. Quote Link to comment Share on other sites More sharing options...
midora Posted May 9, 2013 Author Share Posted May 9, 2013 Update 1.2 (9.5.2013)- Added 'Centroid of selection' information- Moved the OptionBased part of the plugin to a separate dll. You may change the submenu of the effect in the MeasureSelection.dlc file (key MeasureSelection.SubmenuName) Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted May 9, 2013 Share Posted May 9, 2013 ... You may change the submenu of the effect in the MeasureSelection.dlc file (key MeasureSelection.SubmenuName) It this functionality wise? Why would a user need to move the location? I don't mean to be criticizing - just would like to know your thinking on this 'feature'. 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...
midora Posted May 10, 2013 Author Share Posted May 10, 2013 It this functionality wise? Why would a user need to move the location? I don't mean to be criticizing - just would like to know your thinking on this 'feature'. Fair comments are always fine. This is a never ending discussion and there are a lot of pros and cons. Typically I'm more on the pro side. But the reason for this is easy. If you allow the user to translate the plugin via the the .dlc file then you have to allow to translate the submenu name too. Changing the location is a side-effect of the translation feature. BTW: It is possible to add one of standard Paint.NET names which requests Paint.NET to do the translation. I.e. MeasureSelection.SubmenuName=SubmenuNames.Render We may open a discussion thread about OptionBasedLibrary features and discuss it there. Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted May 10, 2013 Share Posted May 10, 2013 Sound thinking on the translation issue! I hadn't thought of that. 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...
stylista Posted September 5, 2013 Share Posted September 5, 2013 The pixel areal measures were useful to me to demonstrate how pictogram bar-graphs can be misleading. Thank you for providing this tool! Quote Link to comment Share on other sites More sharing options...
midora Posted October 13, 2013 Author Share Posted October 13, 2013 Update 1.3 (12.10.2013)- Added angles of the diagonal inside of the minimal bounding rectangle.- Replaced simple text controls with a drawing showing the results. Quote Link to comment Share on other sites More sharing options...
midora Posted October 15, 2013 Author Share Posted October 15, 2013 Update 1.4 (15.10.2013)- Patches to support Paint.NET 4.0 Quote Link to comment Share on other sites More sharing options...
barbieq25 Posted October 15, 2013 Share Posted October 15, 2013 Thank you for all your hard work in writing plugins to make crating images that much easier 1 Quote Knowledge is no burden to carry. April Jones, 2012 Gallery My DA Gallery Link to comment Share on other sites More sharing options...
midora Posted March 26, 2014 Author Share Posted March 26, 2014 Thank you for all your hard work in writing plugins to make crating images that much easier Thanks. Just sharing a little bit with the community. Update 1.5 (26.3.2014) - Added top/left and bottom/right coordinate - Updated to OptionBasedLibrary 0.6 Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted October 11, 2017 Share Posted October 11, 2017 Does anyone have a copy of the v1.5 zip? 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...
Djisves Posted October 12, 2017 Share Posted October 12, 2017 I tried to attach it to a PM but I could not figure out how to. So, here it is. MeasureSelection.Effect v1.5.zip Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted October 12, 2017 Share Posted October 12, 2017 Thank you @Djisves! I'll add it this evening. 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...
Ego Eram Reputo Posted October 14, 2017 Share Posted October 14, 2017 Added link to zipped DLL. 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...
gendalf Posted January 13, 2020 Share Posted January 13, 2020 add an option to input measurements - to change the thing on the fly for simple figures and selections Quote Link to comment Share on other sites More sharing options...
BoltBait Posted January 13, 2020 Share Posted January 13, 2020 2 hours ago, gendalf said: add an option to input measurements - to change the thing on the fly for simple figures and selections Maybe you are looking for this effect: https://forums.getpaint.net/topic/112948-v12/ Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Djisves Posted April 6, 2020 Share Posted April 6, 2020 The download link on the first post does not work. The one on my post above does. Quote Link to comment Share on other sites More sharing options...
Pixey Posted April 6, 2020 Share Posted April 6, 2020 3 hours ago, Djisves said: The download link on the first post does not work. The one on my post above does. Thanks @Djisves I have added your working link to the first page. You are going to find, as you've been away for a while, that a lot of links to Plugins may not work as folks, like @Martin Osieka who was also @midora has been gone from the forum for years. Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
robjamell Posted June 24, 2020 Share Posted June 24, 2020 Hi - I am not understanding how to use the scale setting. Quote Link to comment Share on other sites More sharing options...
STELIOSCHRISTODOULOU Posted February 11, 2023 Share Posted February 11, 2023 (edited) Hello, I installed this Tool, as I'm advised, in my Paintnet (v.4.3.12) but the Tools doesn't appear in Effects->Tools window (I've restarted the programm, even the pc) I've been noticed about the OptionBasedLibrary V0.6 files issue, (I've put them in Files folder, but even in the Paintnet folder nothing is working) What I'm doing wrong? (thanx in advance) Edited February 11, 2023 by STELIOSCHRISTODOULOU Quote Link to comment Share on other sites More sharing options...
Pixey Posted February 11, 2023 Share Posted February 11, 2023 2 hours ago, STELIOSCHRISTODOULOU said: What I'm doing wrong? Nothing. I too am having trouble seeing the Plugin in v.5.0.1. We must wait for @midora to see this. Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
Rick Brewster Posted February 11, 2023 Share Posted February 11, 2023 2 hours ago, STELIOSCHRISTODOULOU said: Hello, I installed this Tool, as I'm advised, in my Paintnet (v.4.3.12) but the Tools doesn't appear in Effects->Tools window (I've restarted the programm, even the pc) I've been noticed about the OptionBasedLibrary V0.6 files issue, (I've put them in Files folder, but even in the Paintnet folder nothing is working) What I'm doing wrong? (thanx in advance) You'll need to make sure you're using the latest version of Paint.NET, which is currently 5.0.1. There is no support for older versions. 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...
STELIOSCHRISTODOULOU Posted February 12, 2023 Share Posted February 12, 2023 (edited) 20 hours ago, Rick Brewster said: You'll need to make sure you're using the latest version of Paint.NET, which is currently 5.0.1. There is no support for older versions. As I've noticed, I'm using 4.03.12 as it runs on a 32bit system. As far as I know, 5.0 runs only on 64bit, correct? Edited February 12, 2023 by STELIOSCHRISTODOULOU Quote 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.