View Single Post
Old 31 August 2014, 20:35   #1013
Registered User
Join Date: Apr 2005
Location: Hangover
Posts: 2,386
What I mean is, when for example an image line starts with 20 pixels being just a 100 % background, why should I change them. In such a case I started the ReadPixelArray() and the WritePixelArray() call with the 21'st pixel of the line. So there are 20 pixels less to process at all. The same happened from the last pixel of a line backwards to the middel. Transparent pixels were simply skipped. Of course, this trick can't be done anymore when the pixel array contains the complete image.
PeterK is offline  
Page generated in 0.04012 seconds with 10 queries