I have an image in photo shop that looks like this...
I know that the length of the blue line has to be 20mm, how can I resize the whole image to scale?
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI have an image in photo shop that looks like this...
I know that the length of the blue line has to be 20mm, how can I resize the whole image to scale?
In case you'd want to work in pixels, there's a script I made called Quick Resize that is a part of free scripts pack Scriptorator. It allows to resize an image based on a selected layer or a selection:
Your question is hard (impossible?) to answer because we don't know why or where you need the image to be to scale and we don't know what happens with the image afterwards.
If your image is for web and you want it to be to scale on every screen it's displayed on
Forget it. Different screens have different resolution (pixels per inch), so it's impossible to make an image which is automatically shown at a certain physical size.
If your image is for personal use and you just need it to be to scale on your screen
resolution [px/cm]
= width of display [px]
/ width of display [cm]
wanted width [px]
= resolution [px/cm]
× wanted width [cm]
scale factor [%]
= wanted width [px]
/ actual width [px]
× 100%
If your image is for printing on your own printer
resolution [px/inch]
= ( actual width [px]
/ wanted width [cm]
) × 2.54 [inch/cm]
If your image is for printing commercially
I strongly recommend using a vector based layout application like InDesign/Illustrator/Inkscape etc. You'll have total control with the physical size of elements without having to do all the pixel math. Se my answer to how to scale an image so that part of the image gets a specific size.