Skip to main content

I have a PDF file which consist of few pages (2-3). When I run the translation see attached , the results are 2-3 sepatated files. I need to have them as an JPEG but as 1 file. I have no page numbers to set an attribute pdf_page_number. Have a houndreds of those files. Some of them have only 1 page but some a few pages. So I need something what will also recognize what has more than 1 page.

I think you're going to have to fake a coordinate system for them. Count how many you have per unique fme_basename, then use a RasterGeoreferencer to assign them extent coordinates. e.g. if you have 3 pages in a PDF keep them all at the same Y coordinate but increase the X coordinate so they end up next to eachother, then use a RasterMosaicker to combine them.


I think you're going to have to fake a coordinate system for them. Count how many you have per unique fme_basename, then use a RasterGeoreferencer to assign them extent coordinates. e.g. if you have 3 pages in a PDF keep them all at the same Y coordinate but increase the X coordinate so they end up next to eachother, then use a RasterMosaicker to combine them.

Hi, thanks for your reply. The whole translation did not joined this 2 pages into 1 file, but has extended the pages (they were too wide). I need just have them as original. When I have in PDF 2 pages, I need to have 2 pages also in (as) JPEG format.

 


Hi, thanks for your reply. The whole translation did not joined this 2 pages into 1 file, but has extended the pages (they were too wide). I need just have them as original. When I have in PDF 2 pages, I need to have 2 pages also in (as) JPEG format.

 

JPG doesn't support multiple pages though. One image = one JPG file. So if you want multiple pages from one PDF into a single JPG file you'll need to combine them.

 

 


Reply