I used a method to get values pixels from a picture and put it in a array.
for(i=0;i<x1;i++)
for(j=0;j<y1;j++)
{
Pic1[(x1*i)+j]=Image1->Canvas->Pixels[i][j];
}
The problem is , with that method i get values from the begining of pic (Pixels[0][0]). I want to start from the center of pic and go up and right..
Any code ideas???
x1 and y1 are height and width of pic.

New Topic/Question
Reply




MultiQuote





|