Batch convert - different sizes to different sizes at one go

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, helmut, xnview

tvv

Batch convert - different sizes to different sizes at one go

Post by tvv »

Hi,

I need to sort out 2000 textures that I have for Torque engine. Torque can use textures only with sizes: 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096 and so on.

So for example I this would be good for me 256*256, 256*1024, 2*4, 2048*64.

The problem is most of my files are for example: 320x200, 225x180, 120x120, 1024x500, 300x800 and that is I cna't use them. They appear grey in engine.

I know I could put all files to different folders for each different size but that would be so hard: I have textures in specific folders with text files of creators of textures and also the terms of use.

Is there a script that I can add so that all files could be resized automatically?

It would be nice if someone could write such script (I'm no programmer) - then the whole Torque community could use it. www.garagegames.com

Thanks alot I really appreciate it! :)