By kirbsand/Kirby (5,484)
on September 19, 2012 9:29:29 AM CDT
back to how you calculate, step by step
The may have been covered somewhere else, but I couldn't find it. The question comes up constantly in photo critiques on this site and so I wanted a place to refer people to.
How to you figure out how big you can submit your photo?
You are allowed 640000 pixels, your photo allready has a specific amount of pixels  probably more. How much do you resize it?
In words, you first figure out how many pixels you have, take the ratio of the pixels you have to the pixels you want and then multiply the square root of that ratio by your current hight and width to get your new hight and width.
WAIT!
Where does square root come in?! You ask.
lets say your photo is 4 x 4 for 16 pixels, but you are only allowed 4 pixels. This is obviously silly, but it makes the math easy. Your photo is square, and everyone knows that the square that has 4 pixels is a 2 by 2 square. The ratio of your current area to your desired area is 4 to 1, but the ratio of your disired side lengths to your current is 2 to 1. This is because the ratio of the lengths gets multiplied by itself (squared) when creating the area.
back to how you calculate, step by step
 figure out your current area  (X*Y)
 figure out the ratio of your current area to your desired area  (X*Y/640000)
 take the square root of the previous step to get your desired dimension ratio  ( (X*Y/640000)^.5)
 multiply the desired dimension ratio times your length and width to get the new dimensions
 the formulas for that are Width=X*( (X*Y/640000)^.5) and Height=Y*( (X*Y/640000)^.5)
It may look complicated, but it is very easy to put in a spreadsheet and have it autocalculated for you just before you resize for submission.
Don't forget to resharpen after resizing.
Read 15,737 times
Reply

From 800lbjackalope/Aaron (1,830)
on October 17, 2012 1:49:36 AM CDT
For me I use the resize tool in CS5. I lock the aspect ratio and change the units of measure from inches or pixels to percentage in the new file size boxes. I leave the units of measure in the document size window as pixels. I then open the calculator. I enter an amount of size reduction by percentage that I think will get me close and before I apply I multiply the new pixel dimensions that are automatically generated in the document size window and if they are still to big I just enter a lower percentage until I am under the 640K. By using percentage with a locked aspect ratio there is no need to figure the square root. For reducing an average jpg file from my camera (T2i)I end up with a document reduced to about 20 to 30 percent of the original file size.
Reply


From swilcox/Steve (10,261)
on November 8, 2012 1:39:34 PM CST
Kirby  I like this idea, but it doesn't work for me. If I understand your process, shouldn't your ratio be 640000/(X*Y)?
Assuming my original is larger than the allowed 640000 pixels, the ratio in your formula will be greater than 1, as will be the square root. So in the final multiplications of X and Y, my new dimensions will be larger than the original rather than smaller.
I believe it gives the right results with the ratio inverted.
Reply


From jduckett/John (4,924)
on February 4, 2013 9:34:25 PM CST
I have written a little app that does the calculations for you. You enter the dimensions of your original image and the required number of pixels in the resized image. The app calculates the scaling percentage and the dimensions of the scaled down image.
I've only tried it on a Windows machine but as it uses .NET so I suppose it should be able to run on any OS that has .NET4 installed.
Get it here.
Please PM me to let me know what operating system you use and if it works for you. I've only just created a Rapidshare account for this so, if you have download problems, PM me about that too.
Reply


From robertwallis/Robert (15,546)
on July 29, 2013 10:37:36 AM CDT
Here's the simplified version of all this. X is the short dimension, Y is the long dimension, 640,000 is the maximum pixel area allowed for PSig postings. These formulas are the same thing as above except simplified a bit. Go to the Microsoft calculator on your computer and click on VIEW and set it to Scientific mode so you cam use the parentheses. I'm setting the formulas up so you can follow the keystrokes in sequence. Use the parentheses or you're screwed!
X/((X*Y/640,000)SQRT)= (resized short dimension). If you're using a real scientific calculator or the one on your smart phone, the square root is placed before the X*Y step due to calculator order of operations. Since virtually everyone are using resizing programs with constrain functions, just one dimension is needed and the program comes up with the other dimension. If you think you need the other formula, here it is;
Y/((X*Y/640,000)SQRT)= (resized long dimension) Some calculator versions may not have a square root symbol and may have a power function instead, in which case you use the ^.5 keystrokes. All this was in the last step, step 5, of Kirby's procedure. It's just set up to use your onboard calculator.
Reply


From doug99/Doug (6,182)
on September 1, 2013 3:49:43 PM CDT
The easiest way without all the mathematics is to use the email program in Fastone Image Viewer. Set one side at around 850 and another at 750 and then hit preview. It will show the total pixels. From there, click cancel and go back to the main screen to make adjustments to size and quality. You can also add a border if desired. When completed and you have an appropriate size with the quality between 97 and 100 (my requirements), save the email file to a folder. Then when you post, use that file and it will be posted at the desired size.
Reply


From pdmjoker/Phil (352)
on January 4, 2014 4:33:26 PM CST
I do this: resize photo so longest side is 800 pixels. Job done! Phil
Reply


From terrafirma/Adrian (6,245)
on March 24, 2014 11:48:47 AM CDT
Phil, I know you are a mathematician but isn't this the easy way out? What if your image is not square, e.g. panoramic, and you wanted the maximum amount of real estate possible?
Reply

Return to articles
