Category Archives: Photoshop Scripts

A small photoshop script for us Texture artists.

Hi I am currently working alot with creating tileable textures from photographs and I got tired of the annoying process of calculating the realworld scale of the object.
Download here
Works for Photoshop CS2 and CS3, Does not work in CS..

The functions is very simple.
Watch this video for example…

  1. You create a linepath in photoshop representing a real value.
  2. Run my script and it measures that line and gives you the value in pixels.
  3. you type in what the real value was for this distance for example. 300mm
  4. Press Set Dpi and it sets the Dpi value for the image
  5. Now if you use the measue tool or go into image size it should show the realworld value of that texture..


  1. Save or move the file OS3DSetDpi v02.jsx to \Adobe\Adobe Photoshop CS3\Presets\Scripts\
  2. Restart photshop

Tip! Watch video for installation of action
To simplify usage do record an action where you do the following:

  1. Create new document and draw a single line path in it. 
  2. Run the script from file/scripts/OS3DSetDpi v02. Type in anything.
  3. Go to paths and delete the work path
  4. Done!
  5. Optionally: Assign an ShortCutKey to run this more easily.