FastScaling: trying various optimizations. Using float instead of double types appears to help 10-15%.
For some reason, buffering input/output rows into a float array speeds things up ~5%. We're also going to grayscale for some reason, so data loss might be the cause :)
Exclude more temp files