Hi,
1) Get size of JPG image and size of picture control.
2) Calculate 2 rates:
WR=JPG_Width/Pict_Width
HR=JPG_Height/Pict_Height
3)Create 2 for loops and get from JPG image only values that founds on places (m*HR,n*WR) where m,n are coordinates of picture control pixel.
I think it must work.
n_chernin@hotmail.com