Posted: Wed Jul 06, 2016 12:21 pm Post subject:
Image Combine
Subject description: Combine images in a fast batch process
Image Combine is a program that allows to combine images in a batch process.
It has 2 operators to work with, [Add] and [Difference].
[Add] takes image A as the base and draws image B on top of A.
[Difference] takes image A and image B and draws all different pixel in the specified "Difference Color".
Same pixel are kept. Complete transparent pixel are ignored.
The images need to have the same dimension.
Installation: simply copy it into an empty folder of your choice. Then start the exe.
Usage:
1. Load or Drag&Drop Images to the left list A
2. Load or Drag&Drop Images to the right list B
3. Choose the operator [Add] or [Difference]
4. Press [Start]
The new files are created in the same folder as the files in list A
If list A has a different number of files than list B, the tool applies to each file A every file B.
This way you can also combine multiple images into one or find the difference in multiple images.
Difference can be used for example to find animated pixel in a set of similar images.
Version 01.00.00.00
-first public release
Version 01.00.00.01
-(bugfix) ignores DPI setting in images. All images are set to DPI=96.
Version 01.00.00.02
-(bugfix) indexed palette images don't cause a crash anymore
-(update) preview implemented to show the operation on 2 selected images
Version 01.00.00.03
-(update) Custom Background Color can be set, which is converted into transparent when opening an image. The button is showing the selected RGB value.
-(update) option added to Invert Transparency on an image, to get the negative stencil _________________ SHP Artist of Twisted Insurrection: Nod buildings
Yeah, [Add] is a bit more robust, since it just draws B on top of A, where it doesn't matter if B is bigger or smaller. For a bigger B, the area outside A is simply ignored.
Since [Difference] expects to find for each pixel in A a pixel in B for the comparison, they need the same size.
If B has a different size, B is simply skipped and the next B loaded if present. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Wed Jul 06, 2016 2:23 pm Post subject:
Do I get it right that this is pretty much a color mask applier? The Add function sounds useful for such. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
yes
My current SHP project also needs this. There i have 32 turret frames and 32 frames with a color mask. I need the color mask placed on top of the 32 turret frames, so i get holes in the turret at the right places (color mask being in the background color of the turret and the rest using transparent pixel).
I see already other ways to use this:
-one render pass with anti-aliasing against black background
-another render pass without anti-aliasing with the rendered object being slightly smaller
then apply the second set to the first, to remove the ugly anti-aliase against background (e.g. when rendering soft smoke/fire you need transparency and anti-aliase against background) _________________ SHP Artist of Twisted Insurrection: Nod buildings
There is a problem with Add when image sizes is larger than some value. Even though both A and B
were of same size, the result of Add had reduced the size of B. Look at the attachment, inputs are
in 1 and 2 folders and result is in Add and Diff folders.
Edit: Looks like that there lack of DPI info on B that is in folder 2. Could be considered as input image
fault. QUICK_EDIT
hmm, i just use the .NET Graphics.DrawImage method and simply draw B on A.
I'll see if there are any options to make it work with images that lack the DPI setting.
Thanks for testing.
\Edit
new Version uploaded
Version 01.00.00.01
-(bugfix) ignores DPI setting in images. All images are set to DPI=96.
\Edit
new Version uploaded
Version 01.00.00.02
-(bugfix) indexed palette images don't cause a crash anymore
-(update) preview implemented to show the operation on 2 selected images
\Edit
I recently needed a bit more functionality from the tool and added it.
new Version uploaded
Version 01.00.00.03
-(update) Custom Background Color can be set, which is converted into transparent when opening an image. The button is showing the selected RGB value.
This way you can turn for example all green pixel into transparent.
-(update) option added to Invert Transparency on an image, to get the negative stencil.
for that it simply changes all alpha values >0 to 0 and all alpha=0 to 255. For those pixel with alpha=0 it uses the specified custom background color to set the RGB value of that pixel _________________ SHP Artist of Twisted Insurrection: Nod buildings
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum