Hi, First of all sorry for not providing the complete information...
The image that is being used is a bmp (24bpp). I'm actually trying to dissect the image into several images like in a Handwritten Character Recognition system. Image file traversal is not feasible as such. The initial image is larger than 255*255 (255 being the limit) and hence i'm not able to store it in an array. The only data structure that i intend to use is a static array since dynamic allocation seems very much improbable. On 2/22/07, Brett W. McCoy <[EMAIL PROTECTED]> wrote: > > On 2/22/07, comp knight <[EMAIL PROTECTED] <knight.comp%40gmail.com>> > wrote: > > ....im using VC++ / windows xp > > What kind of image are we talking about here? And why do you think the > maximum index of the array is 255? A 255 x 255 array holding 32 bits > per pixel in an image is only 2080800, and that's nothing for modern > machines with gigabytes of memory (physical plus swap). > > -- Brett > > > On 2/22/07, Tamas Marki <[EMAIL PROTECTED] <tmarki%40gmail.com>> wrote: > > > > > > On 2/22/07, comp knight <[EMAIL PROTECTED]<knight.comp%40gmail.com> > <knight.comp%40gmail.com>> > > > wrote: > > > > Can anyone please let me know how i can store an image of size > larger > > > than > > > > 255*255 into an array? > > > > I found out that the maximum array index is 255 but to store an > image of > > > > size greater than 255*255, > > > > how should i go about doing it? > > > > Creating sub-arrays will make the traversal very difficult.Is there > any > > > > other way? > > > > > > What compiler/OS are you using? > > > > > > -- > > > Tamas Marki > > -- Brett > ---------------------------------------------------------- > "In the rhythm of music a secret is hidden; > If I were to divulge it, it would overturn the world." > -- Jelaleddin Rumi > > [Non-text portions of this message have been removed]
