Views
288
Replies
5
Status
Closed
I routinely need to take files from digital cameras and make them 300ppi 4×6" for proofing output. I need to automate this. Since the camera rotates vertical images, I need to do this in such a way that it works correctly for both vertical and horizontal images. I’ve been trying to do this with "fit image," but the size never quite works out the way I want.
A 4×6 300dpi image should be 1800x1200px. If I take the original file (3072x2048px in this case) and fit it to 1800px (both dimensions), I end up with a file that is 1800x1199px — 1 pixel too small on the short dimension. If I take the original file, change it to 300ppi (no resampling) in Image Size and then fit it to 1800px, I end up with a file that is 1800x1201px — 1 pixel too large on the short dimension. If I simply resize in Image Size to 4x6in 300ppi (with resampling), I get the expected 1800x1200px file, but that won’t work the same for both verticals and horizontals so it makes automation a pain.
When the image is 1 pixel bigger than I want, I could obviously just change the canvas size to chop off the extra pixel. But that feels like a hack around something that isn’t working right; I’d rather figure out what I’m doing wrong and fix it the right way. I also don’t want to end up doing that and then run the action on a file from another camera only to find out that the result was 1 pixel smaller instead of bigger.
What I’m doing right now to work around this is resizing based on percentage. However, that assumes that the input file will be a very specific size every time, and I don’t like to build that assumption into my actions if I don’t have to…
A 4×6 300dpi image should be 1800x1200px. If I take the original file (3072x2048px in this case) and fit it to 1800px (both dimensions), I end up with a file that is 1800x1199px — 1 pixel too small on the short dimension. If I take the original file, change it to 300ppi (no resampling) in Image Size and then fit it to 1800px, I end up with a file that is 1800x1201px — 1 pixel too large on the short dimension. If I simply resize in Image Size to 4x6in 300ppi (with resampling), I get the expected 1800x1200px file, but that won’t work the same for both verticals and horizontals so it makes automation a pain.
When the image is 1 pixel bigger than I want, I could obviously just change the canvas size to chop off the extra pixel. But that feels like a hack around something that isn’t working right; I’d rather figure out what I’m doing wrong and fix it the right way. I also don’t want to end up doing that and then run the action on a file from another camera only to find out that the result was 1 pixel smaller instead of bigger.
What I’m doing right now to work around this is resizing based on percentage. However, that assumes that the input file will be a very specific size every time, and I don’t like to build that assumption into my actions if I don’t have to…
MacBook Pro 16” Mockups 🔥
– in 4 materials (clay versions included)
– 12 scenes
– 48 MacBook Pro 16″ mockups
– 6000 x 4500 px