Skip to main content
Question

How to join two jpeg files into one from pdf

  • August 30, 2018
  • 3 replies
  • 61 views

terezia86
Forum|alt.badge.img

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3702 replies
  • August 30, 2018

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.


terezia86
Forum|alt.badge.img
  • Author
  • 59 replies
  • August 30, 2018

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.

 


redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3702 replies
  • August 30, 2018
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.