Resize Problem

magpieant

Suspended / Banned
Messages
2,043
Edit My Images
No
This is probably a simple question, but it's late and I'm tired - so not seeing the answer!

I have recently joined a photo club. I am about to submit my first images for competition but the club rules stipulate "The images must be submitted at a resolution of 1024x768 PPI and also 1400x1050".

I don't want to crop my images to this size - and have been told I am allowed to make up this size by adding a border.

How do I add the border to ensure that I get it to exactly these sizes? Also, will the image be central in the border ? I have had a play with image > resize > canvas size but cannot figure how to set the overall image dimensions.

I am using CS 4.

Any help, greatly appreciated.

Cheers

Anth.
 
Image->Image Size...
 
PS. PPI are meaningless here. What they want is an image sized at 1024x768 and/or 1400x1050 pixels.
 
Image > Image size will not work if the proportions/ratio of the original image are not the same as 1024 x 768.

Cheers WillNich - that seems to have sorted it now.

Anth
 
Easy way is to use the crop tool (bear with me on this). Make sure the background colour is set to the colour you want the border to be.

Set the resolution in the boxes atthe top. 1024px wide/high by 768 px in the other box.

With the crop tool drag over the whole image - This will show that part of your image will be cropped but that is ok. Now press Shift and drag out one of the corners until you are happy the whole image is selected - move the crop so that the border is even and press enter.

You will now have an image that is 1024 x 768 and the suitable border

Image resize won't work unless the image fits 1024 x 768.
Canvas size will not work either unless the image is already smaller than 1024 x 768. Canvas size allows you to add a border around the image (uniform if you want centred or any other dimension in any direction) but to reduce the size, it would crop away your image.

Regards
JD
 
Last edited:
The easiest way is to use the fit image command and use an action. Those sizes are the maximum dimensions, the images don't have to be that shape, if you put in those two sizes (1400x1050 say) then fit image will make the image fit in an imaginary box that size, it wont alter the shape. Remember to do it on a duplicate image though, you want to keep your originals full size.
I already have an action made for those sizes (same as my mates camera club) if you pm me your email I'll happily send you a copy.
 
Last edited:
Here is a simple script that will create both document, you haven't stated what the width should be if Portrait so this will create Landscape and Portrait to the same size.

Code:
#target photoshop
function main(){
if(!documents.length) return;
var startRulerUnits = app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.PIXELS;
var white = new SolidColor(); 
white.rgb.hexValue = 'ffffff';
app.backgroundColor= white;
app.activeDocument.duplicate();
FitImage(1400,1050);
app.activeDocument.resizeCanvas(1400, 1050, AnchorPosition.MIDDLECENTER );
app.activeDocument=documents[0];
FitImage(1024,768);
app.activeDocument.resizeCanvas(1024, 768, AnchorPosition.MIDDLECENTER );
app.preferences.rulerUnits = startRulerUnits;
}
main();
function FitImage( inWidth, inHeight ) {
	if ( inWidth == undefined || inHeight == undefined ) {
		alert( "FitImage requires both Width & Height!");
		return 100;
	}
	var desc = new ActionDescriptor();
	var unitPixels = charIDToTypeID( '#Pxl' );
	desc.putUnitDouble( charIDToTypeID( 'Wdth' ), unitPixels, inWidth );
	desc.putUnitDouble( charIDToTypeID( 'Hght' ), unitPixels, inHeight );
	var runtimeEventID = stringIDToTypeID( "3caa3434-cb67-11d1-bc43-0060b0a13dc4" );	
	executeAction( runtimeEventID, desc, DialogModes.NO );
}
 
It looks like you are going to submit projected images therefor when you go to images>resize all you have to do is change the width to 1024/1400 and leave the resultant size in the height box as the system selects, this is to keep the ratio the same as the image created in the camera, if you put in the 768/1050 for the height you could stretch the image. The same applies to the 1400 dimension, now, this applies to an image to be projected as a landscape if you are projecting a portrate image then you only put in the height ie. 768/1050 and leave the resultant dimension in the width box stay unaltered. The resolution can stay as originally taken by the camera ie 240ppi but this could be changed to 72ppi. If you do change to 72ppi then do this prior to changing the file sizes in the boxes at the top. When you change to 72ppi then the sizes in the boxes above automatically change and remember to rename the file when you save it so you keep the original.

The projector probably has a native projection of 1400x1050 but will also project at 1024x 768 so the best idea is to reset the image size to 1400 x 1050 for best projection.

I do not know about CS but I imagine it cannot be too far removed from Elements which I am basing the above on.

If you reqire a boarder then I leave this to those who know abou CS.

I hope this helps and is not too confusing.
 
Just shows there are so many different ways of doing things in photoshop. :)
This is how I would have done it, hopefully it makes sense.

aQnJP.jpg
 
Yes that's a decent way - But the resolution does not matter..... The ONLY thing that matters is the number of PIXELS - So try it

Drag your 1024 x 680px image onto a new page that is 1024 x 768 @ 3000ppi (or any ppi value you like - does not need to be the same)

The PPI makes no difference when saving as a pixel dimension.
 
Last edited:
Some great answers there folks - cheers.

In the end I did this ..

Resized image slightly smaller that the required dimensions.
Created a new blank file (plain black) with the required dimensions.
Dragged image on to blank file - to centre image and give it a black border.

Job done!

Cheers for all the help, as always!!

Anth
 
Why not just do as you have done to resize smaller say 10 pixels then go to canvas and increase size to original, make sure black is selected. "simples":thumbs:
 
Back
Top