add filter, losslevel, rotation
Fix options
Fix indents
Add pdf export