First timer here so hopefully can get some advice. Is there a way to include effect styles scaling in the fit image.jsx script? My current problem is when the script runs it doesn't scale layer styles like an "image resize" would do and the effects goes whack at different dimensions. Is there another way of using image resize in my action to fit both landscape or portrait images into a fix square at different dimensions?
My current actions are
Trim
Fit Image W3800 x H3800
Canvas Size W4000x H4000
My current actions are
Trim
Fit Image W3800 x H3800
Canvas Size W4000x H4000
- 13 Posts
- 0 Reply Likes
Posted 3 years ago
- 20280 Posts
- 830 Reply Likes
You can add the flag to scale layer styles to the script.
But layer style scaling has it's limits (because of the limits of styles) and won't always scale as expected.
But layer style scaling has it's limits (because of the limits of styles) and won't always scale as expected.
- 13 Posts
- 0 Reply Likes
Thanks for taking the time to respond. I tried to convert all layers to one smart object and using the fit image script, the effects style does maintain its look, but the problem is when i upscale the image the smart object looks like a raster image instead of scaling like a vector smart object would.
- 20280 Posts
- 830 Reply Likes
Well, yes, of course -- you are scaling a raster image, not a vector.
- 13 Posts
- 0 Reply Likes
Yes i do understand that but is it possible to keep the scalability of a vector smart objects with effects style while using fit image action?
- 20280 Posts
- 830 Reply Likes
No, because you are scaling a raster image.
- 13 Posts
- 0 Reply Likes
If thats the case what would you suggest if i wish to achieve upscaling a vector smart object (pdf) to a fixed square dimension in an action without losing quality?
- 833 Posts
- 201 Reply Likes
Add this to your script: http://www.creativetechs.com/tipsblog... Only this way will work.
But it has limits e.g. drop shadow can be max 250px
But it has limits e.g. drop shadow can be max 250px
- 13 Posts
- 0 Reply Likes
Would the command be able to apply to both up and down scaling? If so where do I put them in the fit image.jsx script? Thanks
- 13 Posts
- 0 Reply Likes
Just another note I have zero experience with scripting so would be great if you can point me a guide I can follow.
- 833 Posts
- 201 Reply Likes
This script can do it. http://blog.kam88.com/en/transform-ea... But seems to be compiled. I don't know how to write this in code... maybe you can find it somewhere here: http://www.adobe.com/devnet/photoshop...
- 13 Posts
- 0 Reply Likes
Thanks JB, this almost does it, but somehow it's not working that well on some of my files as some layers didn't scale together.
- 13 Posts
- 0 Reply Likes
I think if we can get the Scale Styles check box into the fit image.jsx than my question would be answered
Jaroslav Bereza
Jaroslav Bereza
Ricky Boyce