We have pdf files which have mixed data of text and images. We can get text and images separately but how we can get text and image with same exact format on pdf file? like 3 line of text and then image and again text etc...
Asked
Active
Viewed 305 times
0
-
1Depending on how you are extracting images and text you should have access to X,Y coordinates along with other characteristics like width, height, font size and transformation matrices. You'll need to implement your own custom logic to get "order" out of things and define what "before and after" mean. See [this post](http://stackoverflow.com/a/6884297/231316) for a very basic start. – Chris Haas Oct 27 '14 at 23:53
-
I think its very much complex. any way thanks to reply. – Muhammad Imran Oct 28 '14 at 15:44