Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Transparent Background Problem [Answered] (http://www.mysidiaadoptables.com/forum/showthread.php?t=1210)

gjac1 12-09-2009 12:58 PM

Transparent Background Problem [Answered]
 
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

http://pokealts.kilu.de/images/shop3.gif

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

http://www.pokealts.kilu.de/siggy.php?id=75

Thanks :)

BMR777 12-09-2009 03:24 PM

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.

gjac1 12-09-2009 03:47 PM

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

Seapyramid 12-09-2009 09:44 PM

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 http://www.mysticgrove.net/grove/pic...28ebace6df.gif with honors http://mysticgrove.net/grove/templates/valor/19.png

gjac1 12-10-2009 04:35 AM

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 .


All times are GMT -5. The time now is 03:20 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.