Answers:
(在Photoshop CS4上测试)
ctrl + shift +c,2. ctrl + n,3. ctrl + v,4 ctrl + s.。5.ctrl + w
尝试使用“切片”工具选择区域,然后选择“文件”>“针对Web和设备导出”。
我通过创建一个脚本来解决这个问题 Presets\Scripts\Export Selection to PNG.jsx
代码如下:
app.displayDialogs = DialogModes.NO;
var pngSaveOptions = new PNGSaveOptions();
pngSaveOptions.compression = 9;
var hasSelection;
var docRef;
尝试{
hasSelection = !! app.activeDocument.selection.bounds;
} catch(err){
hasSelection = false;
}
如果(hasSelection){
app.activeDocument.selection.copy(true);
var w = app.activeDocument.selection.bounds [2];
var h = app.activeDocument.selection.bounds [3];
docRef = app.documents.add(w,h);
docRef.paste();
}其他{
docRef = app.activeDocument;
}
var file = File.saveDialog(“导出为PNG到...”);
如果(文件&&(((file.exists && Confirm(“覆盖” +文件+“?”)))||!file.exists)){
docRef.saveAs(file,pngSaveOptions,!hasSelection,Extension.LOWERCASE);
如果(hasSelection){
docRef.close(SaveOptions.DONOTSAVECHANGES);
}
}
上面的脚本将无选择作为“全选”处理,并检查目标文件是否存在以确认覆盖。
该脚本是从 File->Scripts->Export Selection to PNG