change flows.pdf to flows.jpg