Gimp-image-subtraction-plugin Win32

Just a Win32 compilation of Alexandre Heitor Schmidt's gimp-image-subtraction-plugin. Works with Gimp v2.6
I only changed the name "gimp-plugin-template" to "image-subtraction" in all source files before compiling with msys/MinGW. I didn't include translations or help, which are empty files and wouldn't work even under Linux.
Filter is still found in [Image]/Filters/Misc/Image subtraction. Tell me whether you like a better place.
Just copy the executable named "image-subtraction.exe" into c:\Documents and Settings\username\.gimp-2.6\plug-ins\ or c:\Program Files\GIMP-2.0\lib\gimp\2.0\plug-ins\

AttachmentSize
gimp-image-subtraction_win32.zip6.08 KB
0
Average: 5 (1 vote)

Comments

image-subtraction in Script-Fu ?

Hi,
Thanks for the really good plug-in. I want to use this in a Script-Fu to batch process many images.
I can see that it expects 5 arguments...
> ( image-subtraction )
Error: Invalid number of arguments for image-subtraction (expected 5 but received 0)

Would you be able to give us the details on what these are ? i.e The order of arguments/ data types / what value the plug in returns etc ??
Thanks!

finding script parameters

Once a plugin is installed, you can use Plugin Browser in the Help menu to view the parameters of a plugin.
Similarly for Procedure Browser.

Thanks...

.. I'm new to all this. Didn't see that. Thanks !

Both yours and Samj's linked

Both yours and Samj's linked version just gives me a transparent background (as a separate image) even if I use two completely different images. Also, do you have a link to the originator's website to see how this plugin suppose to work?:)

How to use

Bonjour lylejk,

Download and open the 2 images in Gimp :
http://www.aljacom.com/~gimp/Gimp-image-subtraction-plugin.png
http://www.aljacom.com/~gimp/Gimp-image-subtraction-plugin_with_black.png

Filters > Misc > Image Subtraction

Master layer = Gimp-image-subtraction-plugin.png
Slave layer = Gimp-image-subtraction-plugin_with_black.png

OK

Your not going to believe

Your not going to believe that I did this exact background when I originally tested your plugin. lol

You example does the exact thing; brings up a transparent result. See the screenshot. :)

use: http://img46.imageshack.us/img46/3622/use.png

result: http://img40.imageshack.us/img40/5142/resultw.png

Ditto what samj said and...

Also, don't put the threshold too high.

Good eye, samj.

images

Bonjour lylejk,

You must open the two images separately. Not like layers.

Thanks Samj but...

Good tip but then there is something totally wrong in the plugin gui
that allow to chose 2 layer of same image 1 as master 1 as slave
...but then the plugin fail

More if you run the plugin twice in the field were chose layers are displayed a lot of layers that just do not exist in any of the opened images

Anyway i found a better alternative in a new GMIC filter ..see
http://www.flickr.com/photos/90104203@N00/4165513297/sizes/o/in/pool-131...

contact the author

Bonjour PhotoComiX

Q : Good tip but then there is something totally wrong in the plugin gui that allow to chose 2 layer of same image 1 as master 1 as slave
...but then the plugin fail

R : the plugin gui that allow to chose 2 layer of same image ... BUT ... you must not do this :o)

You can contact the author :
http://registry.gimp.org/node/27

*******

Q : Anyway i found a better alternative in a new GMIC filter

R : Yes I know GMIC.

Read

Today I did something really unique - I read the instructions

Now that's cool. I can see

Now that's cool. I can see a few cool uses for certain types of extractions using this. Thanks for putting up with my input and thanks for sharing. Wish I knew how to compile GIMP plugins. Been trying to find some takers for the Maze plugin for GIMP but no one so far can help me.

http://sourceforge.net/projects/maze5/files/

a possible use

on possible use you may found interesting my last comment here
http://www.flickr.com/groups/gmic/discuss/72157622949387788/

Even if not obvious from the title the argument is a analog filter...
maybe a better alternative since input may come from 2 layers of same image and output is more flexible (new layer in active image, new image..)

Image subtraction Win 32

Doesn't work, it keeps stating that I have missing dll's is it possible you did not include them with the package?

Image subtraction Win 32

i found the dll now the plugin do not give error but apparently does not work

I try with a image with 2 layers one was a heavily edited version of the first but whatever tollerance i set result was only a new image with a fully transparent layer

But there is another incoherence:
i undo and try to run again with different value but the fields where chose the input slave and master layers contained at the second run lot of new entries (about 8 but was only a image open with only 2 layers)

All this layer was apparently identical to the 2 existing but for the different names (and for the fact that they do not exist..of if they were created by the first run ...they were created as virtual entities and not added to the image )

as guess new layer were created at first run,
but remain "virtual layers" because the command to make them "real" by attaching them to the image failed or was simple missed

But their numbers seems anyway excessive
more, obviously undo is not correctly used by this plugin

Linux version has some issues ?

An other version

Bonjour PhotoComiX,

You can try http://www.aljacom.com/~gimp/Image_Subtraction-i686.zip

It works without dll.
Tested with Gimp 2.6.7 32 bits / Windows 7 64bits

Delete the Francois_C's version

You are right, samj, your

You are right, samj, your new version works well under Windows. The versions I compile from your sources work well too, but I kept your binary in my attachment, for it is slightly lighter. Do you use msys (like me) or Cygwin?

Do you use msys (like me) or Cygwin?

Bonjour,

I use MSYS/MinGW

2008-2009 -> GCC version 3
2009 -> GCC version 4.4.0

Syndicate content