rtpc at comcast.net
Wed Nov 26 15:31:01 CST 2003
Here's some details:
Photoshop plugins are DLLs, with all calls from the host using 1 entry point
( main ). But hopefully, we won't have to look at the P$ internals, because:
The GIMP for Windows has partial support for P$ plugins; the plugin host
being pspi.exe (source is available, but you need the SDK's header files to
compile it). My thought is to look into altering pspi to work with the UNIX
By "partial support", I mean it handles many PiPL filter plugins (.8BF). To
my knowledge, it does not support pre-P$ v2.5 plugins (PiKI), nor does it
support the Automation, Selection, or Color Picker modules that are sometimes
a part of P$ plugins. Also some filter functionality is missing (likely
missing the system and Adobe color pickers, for example). Otherwise it works
great (at least partial success with Flaming Pear, Xeno's (compiled
FilterMeister) filters, Luce, Stroik's Rubber, etc). Notable for not working
is Nic's various filters (which work in a checkboard fashion, some regions
with filter applied/applied only partially, some without).
Based on the date of the pspi source on his webpage, I'd bet he used either
the 5.x SDK or the 6.0 SDK.
In pspi's README, he says:
It might be possible to make it work also on i386 Unixes (Linux, FreeBSD,
Solaris), using Wine (www.winehq.org) to aid in running the code in
the Photoshop plug-in. (Or some similar commercial software.) (No, I
have no idea how this would actually be implemented, it's just my
intuition that tells me it might be possible to attach a Windows DLL
to a Unix process using Wine.)
Pspi also now uses g_markup* functionality to parse its settings
file. I don't think GLib 1.2.x had that, so if you really intend to
run this on Unix through Wine, you have to extract the g_markup*
functions from GLib 1.3.x.
Pspi requires a GIMP that implements the init_proc functionality in
the GimpPlugInInfo struct. As of now (2001-12-20), only GIMP 1.2.3 on
Windows does that. For the patch to GIMP 1.2.3 to implement it, see
[see that thread; GimpPlugInInfo is documented in
/build-dir/devel-docs/libgimp/html/libgimp-gimp.html#GimpPlugInInfo, but it
is not the solution Tor used for gimp-pspi-1.0.2, which is the latest I could
So, a (the) big question is, how can we get this windows app to compunicate
with UNIX processes?
On Wednesday 26 November 2003 14:12, Dimitrie O. Paun wrote:
> On November 26, 2003 01:44 pm, dim owner wrote:
> > Is it appropriate to write to this list in regards the "Fun Projects" on
> > winehq?
> Yes, it is.
> > I am interested in working on the gimp/photoshop plugin wrapper... and
> > although I'm not so great a programmer, I have good resources (like the
> > P$ 6.0 SDK).
> That is a bit tricky, but it certainly is an interesting project.
> I can lend you a hand, I was actually thinking about it myself
> this morning :)
dorothy at oz:~> ls
scarecrow tinman lion
dorothy at oz:~> find . -name home
There's no place like home.
More information about the wine-devel