Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

doc.resizeImage based on percentage? is this possible

$
0
0

Is there a way to use the "doc.resizeImage" function but resize based on percentage? 

 

I've tried the follow but I get errors...

 

doc.resizeImage(UnitValue(0.50,"%"),UnitValue(0.50,"%"),null,ResampleMethod.BICUBIC);

doc.resizeImage(UnitValue(50,"%"),UnitValue(50,"%"),null,ResampleMethod.BICUBIC);

Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>