[feature] allow to choose jpg format
Merge pull request #17 from olivierdalang/export_to_jpg

[feature] allow to choose jpg format