Game Development Community

Resize Tool for Textures

by Vladimir T · in Game Design and Creative Issues · 03/03/2007 (3:24 pm) · 14 replies

XnView has I think what I need taht is Batch overt or Sequence Convert, when doing so there's option called: Transformations (u can choose esize and resize canvas) and tehn u click on resize button and u get a guiding process and take flag: Keep ratio away I get what I want: the size I indicate in the box. But still I would have to sort all images to different folders and for converting to different sizes. There's option for a script - I will ask on Forum if there's a good one for that.
http://newsgroup.xnview.com/viewtopic.php?p=46434#46434 (ive posted a thread here for a script for Torque for Xnview to make the program decide and do everything automatically - I believe this is possible :) and it would save so much time to all the developers using Torque)

But i found Sizerox for Apple: http://www.branox.com/Sizerox/indexOSX.html ,
which is apparently what I need I think - can't test it though. Its drag and drop. But I don't have Apple :)

And I also tried IfranView - hmmm its just like Xnview. Same thing - files would all be resized to one size - the programm will not decide fr You what size teh picture should be.

#1
03/03/2007 (3:24 pm)
Not 100% sure if this is what your looking for, but you might try Xnview or Ncovert.
You can find both here.
It does batch converting and there are a lot of options you can tune.

Good Luck!
#2
03/03/2007 (4:15 pm)
Irfanview does batch conversions also. Irfanview
#3
03/03/2007 (4:19 pm)
Just record the "action" of resizing in photoshop and batch apply it to all the pictures? (look up Actions in photoshop help)

As for having the program decide.. thats kind of outside the parameters of what a program can do.. Any I know anyway.
#4
03/04/2007 (7:09 am)
If they are a collection (like the Golgotha textures) that were not meant to be tiled, you will run into seamless problems using a batch conversion method. Unless you do not want them to tile.
#5
03/04/2007 (9:55 am)
No these textures were meant to be tiled. I have used batch on a few and it works perfectly but there r too many textures and using batch would be a pain. A script would help.
#6
03/05/2007 (1:33 pm)
You need a resize script, I need more textures in my texture library. I will write you a script to do this (Using Python/PIL) if you send me a copy of all the textures in return. :) (you said they were all redistributable and royalty free, right)

Email (joeld42@yahoo.com) if you are interested.

Joel
#7
03/05/2007 (1:51 pm)
Ive sent u an email : I'm interested :D 1837 textures :D
#8
03/07/2007 (12:01 am)
I put together a python script to do this and sent it to Vladimir (and he sent me the textures).

In case other people here are interested, I submitted the script as a resource. Here's the link, i don't know others can access this before it's approved.

It has a little gui or command line, and resizes all the textures in a directory tree to the next largest power of two (optionally square). You can also optionally convert to a common format.

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12488


Joel
#9
03/07/2007 (3:22 am)
This is the best resizing utility I have found. And it's free too.
FastStone Photo Resizer
#10
03/07/2007 (3:49 am)
Nick Zafiris - its agood program u advise but it just does not do anything different from Irfanview and Xnview or Ncovert. Though its kidna more friendly in soem ways - nice window :D But it still wouldn't resize the textures automatically good for Torque engine!. I'm trying to launch what Joel Davis did - so far I'm in no success :D maybe i don't understand how python and PIl work :D
#11
03/07/2007 (3:58 am)
You can specify exactly the size you want to resize the batch of files. But yes, you have to do the sorting yourself so its tedious if you have many size variations. I missed Joel's post, I will try that as it has a feature to automatically adjust the size according to what each file's size is.
#12
03/07/2007 (4:05 am)
Write if it works for u!!! :D Coz i can't make it work
#13
03/07/2007 (6:00 am)
It works :D 1837 textures in 7 mins :D ahahahahah :D damn!
#14
03/07/2007 (6:19 am)
Very cool.