Use and produce jpegs
Merge pull request #47 from sshirokov/ayp-to-jpg

Use and produce jpegs