Export Tga's with the Slice Tool


#1

Hello,

I am working on a project where i have one big textures that must be saved into severall little TGA's Each one selecting a predefined zone of the bigger texture.

For example, a character texture with the body, arms, foots etc. painted in one big texture.
I have to export only the arms into a 128*128, only the body into 256*256 etc...
But i need to stay working in the big psd file. so that the work is easier.


So my first idea was to use the Slice Tool, and i came up with this test :

[img]http://belokanweb.free.fr/screenshot.jpg[/img]

Each zone has a different location on the texture and is named.
But i can't export that into 32bit TGA Files, the only option that i found was to export with File / Save For Web. and there i can only save into .gif .jpg or .png ...

I am surprised that this functionality of photoshop doesn't work for every file format. it seems that the slice tool is only designed for Web related work :(

Is there some solution to use my slice tool zones and export them into separate TGA files ?
Maybe with Scripting ? but i didnt found anything working.

Thanks for your attention ;)

#2

HopHop a little bump for my post :wink:
Nobody have an idea ? maybe my question was not clear enough ?

I hope the picture is more explicit than my poor english.


#3

You are right in that the slice tool is really designated for web-related formats - TGA is a file format used for video or 3D (primarily). I don’t know what the program you are trying to send the files to but most 3D applications have no problem with PNG or JPG. If you need transparency - then use PNG as the output.

If you absolutely MUST use TGA - then you will either have to create an action or script that will take the PNGs and resave them as TGAs.

I’m not sure that you can save slices like this out without going through a lot of hoopla each time… You could create each “slice” as a document and bring in the main PSD as a smart object - then save out each document seperately. But honestly that seems to be just as painful.

There might be a way to create an action that save a segment - actually I know that it is possible, record your action while you make a selection - photoshop will record the coordinates and size of the selection. Then if you create a script that runs those actions (one for each “slice”) that might save time. In any case - I see an action and a script in your near future. Check out this site: http://www.ps-scripts.com/bb/ those guys might have what you are looking for.

Sorry if that wasn’t much help - some stuff in Photoshop you still have to do the hard way.


#4

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.