GrayScale and Compress PDF

4 posts, 0 answers
  1. Cleidson
    Cleidson avatar
    5 posts
    Member since:
    May 2016

    Posted 08 Aug 2016 Link to this post

    Hi Guys,

    I'm finding a solution for two questions using PdfProcessor:

    1 - There is a way to convert a pdf document to GrayScale ?

    2 - There is a way to compress a existing pdf document ?

     

    Regards,

    Cleidson.

     

     

  2. Deyan
    Admin
    Deyan avatar
    158 posts

    Posted 10 Aug 2016 Link to this post

    Hello Cleidson,

    About the grayscale conversion - you may import the PDF file and iterate its content by changing the colors to gray. I am attaching a sample project showing how to import PDF file with colors, change the colors of the Path, TextFragment and Image instances and finally view the modified file.

    As for the compression - when you import and then export some existing PDF file with RadPdfProcessing the exported file is always compressed the best way RadPdfProcessing can. So if the original file has uncompressed content RadPdfProcessing will compress it on export. The only property that allows you to change the default RadPdfProcessing compression is PdfExportSettings ImageQuality property. Using this property you may export images in the PDF file with better compression at the expense of image quality.

    I hope this is helpful. If you have any other questions or concerns please do not hesitate to contact us again.

    Regards,
    Deyan
    Telerik by Progress

  3. Abhay
    Abhay avatar
    3 posts
    Member since:
    Oct 2017

    Posted 3 days and 9 hours ago in reply to Cleidson Link to this post

    maybe you can find the answer here http://everything4comp.blogspot.com/2017/11/compress-pdf-how-to-reduce-pdf-size.html
  4. Abhay
    Abhay avatar
    3 posts
    Member since:
    Oct 2017

    Posted 3 days and 9 hours ago in reply to Abhay Link to this post

    maybe you can find answer her on this blog https://everything4comp.blogspot.com
Back to Top