从c#应用程序在photoshop中打开图像 [英] open images in photoshop from c# application

查看:395
本文介绍了从c#应用程序在photoshop中打开图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用c#开发一个应用程序。在这个应用程序中,我想加载图像,这些图像在photoshop中打开,编辑完成后,这些图像将保存在相同的位置。 Pl让我知道这是否可行以及
如何做。

I'm developing an application using c#. In this application I want to load images and these images get opened in photoshop and after editing is done these images get saved at same place from those get loaded. Pl let me know if this is possible and how to do it.

推荐答案

为了在外部应用程序中打开图像,您需要要么依靠操作系统将该应用程序作为文件扩展名的默认程序,要么自己对应用程序进行硬编码。在任何一种情况下,您都将使用

处理
以启动外部应用程序。与在IE中加载URL相关的链接中的示例最接近您想要的。
In order to open an image in an external app you'd need to either rely on the OS to have that app as the default program for the file extension or hard code the app yourself. In either case you'll use Process to start the external app. The example in the link related to loading a URL in IE is closest to what you'd want.


这篇关于从c#应用程序在photoshop中打开图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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