Pixnub Home › Forums › Face Crop › Any way to make presets for bigger ratios? › Reply To: Any way to make presets for bigger ratios?
There isn’t a way to override it. I can look into updating the plug-in.
The he 2:1 ratio limit is there for 2 reasons.
1. With high ratios, it typically puts the edge off canvas and when batching and the gap mode set to the default of “fit to canvas” it forces it to recrop tighter. When running the preset test, it doesn’t apply the gap mode settings as those are applied in batch post crop.
However, larger ratios would work if you changed the gap mode to transparent, or possible content aware fill when batching. This would prevent the plugin from re-cropping tighter and it would expand the canvas.
2. The second reason, and the main technical reason for the 2:1 ratio limit is because in prior Photoshop versions there was a limit of 30,000 pixels in either width or height for the canvas. So this would throw an error in cases where the users had large files and expanded the canvas beyond 30,000 pixels. Say for example they were using a 10:1 ratio and the image would normally be 3457 pix width when cropped 1:1. At 10:1, the would try to expand the canvas to 34,570 pix and throw an error. Even if the user had resampling set in the the preset to scale down, Face Crop would still have to expand the canvas to that huge amount before scaling down to save and would still throw an error. SO for example, if they were trying to save at 5000px x 500px, it would still expand the canvas in this example to 34,570 pix and throw an error before it could scale it to 5000 px.
I just did test in PS version 26.1 for canvas size since I haven’t testes this in a few years….. and it seems now, the canvas can be greater than 30,000. However, the save options are just limited to PSB, TIF, WEBP, and PNG if the canvas is larger than 30,000 pix. I doubt that anyone will try to actually save >30,000 anyway so this is really a non-issue I think.
So I think I could update this.
When do you need this by?
Also, what is the maximum ratio you need? I have to put some type of maximum. Maybe I could make it 8:1 for the limit. I can’t imagine ever needed anything more than that.
- This reply was modified 1 month, 3 weeks ago by Damon Bell.