Skip to main content
Question

PDF size reducing

  • March 4, 2025
  • 6 replies
  • 105 views

bsheertareq35
Contributor
Forum|alt.badge.img+2

Hi, I have scanned a map and saved it as a raster image. I need to compress this PDF using FME. I have tried RasterMappers and RasterResampler, but both are making my map smaller without actually reducing the file size. Do you have any recommendations, please?

6 replies

AliAtSafe
Safer
Forum|alt.badge.img+24
  • Safer
  • March 5, 2025

Hi, ​@bsheertareq35.

Thanks for posting to the community! Wondering if you’ve come across this article: Image Compression in FME? It may provide some insight to what you’re trying to accomplish. Let me know if you have questions around it.


max_h
Supporter
Forum|alt.badge.img+19
  • Supporter
  • March 6, 2025

I’ve just tried it and RasterResampler works as intended for me. As in reducing resolution and thus file size. Have you tried setting it to a percentage value?

Otherwise if your problem still persists, please share your workspace and or the pdf if possible


bsheertareq35
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • March 7, 2025

Hi  AliAtSafe, Thank you for your hint, what iam trying to do, is to compress a PDF, wich didn’t work with Raster/image copmression.. the Rastermosaicker and Mapper made my PDF even bigger.


bsheertareq35
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • March 7, 2025

Hay ​@max_h, Here are Photos for the Reader / Writer / Transformer Settings. 

 


AliAtSafe
Safer
Forum|alt.badge.img+24
  • Safer
  • March 10, 2025

@bsheertareq35 Did some looking around, not sure if you bumped into this post; there’s a post a couple years ago that asks a similar question to yours: pdf compression with fme. Might provide some insight.


max_h
Supporter
Forum|alt.badge.img+19
  • Supporter
  • March 11, 2025

Hay ​@max_h, Here are Photos for the Reader / Writer / Transformer Settings. 

 

Little tip beforehand: ‘Show Summary Annotation’ (rightclick your transformer or CTRL+Shift+K) creates little notes, so you dont have to screenshot the menus.

 

It looks good, but now add a RasterResampler after the mosaiker, as I suggested earlier or as Ali’s posted similiar question.

Then set the compression to something like 90% and you should see a difference in filesize - and add a writer obviously afterwards.

 

Hope this helps!