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]
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]
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
&
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]
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]
to use the portions of xcf.c
that I have written under the terms of the LGPL.
Jay Cox
[EMAIL PROTECTED]
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]
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!
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
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
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]
11 matches
Mail list logo