Page 1 of 1

image/png color issues on different browsers

Posted: Wed Jul 16, 2003 11:03 pm
by xiang
I'm having problems with the color rendering of my php images.

I'm using $bgcolor = ImageColorAllocate ($im,96,64,49);

on IE mac, pc NS pc no problems - color output is correct

on NS mac and Safari (mac) - outputs different color (darker)

has anyone had this problem before?

This makes my image backgrounds darker than the webpage background.

This is probably not due to php and more so with the browsers.

I'd appreciate if anyone could shed some light on this,

cheers

xiang

Posted: Thu Jul 17, 2003 2:46 pm
by AVATAr
question: do you have this problem with the "Navigators"? client side.

i think the problem is with the "navigators" not with the php, cause php works server side and it outputs the same for any type of Operating System / Navigator.

(AFAIK)

Posted: Thu Jul 17, 2003 9:14 pm
by xiang
yeah,

I'd agree, the browsers "navigators" rendering is the issue here, not the server side php.

Does anyone know more about how different browsers render png's on both mac and pc?

I've made the background color transparent and the images now look the same on all platforms/browsers.

cheers