Sigx

We are the future in the past.
It is currently Tue Mar 19, 2024 2:08 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Another tranparency question
PostPosted: Mon Apr 05, 2004 7:43 pm 
Offline

Joined: Mon Feb 23, 2004 5:32 am
Posts: 20
Location: Monterrey, Nuevo Le¾n, Mexico
i see this in the code

Code:
// if transperent (....)
   // note: if using imagecreatetruecolor transperancy is not working. but if your using a img it makes no difference
   //if ( $transperancy == 1) { // only used if no backgrouns image set, only works for PNG, maybe GIF
      //$bgc = imagecolorallocate ($im, 0,0,0);
      //ImageColorTransparent($im, $bgc);

i use the imagecreate()...well...i use the green color (0,255,0) in my image...


i try delete the // and put:

Code:
$bgc = imagecolorallocate ($im, 0,255,0);
      ImageColorTransparent($im, $bgc);



but isn't working......

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 05, 2004 8:35 pm 
Offline

Joined: Mon Mar 15, 2004 1:48 pm
Posts: 1397
Location: Los Angeles
take a look on www.php.net


it seems like it should work, make sure that the RGB is correct.

_________________
Image

Image

Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 05, 2004 9:12 pm 
Offline

Joined: Mon Feb 23, 2004 5:32 am
Posts: 20
Location: Monterrey, Nuevo Le¾n, Mexico
yuriy wrote:
take a look on www.php.net


it seems like it should work, make sure that the RGB is correct.


ergh...c'mon, help me :P

i put in the photoshop

red 0
green 255
blue 0

and in the code i put (0,255,0)

so....it should work...dont you think ?

any idea ?

someting in another part of the code ??

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 05, 2004 9:59 pm 
Offline

Joined: Mon Mar 15, 2004 1:48 pm
Posts: 1397
Location: Los Angeles
hmm, i dunno, seems like it should work.

_________________
Image

Image

Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 18, 2004 1:20 am 
Offline

Joined: Sun Apr 18, 2004 12:38 am
Posts: 10
Mangaboy wrote:
yuriy wrote:
take a look on www.php.net


it seems like it should work, make sure that the RGB is correct.


ergh...c'mon, help me :P

i put in the photoshop

red 0
green 255
blue 0

and in the code i put (0,255,0)

so....it should work...dont you think ?

any idea ?

someting in another part of the code ??


Did you solve your problem? I can't use transparency either... i've tried a few threads regarding transparency issues but none helped.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 18, 2004 5:52 pm 
Offline

Joined: Sat Jan 17, 2004 3:13 pm
Posts: 181
ignore photoshop... photoshop is weird with its color display... get a different program that displays rgb info.

_________________
]Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 18, 2004 6:00 pm 
Offline

Joined: Mon Mar 15, 2004 1:48 pm
Posts: 1397
Location: Los Angeles
my photoshop reports it properly :)

just remmber to be in the proper mode where u can see all the colors

_________________
Image

Image

Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 18, 2004 10:07 pm 
Offline

Joined: Sun Apr 18, 2004 12:38 am
Posts: 10
Ok, now transparency works... being a PHP n00b sucks, it took me forever to make this work, and I still can't make it work the way I wanted, but it's working anyways... so... that's OK

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 18, 2004 10:25 pm 
Offline

Joined: Mon Mar 15, 2004 1:48 pm
Posts: 1397
Location: Los Angeles
dont give up. its not that hard

_________________
Image

Image

Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 18, 2004 10:34 pm 
Offline

Joined: Sun Apr 18, 2004 12:38 am
Posts: 10
Can you see my sig, btw?

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 19, 2004 8:28 am 
Offline

Joined: Fri Apr 02, 2004 10:31 am
Posts: 36
yes sir! not bad :D


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 30, 2004 1:12 am 
Offline

Joined: Tue Apr 27, 2004 2:22 pm
Posts: 23
feedback wrote:
Ok, now transparency works... being a PHP n00b sucks, it took me forever to make this work, and I still can't make it work the way I wanted, but it's working anyways... so... that's OK



well dude... dont be specific or anything :roll:


i have the exact same problem... please tell me how you fixed it


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 03, 2004 2:08 am 
Offline

Joined: Sun Apr 18, 2004 12:38 am
Posts: 10
jam wrote:
well dude... dont be specific or anything :roll:


i have the exact same problem... please tell me how you fixed it


Dude, I forgot what I changed in the file.

I have to compare the original file with my actual file to see what I changed, but I can't do it right now

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group