Main

Forums

Wiki

Downloads

Tutorials

Walkthrough

Unreal-netiquette

Links

Submit-News

Oldunreal's hosted:
UnrealReference

Usermaps

Real-CTF

Donate for Oldunreal:

Oldunreal Donation
Oldunreallogo
  Welcome, Guest. Please Login or Register
 
  HomeHelpSearchLoginRegister  
 
 
Image Centering.. (Read 2159 times)
[]KAOS[]Casey
Ex Member
******


nedm

Gender: male
Image Centering..
01/29/08 at 08:57:52
 
This would be the best place to ask ...

is there a utility that can center non-standard {ex:55x59} textures on a 256x256 black/alpha'd background to mask?.. possibly in batch or by command line if possible..

i've googled for hours and found nothing. short of actually coding my own i don't think it exists :/
Back to top
 
 
IP Logged
 
Tronovision
Full Member
***
Offline


OldUnreal Member

Posts: 149
Alberta, Canada
Gender: male
Re: Image Centering..
Reply #1 - 01/29/08 at 14:04:03
 
I am not sure what the process is to import a picture file into a texture file package and what settings are required to get a masked background (like pink or green or something), however I pretty sure you can achieve what you are asking in photoshop. (Assuming you have a copy...) You could open a new 256x256 pixel image and add in your other 55x59 picture as another layer. You could then center the new layer on the background by selecting it and using Layer->Align To Selection->Vertical Centers, and do the same for Horizontal Centers. That should get the picture perfectly centered. Hope this helps you some...
Back to top
 
WWW WWW  
IP Logged
 
[]KAOS[]Casey
Ex Member
******


nedm

Gender: male
Re: Image Centering..
Reply #2 - 01/29/08 at 22:56:38
 
I have psp9 and it apparently auto-centers, I just wanted some batch command or something so I don't have to do it for 400+ images :/
Back to top
 
 
IP Logged
 
[]KAOS[]Casey
Ex Member
******


nedm

Gender: male
Re: Image Centering..
Reply #3 - 01/29/08 at 23:04:46
 
Oooooooh i totally forgot about its scripting feature... Hahaha i can definetly do this..  Smiley
Back to top
 
 
IP Logged
 
[]KAOS[]Casey
Ex Member
******


nedm

Gender: male
Re: Image Centering..
Reply #4 - 01/30/08 at 00:09:39
 
Bah, it's in python and i can't figure out how to make new variables :/
Back to top
 
 
IP Logged
 
[]KAOS[]Casey
Ex Member
******


nedm

Gender: male
Re: Image Centering..
Reply #5 - 01/30/08 at 00:18:18
 
Nevermind, made a correct script. Something called "Canvas Size"
Back to top
 
 
IP Logged
 
(Moderator: DieHard SCWS)