View Single Post
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: image manipulation

 
0
  #6
Apr 1st, 2006
Comment out all the other irrelevant code in the loop and other irrelevent code after the loop so that only this remains.
  1. for(i=0;i<=a.Height;i++)
  2. {<blockquote>for(j=0;j<=a.Width;j++)
  3. {<blockquote>Color c=a.GetPixel(i,j);</blockquote>}</blockquote>}
See if the error comes up again. If not, keep on adding lines until you get the error, and try to see what are the values of i and j this happens.
Reply With Quote