Re: [PHP] Reading only RGB portion of an image, file_get_conents minus file headers etc

2012-01-23 Thread Nicholas Cooper
On 23 January 2012 14:34, Matijn Woudt wrote: > On Mon, Jan 23, 2012 at 3:26 PM, Nicholas Cooper > wrote: >> On 23 January 2012 13:26, Matijn Woudt wrote: >>> On Mon, Jan 23, 2012 at 1:51 PM, Nicholas Cooper >>> wrote: >>>> Hi everyone, >>>&

Re: [PHP] Reading only RGB portion of an image, file_get_conents minus file headers etc

2012-01-23 Thread Nicholas Cooper
On 23 January 2012 13:26, Matijn Woudt wrote: > On Mon, Jan 23, 2012 at 1:51 PM, Nicholas Cooper > wrote: >> Hi everyone, >> >> I've created an image in RGB from ImageMagick, it's 4 by 4 so I'm >> expecting 48 numbers (4*4*3). [width*height*(R,

[PHP] Reading only RGB portion of an image, file_get_conents minus file headers etc

2012-01-23 Thread Nicholas Cooper
nyway to access only the useful image bits, those 48 numbers? Thank you, Nicholas Cooper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] If Statements Array and Notice Undefined Index

2011-03-31 Thread Nicholas Cooper
On 31 March 2011 15:53, Stuart Dallas wrote: > On Thursday, 31 March 2011 at 15:45, Nicholas Cooper wrote: > Good day, > > > > I have three arrays A, B and C. Anyone of them might not have the 'id' > key > > set which will give the Notice "Undefined inde

[PHP] If Statements Array and Notice Undefined Index

2011-03-31 Thread Nicholas Cooper
Good day, I have three arrays A, B and C. Anyone of them might not have the 'id' key set which will give the Notice "Undefined index: id". I just wanted to know what the correct approach to this problem would be; without making the code overly complicated to read by introducing a number of "if is