Opening image from command prompt

M
Posted By
matt
Jul 24, 2007
Views
942
Replies
0
Status
Closed
I am writing a program in Java that handles images. I would like to have a button that allows the user to edit the current image using photoshop. I am using CS2 and figured that I would be able to run the photoshop.exe file with the image as the parameter passed in (example: from the command prompt: C:/Progra~1/Adobe/AdobeP~2/Photoshop.exe image.jpg). Now after doing that, Photoshop loads and yes, image.jpg is in the directory I am starting in, but no image comes up. I do not know if more parameters are needed or if this simply will not work. I was having trouble searching for this but really, any approach to this problem will do.

Thanks,
Matt

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

Related Discussion Topics

Nice and short text about related topics in discussion sections