Re: [PHP] findin colors in gif files

2002-06-05 Thread Tom Rogers
HI Just a thought, if your on a windows box you will need to ad a 'b' to the fiopen function like fopen($file, br) Tom At 09:43 PM 5/06/2002, freestylez wrote: it almost works :) unfortunatly the gif file seems to be corrupted at some point, but anyhow - i am not good in these hex and bin

Re: [PHP] findin colors in gif files

2002-06-05 Thread Tom Rogers
hi what gif is getting corrupted?, it works ok with the one you gave. To see what all those flag things are have a look at the gif spec at http://www.goice.co.jp/member/mo/formats/gif.html unpack puts the binary string into an array, flag gives some info as to the colour index table Tom At

[PHP] findin colors in gif files

2002-06-04 Thread johannes reichardt
hi everybody, i am new to this list php and i have a big question that i would love to be answered ;) i have a small gif file that has a part in #ff3366 colored - so what i thought is to do a mean hack for my website: instead of opening all images in a graphicseditor and change the color

Re: [PHP] findin colors in gif files

2002-06-04 Thread Tom Rogers
hi you will need to find the hex values for each individual number which i think should be (without the hash) 76763636 Tom At 05:06 PM 5/06/2002, johannes reichardt wrote: hi everybody, i am new to this list php and i have a big question that i would love to be answered ;) i have a small