(对于科学:神棍去屎,不会的请闭上嘴)
1.jpg等图片小于1M的,网上有详细教程,就是用ISEE工具的批量处理-文字功能,可以以文件名作为页码,批量处理。
2.jpg等图片大于1M的,如果用ISEE,我这里是导出“成功”后是0kb,这时就要用PS的脚本+动作+批处理,
首先是脚本,网上有详细的脚本代码,这里copy that
docref=activeDocument
//定义颜色:黑色
r=0;
g=0;
b=0;
//定义位置:窗口-信息查看坐标范围(F8)
x=22.44;
y=29.44;
//定义大小,10~30
size=15;
var layerRef = docref.artLayers.add()
layerRef.kind = LayerKind.TEXT
var textItemRef = layerRef.textItem
//content其中“.”表示后缀 . 往前所有的字符作为页码
var docname =activeDocument.name
docname=docname.substring(0,docname.lastIndexOf("."))
//size
textItemRef.size=size
//position
textItemRef.position=Array(x,y);
//color
var textcolor= new SolidColor;
textcolor.rgb.red=r;
textcolor.rgb.green=g;
textcolor.rgb.blue=b;
textItemRef.color=textcolor;
//font
textItemRef.font= 0;
textItemRef.contents =docname;
//合并可见图层
layerRef.merge();
然后是动作,动作就是打开-脚本-存储-关闭,记录即可
然后是批处理,注意目标为 存储并关闭 即可。
最后就可以了。不会的可以私我。