PhotoShop图像的命令行操作 [英] Command line manipulation of PhotoShop images

查看:813
本文介绍了PhotoShop图像的命令行操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有用于从命令行编辑PhotoShop文件的工具?

Are there any tools for editing PhotoShop files from a command line?

我想在我们的自动构建过程(MS Build)中增加一些步骤,该过程采用我们的艺术家制作和生产的.png文件原始的PhotoShop文件;我正在查看很少的操作,例如photoshop-to-png,调整大小以及可能显示/隐藏图层.我没有很多运气找到可以用于此目的的工具.

I would like to add steps to our automated build process (MS Build) that takes original PhotoShop files that our artists make and produce .png files; I'm looking at a very few operations like photoshop-to-png, resize and possibly showing/hiding layers. I haven't had a lot of luck finding a tool I can use for this.

如果可以使用Photoshop本身或Photoshop实用程序编写脚本,那就太好了.

If it is possible to script this with Photoshop itself, or a Photoshop utility, that'd be awesome.

推荐答案

针对您的情况,您有一些选择:

You've got a few options in your case:

  1. 使用变量/数据集在Photoshop中
  2. 使用JavaScript(jsx)作为b3bop.最快的入门方法是打开ExtendScriptToolkit(应在Adobe实用工具中),连接到Photoshop并打开用于Photoshop的对象模型查看器.如果有帮助,Photoshop还支持Windows上的VB.
  3. 通过 Matlab/Photoshop的
  4. 命令行操作(尽管对于您当前的用例而言,可能有点过多).
  1. Using variables/datasets in Photoshop
  2. As b3bop, using JavaScript(jsx). Quickest way to get started is to open up ExtendScriptToolkit (should be in the Adobe Utilities),connect to Photoshop and open the Object Model Viewer for Photoshop.If it helps, Photoshop also supports VB on Windows.
  3. CommandLine manipulation via Matlab/Photoshop (though this might be a bit much for your current use case).

这篇关于PhotoShop图像的命令行操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆