This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Based on Adobe Community Forums member BlipAdobe's script: | |
// http://forums.adobe.com/message/3908198#3908198 | |
#target photoshop | |
// Constants | |
var QUANTIZE_PIXELS = 1; // The number of whole pixels we wish the path points to be quantized to | |
var PIXEL_RATIO = app.activeDocument.resolution / 72; // Standardize pixels and points | |
// Some helpers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Photoshop script for adding measurements to your mockups, | |
based on Pixel Measure v0.04 by Nikolaj Selvik (https://code.google.com/p/pixelmeasure/) | |
To install: Place in /Applications/Adobe Photoshop CC/Presets/Scripts/ and restart Photoshop. | |
To use: Draw a rectangle marquee and invoke from File > Scripts > Pixel Measure - Asset. | |
Tips: | |
- Set your foreground color to something visible (e.g., red). | |
- Set your Measurement Scale (Image > Analysis > Set Measurement Scale). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Photoshop script for adding measurements to your mockups, | |
based on Pixel Measure v0.04 by Nikolaj Selvik (https://code.google.com/p/pixelmeasure/) | |
To install: Place in /Applications/Adobe Photoshop CC/Presets/Scripts/ and restart Photoshop. | |
To use: Draw a rectangle marquee and invoke from File > Scripts > Pixel Measure. | |
Tips: | |
- Set your pencil to 1x1 and your foreground color to something visible (e.g., red). | |
- Set your Measurement Scale (Image > Analysis > Set Measurement Scale). |