Technical FAQs

Question

How do I ensure temp files are deleted when closing ImageGear .NET?

Answer

All PDF objects are based on underlying low-level PDF objects that are not controlled by .NET resource manager and garbage collector. Because of this, each PDF object that is created from scratch should be explicitly disposed of using that object’s Dispose() method.

Also, any ImGearPDEContent object obtained from ImGearPDFPage should be released using the ImGearPDFPage.ReleaseContent() in all cases.

This should cause all temp files to be cleared when the application is closed.

Question

How do I ensure temp files are deleted when closing ImageGear .NET?

Answer

All PDF objects are based on underlying low-level PDF objects that are not controlled by .NET resource manager and garbage collector. Because of this, each PDF object that is created from scratch should be explicitly disposed of using that object’s Dispose() method.

Also, any ImGearPDEContent object obtained from ImGearPDFPage should be released using the ImGearPDFPage.ReleaseContent() in all cases.

This should cause all temp files to be cleared when the application is closed.

TAMPA, Fla. – Accusoft, the leader in document and imaging solutions for developers, is proud to announce its beta release testing program, which provides participants with real-time access to its latest product developments.

Customer input is a key factor in Accusoft’s mission to build better software integrations that deliver functionality like OCR, image cleanup, forms processing, file manipulation, and viewing solutions. Thanks to the new beta program, participants will get early access to brand new products and have the opportunity to provide feedback on the latest features for existing products. Developers can also customize what types of betas they would like to opt into so they can focus on products most relevant to their business.

“Our previous betas for PrizmDoc Editor and PrizmDoc Cells were extremely beneficial for everyone involved, “ says Mark Hansen, Product Manager. “Our team received rapid feedback that helped make our products better, while participants had the opportunity to shape those products to meet their specific requirements.”

By signing up for the beta program now, you can participate in the active beta for PrizmDoc Forms integration, which will allow you to repurpose (or use) your PDF forms to easily create, customize, and deploy as web forms anywhere. You’ll also be the first to know about new product offerings and have the ability to opt into beta releases for Accusoft’s existing products, such as ImageGear, FormSuite for Structured Forms, and PrizmDoc Suite.

To learn more about Accusoft’s exciting new beta program, please visit our website at https://www.accusoft.com/company/customers/beta-release-program.

About Accusoft:

Founded in 1991, Accusoft is a software development company specializing in content processing, conversion, and automation solutions. From out-of-the-box and configurable applications to APIs built for developers, Accusoft software enables users to solve their most complex workflow challenges and gain insights from content in any format, on any device. Backed by 40 patents, the company’s flagship products, including OnTask, PrizmDoc™ Viewer, and ImageGear, are designed to improve productivity, provide actionable data, and deliver results that matter. The Accusoft team is dedicated to continuous innovation through customer-centric product development, new version release, and a passion for understanding industry trends that drive consumer demand. Visit us at www.accusoft.com.

Video playback has become a fundamental feature in today’s applications, mirroring the shift in user tastes and the widespread presence of multimedia in our digital era. As the appetite for video content rises—spanning tutorials, entertainment, online lessons, marketing assets, and content created by users—applications that provide seamless and adaptive video playback resonate with these needs, boosting user engagement and loyalty.

Additionally, video conveys intricate concepts effectively, resonates with those who are visual learners, and often elevates the user journey with a deeper, more engaging medium. Embedding powerful video playback capabilities can help applications stand out from the crowd, ensuring that they align with modern user demands and stay relevant in a video-driven digital environment.

Introducing PrizmDoc Video Playback

Recognizing the significance of video, the Accusoft engineering team has enhanced PrizmDoc with video playback capabilities. While PrizmDoc already smoothly integrates document viewing features into web applications, this latest addition empowers developers to seamlessly incorporate video features into their software. With PrizmDoc’s video playback, the days of hosting videos on external platforms or depending on poorly secured software plugins to embed videos are gone.

The new video playback feature augments PrizmDoc’s reputation for efficiency and top-tier performance, ensuring the delivery of premium video content with barely any processing delays and supporting a variety of file formats. Developers can effortlessly embed video playback using a straightforward API call, bypassing the need to construct intricate video functionality from the ground up.

Video Playback Benefits for Government Applications

Government agencies stand to gain substantially by integrating video playback capabilities into their applications’ document viewing systems. Here’s an in-depth look at the advantages this integration can bring:

Improved Communication and Collaboration

Incorporating video playback allows government agencies to revolutionize their documentation techniques, creating content that is not only captivating but also densely packed with essential information. This multimedia integration is advantageous in many ways: from presentations that need to capture the audience’s attention, to training modules that benefit from visual aids to ensure clearer understanding, to public service announcements where visuals can often communicate more effectively than words alone.

But the utility of videos extends beyond just the content. They serve as a dynamic conduit for enhanced communication, promoting more profound interactions. When government staff use videos, they open doors to a more direct and interactive dialogue with citizens and various stakeholders. This interactive platform, fostered by video content, encourages shared understanding and insights, catalyzing cooperative ventures. Moreover, it ensures that the core message of the agency is transmitted with clarity, reducing ambiguities and fostering trust between the government and its constituents. Videos are not just tools for information delivery but also instruments for building bridges and fostering collaborations.

Better Transparency and Oversight 

Government agencies can greatly enhance transparency and accountability in their operations by leveraging video playback in their applications. Recording committee sessions and admissible meetings ensures that even nuanced details of discussions are captured for future reference. For independent software vendors (ISVs) supporting the Freedom of Information Act (FOIA), integrating video playback into their applications provides an invaluable tool for their government customers. Agencies can monitor access to videos, ensuring that the integrity of video files is maintained while still making them available in accordance with FOIA requirements. 

More importantly, constituents who may not have the opportunity to attend meetings in person can still remain informed by viewing these video recordings. This fosters an environment of inclusivity and ensures that all citizens can be privy to government proceedings. Additionally, video integrations provide government agencies with detailed logs, allowing them to track file accesses, view detailed histories, and maintain a comprehensive understanding of the data’s interactions. This systematic organization not only aids in efficient operations but also upholds the tenets of transparency and accountability.

Enhanced Control

Providing access to recorded video content, though seemingly straightforward, brings with it a set of challenges, especially for government agencies. Unauthorized downloading or sharing of these recordings can jeopardize the integrity and security of the content. By embedding video playback functionalities directly within their applications, agencies gain a robust mechanism to regulate access, ensuring that only authorized users can view the content. The option to download files can be removed entirely, making it much easier to control how videos are viewed and shared.

More importantly, these integrations allow agencies to generate comprehensive audit trails, documenting every instance of access, and guaranteeing that the sanctity and confidentiality of the content are preserved. Many of these video files could hold sensitive or classified information, the distribution of which, without proper authorization, could have legal repercussions. Through strict controls on how these video files are accessed, viewed, and shared, government applications are better positioned to adhere to legal and regulatory stipulations, reinforcing data security and public trust.

Boosting Efficiency and Productivity

Video content can provide government personnel with a streamlined means to access crucial information. By offering data in an easily digestible visual and auditory format, videos facilitate quicker comprehension and thereby expedite decision-making processes. This ensures that government functions remain nimble and responsive in an ever-evolving landscape.

Beyond information dissemination, video playback can revolutionize operational tasks. Specifically, when it comes to onboarding new employees, standardized video training modules offer a consistent and efficient approach. These modules allow newcomers to familiarize themselves with institutional practices at their own pace, ensuring uniformity in training. Additionally, updates to reflect new policies or insights can be seamlessly integrated, making the training process both adaptable and up-to-date.

Augmented Transparency and Accountability

Videos provide a concrete and unambiguous record of governmental actions and decisions. This visual documentation brings greater clarity to operations, reducing misunderstandings and ensuring that agencies are held accountable for their actions. Providing video evidence helps to build trust, reinforcing that government agencies are operating transparently and in good faith.

Furthermore, modern video platforms offer more than just passive viewing experiences; they are interactive hubs that enable direct communication between the government and its citizens. Through these platforms, agencies can actively seek feedback, opinions, and suggestions from the public, ensuring that their policies and initiatives resonate with and address the genuine concerns of citizens. Video-enabled GovTech applications can also serve as continuous channels of information, allowing agencies to keep constituents regularly informed about new programs, updates, and changes, further solidifying the commitment to transparency and open governance.

Enhance GovTech Applications with PrizmDoc Video Playback

PrizmDoc’s new video playback feature offers numerous advantages for government applications. With this new capability, GovTech developers can help government agencies seamlessly integrate and access video content directly within their applications, removing the reliance on third-party platforms or external tools. Users ultimately benefit from a streamlined and integrated workflow, especially when drawing connections between official documents and relevant videos. By centralizing these functions and reducing associated expenses, GovTech software developers can focus their efforts and resources on other features, ensuring that their applications stay ahead in a continuously modernizing administrative environment.

To learn more about how PrizmDoc’s video playback feature can benefit your GovTech application, talk to one of Accusoft’s PrizmDoc specialists today.

Question

I am trying to perform OCR on a PDF created from a scanned document. I need to rasterize the PDF page before importing the page into the recognition engine. When rasterizing the PDF page I want to set the bit depth of the generated page to be equal to the bit depth of the embedded image so I may use better compression methods for 1-bit and 8-bit images.

ImGearPDFPage.DIB.BitDepth will always return 24 for the bit depth of a PDF. Is there a way to detect the bit depth based on the PDF’s embedded content?

Answer

To do this:

  1. Use the ImGearPDFPage.GetContent() function to get the elements stored in the PDF page.
  2. Then loop through these elements and check if they are of the type ImGearPDEImage.
  3. Convert the image to an ImGearPage and find it’s bit depth.
  4. Use the highest bit depth detected from the images as the bit depth when rasterizing the page.

The code below demonstrates how to do detect the bit depth of a PDF page for all pages in a PDF document, perform OCR, and save the output while using compression.

private static void Recognize(ImGearRecognition engine, string sourceFile, ImGearPDFDocument doc)
    {
        using (ImGearPDFDocument outDoc = new ImGearPDFDocument())
        {
            // Import pages
            foreach (ImGearPDFPage pdfPage in doc.Pages)
            {
                int highestBitDepth = 0;
                ImGearPDEContent pdeContent = pdfPage.GetContent();
                int contentLength = pdeContent.ElementCount;
                for (int i = 0; i < contentLength; i++)
                {
                    ImGearPDEElement el = pdeContent.GetElement(i);
                    if (el is ImGearPDEImage)
                    {
                        //create an imGearPage from the embedded image and find its bit depth
                        int bitDepth = (el as ImGearPDEImage).ToImGearPage().DIB.BitDepth; 
                        if (bitDepth > highestBitDepth)
                        {
                            highestBitDepth = bitDepth;
                        }
                    }
                }
                if(highestBitDepth == 0)
                {
                    //if no images found in document or the images are embedded deeper in containers we set to a default bitDepth of 24 to be safe
                    highestBitDepth = 24;
                }
                ImGearRasterPage rasterPage = pdfPage.Rasterize(highestBitDepth, 200, 200);
                using (ImGearRecPage recogPage = engine.ImportPage(rasterPage))
                {
                    recogPage.Image.Preprocess();
                    recogPage.Recognize();
                    ImGearRecPDFOutputOptions options = new ImGearRecPDFOutputOptions() { VisibleImage = true, VisibleText = false, OptimizeForPdfa = true, ImageCompression = ImGearCompressions.AUTO, UseUnicodeText = false };
                    recogPage.CreatePDFPage(outDoc, options);
                }
            }
            outDoc.SaveCompressed(sourceFile + ".result.pdf");
        }
    }

For the compression type, I would recommend setting it to AUTO. AUTO will set the compression type depending on the image’s bit depth. The compression types that AUTO uses for each bit depth are: 

  • 1 Bit Per Pixel – ImGearCompressions.CCITT_G4
  • 8 Bits Per Pixel – ImGearCompressions.DEFLATE
  • 24 Bits Per Pixel – ImGearCompressions.JPEG

Disclaimer: This may not work for all PDF documents due to some PDF’s structure. If you’re unfamiliar with how PDF content is structured, we have an explanation in our documentation. The above implementation of this only checks one layer into the PDF, so if there were containers that had images embedded in them, then it will not detect them.

However, this should work for documents created by scanners, as the scanned image should be embedded in the first PDF layer. If you have more complex documents, you could write a recursive function that goes through the layers of the PDF to find the images.

The above code will set the bit depth to 24 if it wasn’t able to detect any images in the first layer, just to be on the safe side.

The last twelve months have seen an unprecedented shift in the way organizations and customers are utilizing digital services. According to data gathered by McKinsey in 2020, digital adoption made roughly five years worth of progress in a span of eight weeks at the onset of the COVID-19 pandemic. While this massive shift impacted almost every industry, the government sector in particular faced tremendous disruption as its legacy systems struggled to keep pace with demand.

Many of the changes in the way people access government services are likely to remain in place even after the threat of the pandemic recedes, which creates a huge opportunity for software developers specializing in GovTech applications. A closer look at GovTech trends for 2021 provides some insight into those opportunities.

5 Key GovTech Trends to Watch in 2021

1. Remote Functionality 

Government agencies had to fundamentally rethink the workplace in response to the pandemic. Non-essential personnel transitioned to working remotely whenever possible, but this move created a number of challenges in terms of collaboration and security. Employees still need to be able to view, edit, and share files without compromising privacy or creating version confusion. All too often, remote workers resort to ad hoc solutions involving third party programs and conventional email, all of which make it incredibly difficult for an organization to maintain control over its essential files. GovTech developers can address these challenges directly by building software that facilitates remote collaboration entirely within a secure application.

2. Doing More with Less

One of the downstream consequences of social distancing restrictions and stay at home orders has been the erosion of sales tax revenue at the state and local level. While the impacts have not been as catastrophic as originally feared, many states are still facing significant budget shortfalls despite making deep spending cuts. The pressure will be on to find GovTech solutions that are easy to implement, use, and maintain. Efficiency and flexibility will continue to be important considerations as state and municipal governments seek out platforms that can address multiple needs and allow them to eliminate costly redundancies.

3. Shift to Digital

When government offices were forced to shut their doors in the early days of the pandemic, they had to scramble to find ways to deliver services digitally. This was especially difficult for agencies relying on legacy infrastructure and outdated software, but the transition to digital is unlikely to slow down anytime soon now that it’s underway. According to a recent study, 61 percent of government officials surveyed believe that the pandemic has accelerated their digital transformation goals, while 75 percent claim that their agency is pushing to offer even more services digitally. That will mean plenty of opportunity for innovative GovTech developers that can provide the automation and data management tools governments need to bring their services into the 21st century.

4. Fight for Privacy

Government agencies sit upon massive amounts of private data that must be kept secure at all costs. From personally identifiable information like Social Security Numbers to contracts and applications that contain confidential business data and vital trade secrets, governments have a responsibility to protect sensitive data at all times. They need systems and software that not only keeps files safely within the secure confines of an application, but also provides the redaction capabilities that allow agencies to comply with information requests. By designing platforms that promote transparency while also protecting privacy, GovTech developers can play an important role in building trust between government and citizens. 

5. Citizen-Centric Experience

The combination of evolving public expectations and demographic change was rapidly reshaping the delivery of government services even before the pandemic. In a global survey conducted in late 2019, Accenture found that 50 percent of respondents believed that requests to an agency could be resolved faster with the use of AI assistants or chatbots and that a transition to 24/7 access to government services would be greatly beneficial. Respondents also wanted easier access to their personal information (74 percent), faster response times (73 percent), and greater visibility into the status of their queries and applications (64 percent). Younger citizens accustomed to customer-centric experiences are further shifting expectations of what services the government should be able to offer digitally. It will fall to GovTech developers to design applications that connect citizens to their government and streamline processes that have long relied upon inefficient manual practices and direct physical interactions.

Enhance Your GovTech Application with Accusoft Solutions

Working with the government sector presents a number of challenges to even seasoned developers. From meeting complex compliance and privacy requirements to managing a dizzying range of document types, building and implementing an effective solution takes a great deal of time and development resources.

One of the easiest ways to speed up that process is by incorporating proven functionality into an application with SDKs or APIs. Accusoft’s collection of software integrations helps GovTech developers get to market faster by providing reliable and government-ready content processing features.

  • PrizmDoc Viewer: A powerful HTML5 viewer with annotation and redaction capabilities, PrizmDoc Viewer makes it easy to view, edit, and manage public records, contracts, and even more sensitive documents all within a secure GovTech application.
  • ImageGear: With ImageGear’s extensive image processing, conversion, and compression features behind them, GovTech applications can easily improve document workflows, consolidate information, and meet government archiving standards (thanks to PDF/A support).
  • FormSuite: Processing government forms can quickly overwhelm an application if it doesn’t have the capabilities to handle multiple form types or clean up document images. FormSuite for Structured Forms is a collection of forms processing SDKs that helps GovTech applications quickly sort and extract data from structured forms for superior speed and accuracy.

As GovTech trends continue to accelerate in 2021, developers need partners they can trust to provide secure, reliable functionality to their applications so they can focus their efforts on building software that meets the exacting needs of the government sector. Learn more about how Accusoft can fulfill that role and elevate the potential of GovTech applications.

Although it might feel as though time has been standing still for several months, 2020 is finally coming to an end. It’s been a year of unprecedented disruption for many industries, and insurance companies often found themselves struggling to adapt to change. Firms that had the foresight to invest in digital transformation backed by InsurTech solutions, however, proved more capable of meeting the moment and are now poised to thrive in 2021 and beyond.

As the new year approaches, it’s helpful to take a look back at some of the key trends that defined 2020 and created opportunities for innovative InsurTech applications. Understanding the pressures facing the insurance industry will also identify InsurTech projections to watch in the future.

5 Insurance Trends and InsurTech Projections

1. Remote Collaboration

No discussion of 2020 insurance industry trends would be complete without exploring how the COVID-19 pandemic has affected organizations. According to a survey conducted by Deloitte, 48 percent of insurance executives agreed that the pandemic revealed how unprepared their business was for such a disruptive crisis. From the sudden transition to a remote workforce to a shift in risk adjustment factors across the market, insurers have had to scramble to adapt their operations and continue delivering quality services to clients.

With so many employees going remote and customers unable to meet with representatives in-person, organizations that made early investments in digital collaboration tools and automation software were better equipped to meet the challenges of 2020. The industry is expected to make tremendous investments in digital transformation in the upcoming year, whether it’s in powerful document editing and management software, file conversion tools, or secure communication channels that better facilitate true collaboration.

2. Customer Demographic Shifts

Prior to 2020, insurance customers tended to be older, with millennials purchasing life insurance policies at lower rates and often delaying home ownership until later in life. This trend seems to have reversed itself in the wake of the COVID-19 pandemic, however, with life insurance application activity growing twice as fast for people under 45 than those aged 45-49. Since many of these younger buyers are first-time applicants, it’s important for insurance agents and firms to make the process as streamlined and easy to navigate as possible.

According to a nationwide industry survey, just over 75 percent of independent insurance agents are age 50 or older and nearly 68 percent have more than 20 years of experience. Having such a long-tenured workforce poses challenges when it comes to implementing new processes and reaching out to potential customers with different needs and preferences than those of earlier decades. In order to remain competitive, however, firms must invest in the right InsurTech solutions to gather data that will give them a better picture of what insurance products and services younger customers will find attractive.

3. Robotic Process Automation

The shift to a remote workplace greatly disrupted traditional workflows. Without centralized offices, key insurance tasks like claims processing and document verification are much more difficult to perform manually. Organizations that had already invested in robotic process automation (RPA) to handle repetitive tasks were in a much better position to thrive in a remote landscape. 

Insurance companies must be able to process a variety of forms during an application or a claim. Having automated InsurTech tools in place to quickly extract data from a variety of sources and carry information over from one form to another not only saves time, but also greatly reduces the risk of human error. For a remote workforce, automation software helps to consolidate complex workflows to eliminate version confusion and enhance collaboration.

4. Artificial Intelligence

Risk assessment and data analysis are crucial to the underwriting process. In a volatile economic environment, insurance firms are under more pressure than ever before to set the right premiums. Although the data is now readily available to make more accurate assessments, sorting through that information manually is difficult and time consuming. 

As the COVID-19 pandemic demonstrated, the scope of risk can change dramatically in a very short period of time. By deploying artificial intelligence (AI) to analyze risk factors and review potential fraud claims quickly and accurately, insurers can create customized policies and provide more responsive service to their customers.

Implementing AI-driven algorithms as part of the underwriting and fraud analysis process will only be one part of the challenge facing firms in 2021. These powerful tools must have sufficient data in order to make informed predictions. By improving the data collection process with form processing tools, file conversion, and programmatic searches, insurers can provide their analytics platforms the best possible information for analysis.

5. Customer Experience

One of the few positive impacts of the COVID-19 pandemic was that it forced organizations across every industry to find new ways of connecting with their customers. The insurance industry has traditionally lagged behind other sectors, tending to lean upon a combination of tradition and legacy infrastructure to engage with customers. But the events of 2020 have underscored the need for a true digital transformation that fundamentally reorients the way firms market, sell, and deliver insurance products. The need has become so evident, in fact, that a recent PWC survey found that 70 percent of insurance CEOs are prioritizing customer experience and user interfaces as their top investment opportunity.

In the coming year, firms will likely continue to invest in technology that makes it easier for customers to research and manage their policies. Whether it’s applications that allow them to submit claims information in a variety of file formats or forms and contracts that automatically fill in commonly used form fields, the core focus will be on making the customer experience as frictionless as possible with a variety of InsurTech benefits.

The Role of InsurTech

Many insurance companies will be looking to upgrade their technology stack and client-facing applications in response to these trends. That creates a tremendous opportunity for InsurTech developers who are creating the next generation of software tools to streamline core processes common to the insurance industry.

Delivering those digital products on a short timeline with limited resources, however, can be quite a challenge for even the most innovative InsurTech startup. That’s why many of them turn to third-party solutions to provide proven functionality that lies outside the scope of their development expertise. 

Features like forms processing, document conversion, and image viewing can be easily integrated into an application using an SDK or API, saving the team weeks or even months of work. This helps InsurTech companies get their products to market faster to meet the digital transformation needs of their customers and keep them a step ahead of their competitors.

InsurTech SDKs and APIs

Accusoft’s family of processing and automation SDKs and APIs provide InsurTech developers with the tools they need to easily plug essential functionality into their applications so they can get back to focusing on their most innovative features. With a variety of deployment options and a diverse set of code-based solutions, we have the flexibility to meet your software’s unique use case and substantially reduce your time to market.

Whether you’re looking to integrate document viewing, collaboration, or processing to your InsurTech platform, our SDK and API-based products can help you deliver the InsurTech benefits your customers are looking for. Learn more about our insurance solutions or contact us today to demo one of our products.