Re: How do you run scripts synchronously?

2001-02-07 Thread Jay Cox
e_parasite_detach(imageID, "myplugin-mutexlock"); /* clean up parasite */ In your scheme function you will want to add a parasite to the image with the name "myplugin-mutexlock" as the last statement in the script. Of course if your script-fu bombs out your plugin will never return. Hope This helps, Jay Cox [EMAIL PROTECTED]

Re: incorrect mask handling in histogram calculation

2001-02-05 Thread Jay Cox
s should be modified to stop computing the histogram through the current mask or not. Clearly the original intent of the code was to use the mask in the calculation. Thanks for digging these bugs up, Jay Cox [EMAIL PROTECTED]

Re: Logarithmic histogram

2001-02-05 Thread Jay Cox
t; I just checked the CVS history; we've been using a log y axis (ie > pixel count) ever since the histogram widget was writen. Jay Cox > checked in the initial rev (including log scale) in March 1999. > > I've played around a bit with gimp looked at some web-based tutorials &

Re: Configure --with-mp=yes Who wants it?

2000-09-14 Thread Jay Cox
d report back how it works for you I would appreciate it. I don't think we should remove MP mode quite yet, but I am rather biased. Jay Cox [EMAIL PROTECTED]

Re: 32-bit images in gimp - Alpha handling wrong?

2000-07-18 Thread Jay Cox
n the way. Since pre-multiplying the alpha does throw away a few bits of information my preference is for non-pre-multiplied alpha. > And even if you consider it a hack, don't people use pre-mult alpha? > Am I the first one to notice this and complain? I do quite a lot of graphics work and almost never use images stored with pre multiplied alpha. I think it is quite likely that gimp 2.0 will have some support internally for pre multiplied images if only for optimization reasons. Jay Cox [EMAIL PROTECTED]

Re: XCF loader for gdk-pixbuf

2000-05-30 Thread Jay Cox
to use the portions of xcf.c that I have written under the terms of the LGPL. Jay Cox [EMAIL PROTECTED]

Re: IrfanView

2000-05-29 Thread Jay Cox
attened version of the image straight from the file. We may want to add similar functionality to gimp and the xcf format at some point to make it easier for other applications to display xcf files. It seems to me like we should provide a libxcf for applications such as this. Jay Cox [EMAIL PROTECTED]

Re: New plug-in

2000-01-13 Thread Jay Cox
or a multidimensional hash to speed that part of the process up, though I'm not sure if either of those would really be faster than the current qicksort like algorithm. One other possible optimization would be to disregard duplicated patches from the corpus image. Jay Cox [EMAIL PROTECTED] PS: This plugin is very cool, congratulations to the author!

Re: request for help with gimp_register_save_handler problem!

1999-11-30 Thread Jay Cox
saving an indexed or grayscale drawable, but the > entries at the top of the list are not grayed out. Otherwise the > plug-in seems to work fine. > This is a bug in gimp. Gimp will install the save handlers twice if you have updated your plug-in since the last time gimp was run. T

Re: swap files

1999-10-11 Thread Jay Cox
full. An inexperienced operator would probably just assume it was an OS bug and reboot the machine. If we add the unlink call to the signal handlers and there is still a problem with swap files being left around, we could fairly easily (nearly) guarantee that any previous swapfiles left around by gi

Re: swap files

1999-10-09 Thread Jay Cox
wing how much space gimp is using for it's swap file. I think unlinking the swap files in the signal handler that is called when we crash would solve this problem. The cases where this will not work should be rare enough not to worry about. Jay Cox [EMAIL PROTECTED]