• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Print all pages of bitmap in pdf using Itext7

Hi,
I have a 4 pages long jpg file (got from Linear Layout with a scroll view) that i want to convert and print to pdf using Itext7. But only 1 page is printed. Do I need to split the jpg into pages and add them to the pdf document ? If so how do i split the jpg?

Please help

regards

Sanjish
 
I've never heard of a 4 page jpg....
A jpg is a single image file, period.
Unless you are using an app that can split it into separate images. Then you would need to print each image separately.
 
Back
Top Bottom