Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4016936
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:48:01+00:00 2026-05-20T09:48:01+00:00

I am using the Open source PurePDF library in my Flex AIR application. The

  • 0

I am using the Open source PurePDF library in my Flex AIR application. The problem is performance:

It takes 100% CPU usage and too long to generate a PDF.

  • I have done some analysis on it and
    find that the text writing in pdf is
    expensive. That’s why I need to know how I
    can improve the performance. Are
    there any fonts for which pdf
    generation is less expensive, or
    is there some setting or tip that can make this
    process somewhat better in terms of
    performance?

  • secondly in case of images the ImageElement generation is very expensive when writing that element to PDF. Is there any way to reduce the processing?

Meanwhile, I found a way to reduce the ImageElement generation processing by resizing the image using flex and by then passing the small image’s bitmap data to the image element. It works fine, and i have reduced the time of execution to a good extent. Does anybody else have ideas about other problems?

  • is there any way to tell PDF to work in chunks or divide the work in such a way that it may take more time to complete but won’t block the GUI while the PDF is being generated?

Please help — thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T09:48:02+00:00Added an answer on May 20, 2026 at 9:48 am

    The way to optimize the PDF generation with purePDF is to divide the working of purePDF component generation in chunks by creating the components time to time and the major issue resolved by image resizing

    As images takes to time to be embed in PDF and the time taken in this processes is directly proportional to image size.

    So 1st reduce the size of image and then embed in PDF (Keep in mind if sizes are reduced up to a large scale it will reduce the quality of image very much ) keep experimenting to get the optimum size to have good enough quality and speed for PDF generation.

    The last thing is to avoid the transparent images as they need more processing only use transparency if must required otherwise use images with white background .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .NET application, which is using an open source C++ compression library
I am using an open source .Net library which uses MSMQ underneath. After about
I'm using a open-source Python library in my project. This library logs a lot
I am using an open source java library called Weka in an Eclipse Indigo
I am using the open source IOMeter to test the IO performance of my
I have a simple tank wars style game using the allegro open source library.
I am using sugarCRM Open Source Application for my own purpose. When I click
I was incorporating the OCR in my iPhone app using open source library tesseract.I
I'm using a open-source library for i2c bus actions. This library frequently uses a
I am working on a Search Application and using open source Search Engine Lucene.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.