Move conversion into separate methods.
Add support for kNImageFormat_BGR_888.
Use per-row process for NImage pixel conversion.
Drop unused parameters.