Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Late binding / COM for opening an image into GIMP?
#1
Hey guys, I'm looking for a way to use .net to open up a application in Gimp,

Something like:


Code:
dynamic app= Activator.CreateInstance(Type.GetTypeFromProgID("Gimp.Application", true));
app.Load("D:\a.png");
Reply
#2
AFAIK nothing Windows specific to start Gimp. If you want to use Gimp from some other application, start it like an external application.
Reply
#3
(08-04-2017, 08:09 PM)Ofnuts Wrote: AFAIK nothing Windows specific to start Gimp. If you want to use Gimp from some other application, start it like an external application.

Do you know if it has a CLI argument to pass it and load an image once I've opened it? Thanks!
Reply
#4
The GIMP command line options are detailed here: https://www.gimp.org/man/gimp.html
Reply


Forum Jump: