mxdsP
Community Beginner
mxdsP
Community Beginner
Activity
‎Mar 11, 2024
03:05 AM
Okay, thank you for your time and help, I really appreciate it. I will tinker a bit, and adjust as you mentioned. Can this function be replaced function fitImage(fWidth, fHeight) {
/* NEARESTNEIGHBOR | BILINEAR | BICUBIC | BICUBICSMOOTHER | BICUBICSHARPER | BICUBICAUTOMATIC */
if (activeDocument.height.value > activeDocument.width.value) {
activeDocument.resizeImage(null, UnitValue(fHeight, "px"), null, ResampleMethod.BICUBIC);
} else {
activeDocument.resizeImage(UnitValue(fWidth, "px"), null, null, ResampleMethod.BICUBIC);
}
} with this automation? Because the automation constrains the image to either width or hight withouth breaking the boundaries.
... View more
‎Mar 11, 2024
02:15 AM
@Stephen Marsh - Never mind, I'm just slow in the head. But the output files I get are not constrained to either max-height/max-width of the guide, it only obides to the first value on the height.
... View more
‎Mar 11, 2024
02:01 AM
@Stephen Marsh - Okay, I think I am missing something. I can't seem to figure out where to add the action to the Batch.
... View more
‎Mar 08, 2024
03:08 AM
@Stephen Marsh - For simplicity just go with pngs only as input files, because thats like 95% is png. That was just 3 images of the same product series. So file is single-layer, sorry for the confusion. File examples here, webP files are the goal. https://we.tl/t-DSlawD0NVU
... View more
‎Mar 07, 2024
11:29 PM
@Stephen Marsh - thank you! Input images are a blend of jpeg | png | webp. Images are in sub-folders under top-level folder so if this can be handled, that would be very cool. Output file should be webP transparant with inner guide at w1300px h1800px and upscaled/downscaled from input files. Files should be saved back in the source folder and have suffix ex. 2210x2210.
... View more
‎Mar 07, 2024
05:14 AM
@Stephen Marsh, thank you for this, I think your approach is smarter than my overthinking, haha. I would still wanna just use your script approach, from an input folder, I just really wanted to automate (or at least semi-automate) the process of image scaling with margins and webP output. Any way to automate such process in PS, because I need to go through 10k+ images, thats why I wanted to try and find a bulk solution and I ended in this tread to begin with. Again really appreciate your help!
... View more
‎Mar 07, 2024
01:05 AM
Background will always be transparent, both input and output. What I want to achieve is input files is constricted to the guide either by max-height of 1800px or max-width of 1400px, without breaking the aspect ratio of the input file. Canvas here is h2210px w2210px In this example the image is originally w776px h1114px, then it should be resized to either h1800px or w1400px, in this case h1800px and w1249px.
... View more
‎Mar 06, 2024
05:25 AM
I want to resize the input to to be resized to 1400x1400px and centered and canvas at 2100x2100px; so that the output will be a 2100x2100px webP file.
... View more
‎Mar 06, 2024
05:01 AM
Hi @Stephen Marsh, How can we add a possibility to resize the image to ex. 1400x1400px centered, while maintaining canvas at 2100x2100px, still bulk to webp? Thanks in advance
... View more