Another output format for the opencv_createsamples

Added another output format of the training set. Can create training set in PNG format
Can we merge this `else if` with the previous one? It seems to me we just need to add `if (pngoutput)` statement