Skip to main content
Question

PDF size reducing


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+22
  • 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
Contributor
Forum|alt.badge.img+10
  • Contributor
  • 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+22
  • 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
Contributor
Forum|alt.badge.img+10
  • Contributor
  • March 11, 2025
bsheertareq35 wrote:

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!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings