new task: fig
k2pdfopt: use already implemented functionality.