• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Warcraft Image Lab

Info

Dependencies

Change log


Warcraft Image Lab

Warcraft Image Lab is a tool for image batch conversion and icon creation for Warcraft III.
Includes support for BLP, TGA and DDS, as well as common image formats.
GitHub repository can be found here: Source Code

Many thanks to Moonman for sharing information on Reforged icons here.
Also, thanks to Tiki for sharing information on Classic icons here.

Features:
  • Batch image conversion.
  • Icon overlays for both Classic and Reforged icons.
  • Image resizing.
  • Reads: JPG, PNG, BMP, TGA, WEBP, TIFF, DDS, BLP1 (WC3), BLP2 (WoW).
  • Writes: JPG, PNG, BMP, TGA, WEBP, TIFF, DDS, BLP1 (WC3).

Limitations:
  • Does not support BLP0.
Required for running the application:

The project is written in C# and uses the following libraries for image conversion:

Version 1.0.0
  • Now supports writing BLP files.
  • No longer overwrites existing files when exporting.
  • Removed the 'BLP2 Color Format' check in the 'Filters' menu. The tool now switches to the correct color format when reading BLP2 files.
  • Updated UI appearance.
  • Updated .NET runtime to 6.0.

Version 0.4.2
  • Fixed a bug where selecting 'Balanced' on compression quality for DDS exported the image with the 'Highest' setting.
  • Fixed a crash when attempting to display an image preview with a high width/height ratio.

Version 0.4.1
  • Fixed an unhandled exception when the tool attempts to read a non-existing file.

Version 0.4
  • Updated UI.
  • Added a 'Filters' option. You can now:
    • Add Warcraft III icon borders to 64x64 and 256x256 (Reforged) images.
    • Select between BLP1 and BLP2 color format when reading BLP files.
    • Resize images.
  • Added option to import subfolders.
  • Pressing 'DEL' now removes all highlighted images in the list.
  • Added compression quality settings for DDS.

Version 0.3
  • Added an image preview window.
  • Added drag-and-drop feature.
  • Added support for TGA conversion.
  • Added BC1 1bit alpha channel option for DDS conversion.

Version 0.2
  • Updated War3Net.Drawing.Blp to a more recent version. The tool now reads BLP alpha channels properly.
  • Rarely throws errors when reading BLP.
Previews
Contents

Warcraft Image Lab (Binary)

Reviews
eejin
The tool works and is useful for (batch) converting textures. Having full BLP transparency support would be nice, but it might still be of use even though alpha has issues. For more advanced use refer to the NVIDIA Texture Tools Exporter for Photoshop...
The tool works and is useful for (batch) converting textures. Having full DDS support would be nice, but it might still be of use even though alpha has issues. For more advanced use refer to the NVIDIA Texture Tools Exporter for Photoshop which does support alpha among other things.
Alpha works in DDS conversion for this tool. It's the BLP reading library that has issues.
 
Last edited:
hmm i look forward to trying this but nothing happens for me when i run the launcher.exe. is there something more than just installing .net core? i tried on another PC and does the same thing.
You should just run 'Warcraft Image Lab.exe'.

Updated the bundle to a single executable to avoid confusion.
 
Last edited:
Level 1
Joined
Aug 7, 2021
Messages
1
Good morning! Thank you for sharing this tool. I came to ask if you'd mind adding an export feature to allow folder structure of the original files to be maintained or recreated?
Importing allows subfolders to be included which is perfect but then exporting all goes into one folder and it makes the mod I'm attempting impossible to sort out afterwards. Unless there's something I missed?
 
Good morning! Thank you for sharing this tool. I came to ask if you'd mind adding an export feature to allow folder structure of the original files to be maintained or recreated?
Importing allows subfolders to be included which is perfect but then exporting all goes into one folder and it makes the mod I'm attempting impossible to sort out afterwards. Unless there's something I missed?
Hi there. I need to dedicate my time elsewhere, which means I consider this tool finished. I will only update the tool if people find bugs.

I suspect you're attempting to convert your entire map folder using the tool, and that is the wrong way to go about it. The type of DDS compression should depend on the type of texture you're converting. I recommend BC1 no alpha for loading screen textures, BC1 1 bit alpha for icons and console UI, BC2 or BC3 for all other textures (anything with varying transparency).
 
Level 6
Joined
Jan 27, 2014
Messages
42
This tool is PURE GOLD.

In case someone here is having a hard time finding a Passive or Autocast version of icons that are already in game, and don't have a tool to extract them, i finally found a way to get my hands on those icons: Wowpedia has them all, in the right resolution, in a list page. So by combining this tool and THIS page you can make the passive version of any icon in game, too. I hope this helps someone save some time searching on their own, as it took me about half an hour to find them.

I needed these...

PASVengeanceIncarnate.jpg
ATCVengeanceIncarnate.jpg
 
I get error image dimensions did not match selected icon dimensions even if I tried rescale to 256x256 or choose an already 256x256 image. Does not matter which settings I select. Any suggestions? It's for reforged icons.
It only applies icon filters to images that are already 256x256 (I should probably change that). Have you tried to resize, export and then import the exported image?
 
Level 11
Joined
Jul 4, 2016
Messages
626
Blplab supports making changes to the alpha layer. Is there any planned changes to making it also possible to do so with this tool?

Other than that, tool is fantastic and significantly faster when converting to blp.
 
Blplab supports making changes to the alpha layer. Is there any planned changes to making it also possible to do so with this tool?

Other than that, tool is fantastic and significantly faster when converting to blp.
The tool actually runs a command-line version of BLPLAB to write BLP files. I could look into the issue one day, but I'm not very invested in WC3 at the moment :/
 
Level 7
Joined
Jul 9, 2006
Messages
227
Would be nice if this tool could support adding borders to smaller images without scaling.

I have some icon sources with 56x56 icons & the default icon border is 4px each so it would end up in the perfect 64x64. Right now this tool first scales the original 56x56 image to 64x64, then overwrites the borders.

Maybe some feature that allows you to center images & just fill the rest in with black before applying borders? It's what I'm doing manually now. Might shoot a PR into your GitHub repository if I ever get tired of the manual process ;)

Good stuff regardless!
 
Top