open images in photoshop from c# application RRS feed

  • Question

  • 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.
    Thursday, July 5, 2018 2:57 PM

All replies

  • 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.

    Michael Taylor http://www.michaeltaylorp3.net

    Thursday, July 5, 2018 5:16 PM
  • So, you are going to assume that all of your users have PhotoShop installed?

    You can find out where PhotoShop is installed in the registry, and from there you can launch the executable and pass it an image file.  However, you cannot force the user to save the changes to the same spot.  The user would have to know that you want him to overwrite the original file.

    Will this be different editing for each file?  The ImageMagick tool can be invoked from a command line, and you are in complete control of where the resulting images are copied.

    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    Thursday, July 5, 2018 8:37 PM
  • Hi freaklarner,

    Thank you for posting here.

    For your question, please try to use Adobe Photoshop CS5 Object Library.

    You could try the steps in the link below.


    Best Regards,


    Note: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. 

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, July 6, 2018 8:14 AM