Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 72601

Re: Edit script from JPEG to PNG

$
0
0

When I use something like

 

function SavePNG(saveFile){
  pngSaveOptions = new PNGSaveOptions();
  activeDocument.saveAs(saveFile, pngSaveOptions, true, Extension.LOWERCASE);
}


it crops my image to match the size of the file. I have a smart layer in my psd file which I import other images to, and if one is smaller than the smart layer, it will be cropped which I can't have ? I'm not sure how to edit it.


Viewing all articles
Browse latest Browse all 72601

Trending Articles



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