FSDeveloper Community

Go Back   FSDeveloper Community > Microsoft Flight Simulator development > Aircraft Design > Graphics

Graphics Use this forum for all your graphics (eg. textures) related discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 15 Aug 2012, 17:04
preynolds's Avatar
preynolds preynolds is offline
  unitedkingdom
Location: Birmingham
Join Date: Jul 2005
Posts: 152
GIMP, PSD format and Imagetool

Hi all,

Does anyone use GIMP to create .psd files (with alpha) which they then convert using Imagetool to create a .dds?

I'm having problems with the alpha. I'm creating my alpha by adding a layer mask to my image layer, drawing the alpha channel on the mask, applying the mask to push it to the alpha channel, then saving the file as a psd.

However, pushing this file through imagetool creates the alpha channel as expected, but it also alters the main image by colouring the area that is transparent in the alpha channel as white?

I expect I'm not creating the alpha channel the way the .psd format expects it, but I'm not sure how GIMP handles .psd alpha channels so I'm a bit stuck.

The other reason for using GIMP is that I'm scripting a lot of stuff automatically using the script-fu engine to manipulate my aerial images into 1024x1024 pieces, so alternatives such as using DXTbmp are out of the question.

Any help would be appreciated!

Phil
__________________
Phil Reynolds
Reply With Quote
  #2  
Old 15 Aug 2012, 17:15
Heretic's Avatar
Heretic Heretic is offline
  germany
Location: BER
Join Date: Feb 2007
Posts: 1,657
I only export .psd files for use in (G)Max.

For MSFS, I'll export textures as .bmps (32bit) before running them through Imagetool.


IIRC, bump maps are the only files for which GIMP -> .psd -> Imagetool is the best and a necessary method.
__________________
Björn K. - 10²² polies, 5000 materials, 70000 drawcalls

FSX: Dornier 328 (FSX), Convair 580 (FSX conversion)
FS9: Boeing 737-200 (FS9)
Reply With Quote
  #3  
Old 16 Aug 2012, 02:26
preynolds's Avatar
preynolds preynolds is offline
  unitedkingdom
Location: Birmingham
Join Date: Jul 2005
Posts: 152
Hi Bjoern,

I didn't know imagetool could process 32-bit bmp files, I though it was only .psd or .tga files. I'll give that a go...

Thanks

Phil
__________________
Phil Reynolds
Reply With Quote
  #4  
Old 16 Aug 2012, 04:55
preynolds's Avatar
preynolds preynolds is offline
  unitedkingdom
Location: Birmingham
Join Date: Jul 2005
Posts: 152
Hi Bjoern,

GIMP does a great job of saving 32bit BMP files interactively which runs through imagetool great, but unfortunately the scripting language doesn't allow you to set any alpha channel option and so saves the .bmp with a blank alpha.

Are there any other formats that imagetool accepts as input?

Phil
__________________
Phil Reynolds
Reply With Quote
  #5  
Old 16 Aug 2012, 10:37
Heretic's Avatar
Heretic Heretic is offline
  germany
Location: BER
Join Date: Feb 2007
Posts: 1,657
Quote:
Originally Posted by preynolds View Post
Are there any other formats that imagetool accepts as input?
PNG maybe...
__________________
Björn K. - 10²² polies, 5000 materials, 70000 drawcalls

FSX: Dornier 328 (FSX), Convair 580 (FSX conversion)
FS9: Boeing 737-200 (FS9)
Reply With Quote
  #6  
Old 16 Aug 2012, 15:06
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,774
Send a message via Skype™ to arno
Hi,

I have used gimp before to make an alpha channel in a psd and convert it with Imagetool. I don't remember seeing this problem, but it is some time ago.
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #7  
Old 17 Aug 2012, 11:24
preynolds's Avatar
preynolds preynolds is offline
  unitedkingdom
Location: Birmingham
Join Date: Jul 2005
Posts: 152
I've resorted to creating .tga files which look like they're doing what they are supposed to when pushing them through imagetool

Thanks for your help.

Phil
__________________
Phil Reynolds
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FSXA] Imagetool error deccas1391 BGLComp XML, AFCAD, SceneGenX 7 10 Jul 2010 04:52
PSD Alphas Model10 GMax and 3DS Max 2 04 Dec 2009 16:32
Changing format in Image Tool causes blotchy colours Airtrooper Graphics 7 24 Sep 2009 06:41
problem with imagetool desert General 1 16 Aug 2006 15:05
TGA format not recognized Liburnio General 6 20 Mar 2005 08:31


All times are GMT -4. The time now is 13:53.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.