OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: sharkattack on 30 Apr 2007, 23:29:20

Title: dark images in briefing
Post by: sharkattack on 30 Apr 2007, 23:29:20
hi ..
having trouble with pics in briefing
when i view my image it appears very dark
sometimes only a black square is shown ...
even the brightest image is dark (just visible)
any ideas on what im doing wrong..
i have no probs with overview pic display   ???
Title: Re: dark images in briefing
Post by: bedges on 30 Apr 2007, 23:33:58
what is your process for creating and inserting the images? what software do you use? do you use screen grabs from in-game?
Title: Re: dark images in briefing
Post by: sharkattack on 30 Apr 2007, 23:49:45
i used fraps to capture an image  tweaked and sized it using paint and infraview
this is the code i use to display
Code: [Select]
mugshot of general silva
<br>
<h2 align="center"><a name="Main"></a>
<p align="center"></p></h2>
<h4 align="center">
<img src="mugshot" width="150" height="110"><BR>
</h4>
<h4 align="left"><p align="left"><align="left">

dont think its the pic i tried to display it in overview  to check  and it worked fine
just appears in briefing very dark  .. i read of simillar problem a while ago on bi forums
cant find the post it was on ...
Title: Re: dark images in briefing
Post by: genji on 12 May 2007, 17:34:35
i have the same problem but no solution sadly :/

i think the problem is the image's alpha channel, which acts as a kind of transparent layer above the image. becuase the alpha is transparent it appears to darken the image rather than just appear as solid black.

im using gimp, which is free, to edit my images but if you have photoshop you could try the PAA image format (which ARMA uses for textures). there's a plugin for photoshop to edit the alpha channel on the BI studio's wiki:

http://community.bistudio.com/wiki/ArmA:_Community_Tools#Texturing (http://community.bistudio.com/wiki/ArmA:_Community_Tools#Texturing)

Title: Re: dark images in briefing
Post by: JasonO on 12 May 2007, 18:49:49
is the image the right scale?

I can't confirm but I think it has to be a certain scale like 16x16 , 32x32 , 64x64 , 128x128, 256x256....

I got my image working perfect with no light changes. I used PaintShop Pro 8.
Title: Re: dark images in briefing
Post by: genji on 13 May 2007, 22:17:17
I can't confirm but I think it has to be a certain scale like 16x16 , 32x32 , 64x64 , 128x128, 256x256....
thanks for the help but I tried a 256x256 jpg but still the image appears darkend  :(

JasonO could you please post your image file and the code you use like shark attack did
Title: Re: dark images in briefing
Post by: bedges on 13 May 2007, 23:01:48
i experienced differences in tone when i adjusted the gamma level in-game. if restoring the defaults makes no difference, then we may well be out of options here. unless fraps has a gamma control...