How to modify a .tga image ?

Monday, September 11, 2006 by neophil78 | Discussion: OS Customization

With the per pixel function, tga's are becoming more and more important ...

I'd like to know how to modify a tga image:
- I want to move the right border of an image (border_top_alpha image) with X pixels to the right and copy and paste X pixels from another part of the image just before what i moved ...
- i get Paint Shop Pro 8, but i can't manage to do it (it seems to me the alpha channel is not moved correctly, because when i save the new image the size is much less than the original one, and the image does not work properly ... )

Anyone for suggestion ?
Koasati
Reply #1 Monday, September 11, 2006 4:21 PM
In SkinStudio, go to Tools > Preferences > Image editors > enable "Convert TGA files to PNG before using image editors" > OK

Now when you choose a TGA to edit, SkS will convert it to PNG, and open it in PSP. Make your changes, and save. When you save the skin in SKS the PNG will be converted to TGA.
neophil78
Reply #2 Monday, September 11, 2006 5:01 PM
Hum, hum, i've seen that but now that the PNG which is not made the right way ...   
Cavan1
Reply #3 Monday, September 11, 2006 5:16 PM
Hey neophil, what do you mean by not made the right way. When sks set up as Koa said it will open a proper png of the tga in your graphics software.
neophil78
Reply #4 Monday, September 11, 2006 5:25 PM
Yep Cavan1, but after modifications on PNG, saving it, saving the skin in SKS, i see that the new TGA file is not good ...   
aimzzz
Reply #5 Monday, September 11, 2006 5:26 PM
Thanks, SuperK! I have gotten frustrated trying to change tga's in a few skins. Will be trying this approach soon

Cavan1
Reply #6 Monday, September 11, 2006 5:46 PM
It may be that the change you are making is changing the relation of the image to the sizing margins in SKS, thus making in apply different than you want.
Koasati
Reply #7 Monday, September 11, 2006 6:32 PM
after modifications on PNG, saving it, saving the skin in SKS, i see that the new TGA file is not good ...


In PSP 8 go to File > Preferences > File Format Preferences > PNG tab > disable "Load and save transparency from / to alpha channel" > OK.

If it's already disabled, then I don't know what's wrong, unless it's what Cavan1 suggested.


neophil78
Reply #8 Tuesday, September 12, 2006 6:01 AM
In PSP 8 go to File > Preferences > File Format Preferences > PNG tab > disable "Load and save transparency from / to alpha channel" > OK.


Yeahhhhhhhhhhhhhhh, that was it, it worksssssssssssss   


Now the problem is that i wanted to expand the border_top image to be able to add buttons ( like roll/unroll or Ontop button ...).
Everything's ok now for the normal border_top.bmp, OK for the perpixel caption border top, OK for the perpixel maximized caption top, Ok for the buttons i want to add, but how to add perpixel for these new buttons ???? Everything's well shown in SKS preview, but not when applying the skin. It seems SKS is not able to let add perpixel "other"buttons...   
MikeB314
Reply #9 Tuesday, September 12, 2006 7:49 AM
Per-pixel window frames can only have the standard minimize, max/restore, and close buttons.
neophil78
Reply #10 Tuesday, September 12, 2006 8:40 AM
Per-pixel window frames can only have the standard minimize, max/restore, and close buttons.


So it means that WB5 is no more able to add other buttons in titlebar ? or is there a way to get round that ?
MikeB314
Reply #11 Tuesday, September 12, 2006 11:11 AM
The only way around it is to not make per-pixel window frames. You can still take advantage of all the other WB5 features.
neophil78
Reply #12 Wednesday, September 13, 2006 11:35 AM
Yep, that's what i did, i deleted both sections [WindowFrame.TopPerPixel] and [WindowFrame.TopPerPixelMaximized] and things are going OK  

(Well BTW, in my opinion, the perpixel is not extraordinary to be used for the Window Titlebar ... )

As i speak of it, i noticed, using per-pixelWindow frames for the top bar, makes the soundable function not working properly.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01