Convert new images to RGB mode for saving.
Convert new images to RGB mode for saving.

http://stackoverflow.com/questions/21669657/getting-cannot-write-mode-p-as-jpeg-while-operating-on-jpg-image

epoz/metabotnik,epoz/metabotnik,epoz/metabotnik