Transparent Background Problem [Answered]

Forum
Last Post
Threads / Messages

gjac1

Member
Member
Joined
Feb 18, 2009
Messages
101
Points
0
Mysidian Dollar
5,256
It seems that anything that is pure black (RGB 0,0,0) in your original adoptable image gets made transparent along with the background when the siggy image is made.

Is there anyway to stop this from happening ??

Here is what i mean :

Image before siggy.php makes a transparent background

shop3.gif


And this is what happens after siggy.php makes the background transparent



Thanks :)
 
RE: Transparent Background Problem

I'm not quite sure as to why this happens. Sometimes the signature generator just does weird things. I'll have to see if anything can be done.
 
RE: Transparent Background Problem

ok thank you BMR777 :) , let me know what you come up with..

The only thing i can find is this, but i am not sure how to implement it into the siggy.php

http://us3.php.net/manual/en/function.imagecolortransparent.php
 
RE: Transparent Background Problem

It is because the generator makes a black background & then makes black transparent. Since it is a combined layer effect, any black in your image therefore becomes transparent. They is no way around this. Black is the default background color & it can be changed to another & then that color made transparent. However, you change the background to red, make red transparent & you will have any red in your image disappear.

Basically the only way to do it is to forgo any one true color in any image & that of course would limit you.

What I have done with the gd images is using them as an 'earned' type award.. made them nontransparent, gave it an actual background image & it takkes certain things to earn....

example

without honors
039725a536f7afee18a0b528ebace6df.gif
with honors
19.png
 
RE: Transparent Background Problem

Thanks for the explanation Sea :)

I think what i will try is loading the gif image into paint (which default loads with the black background) and then get rid of all the black myself, replacing it with white, then i can see what it removes and manually add a different shade of black to the image so it is not removed by siggy.php .
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,132
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top