Technical FAQs

Question

Why is touch input for PrizmDoc Viewer not working in Chrome version 70+?

Answer

PrizmDoc Viewer uses the Chrome Touch API to process touch input. This API was deprecated after Chrome version 70, and must be manually re-enabled in order for touch input to work in PrizmDoc.

For Chrome versions 70-77:

Paste the following link into Chrome to enable the Touch API:

chrome://flags/#touch-events

This issue will also occur in the Chromium version of Microsoft Edge.

Paste the following link into Edge to enable the Touch API:

edge://flags/#touch-events

For Chrome Versions 78+:

As of version 78 of Chrome, the touch-events flag has been removed from chrome://flags/ and edge://flags/.

To enable touch-events in versions of Chrome 78 and later, you must set a command-line flag at the end of the target path in your Chrome shortcut properties as demonstrated below:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --touch-events=enabled
Question

Users want the ability to have all the documents that they view initially open with the same Zoom Percentage. How can I accomplish this?

Answer

Setting the zoom percentage is possible in PrizmDoc. You can listen in on the ScaleChanged event, which is triggered whenever your user changes the zoom level of the Viewer. For more information, refer to the EventType section of the PCCViewer help topic.

Then you could take that value, store it however you want, and use it to set the initial zoom factor of the page upon loading the Viewer using setScaleFactor. For more information and a code sample, refer to the Setting the Initial Zoom Factor help topic.

Question

Normally, when I create a viewer in my own application, I do:

viewer = $("#some-div").pccViewer({ ...options });

Then I can make calls like:

viewer.viewerControl.search("Some search term.");

But in the legacy samples the Viewer isn’t set to a global variable. How can I access the viewerControl object?

Answer

If you call $("#some-div").pccViewer(); without any arguments, it will access the existing Viewer in the relevant <div> instead of creating a new one. For example, in the WebForms sample, var viewer = $("#viewer1").pccViewer(); will create a reference to the sample’s existing Viewer.

Question

Does viewing HTML in PrizmDoc Viewer allow JavaScript execution or local file access? Can PrizmDoc Viewer block externally-referenced content from being rendered?

Answer

When viewing HTML in PrizmDoc, JavaScript and local file access are disabled.

Additionally, you may configure the security.htmlRendering.blockExternalContent setting found in PrizmDoc’s Central Configuration file. When rendering any source document which uses HTML content, this setting controls whether or not externally-referenced content, such as images and iframes, will be blocked. This option affects any source document file type which uses HTML, including HTML, EML, and MSG.

On July 12, 2022, Accusoft announced the latest update to PrizmDoc, its industry-leading document processing integration. The PrizmDoc 13.21 update improves existing features and adds key functionality related to format support, redaction capabilities, content conversion, and more, allowing developers to offer enhanced functionality within their applications. 

One of the main improvements in this release is to PrizmDoc’s Content Conversion Service (CCS). PrizmDoc now provides the ability to convert PDF documents to MS Word (DOCX) documents, making shared collaboration easier than ever before.

Other features and updates in this release include: 

  • High-Efficiency Image File Format (HEIF, HEIC) support for viewing, redaction, and conversion to JPG/JPEG, PDF, PNG, SVG and TIFF. 
  • PrizmDoc Viewer Markup Burner API now provides the ability to burn in redaction reason text for transparent (draft mode) redactions and provides the ability to remove PDF AcroForm fields. 
  • Improved performance of the PAS GET MarkupLayers API when using AWS S3 storage, which significantly reduces network traffic between PAS and S3.

PrizmDoc provides customizable document processing to help developers deliver in-browser document creation, editing, and collaboration functionality, to enhance their software applications.

For more information about PrizmDoc or to download a free trial, please visit our website.

About Accusoft: 

Founded in 1991, Accusoft is a software development company specializing in document 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.

Question

In PrizmDoc, my document appears to be small on the page relative to the viewer. How can I fix this?

enter image description here

Answer

By default, PrizmDoc renders a PDF file according to the MediaBox, which is normally the same as CropBox, though sometimes this is not the case. The larger area you see in the PrizmDoc Viewer is the size of the MediaBox. Please note that the product provides the fileTypes.pdf.pageBoundaries control option (or useCropBox in the older versions) to change the default behavior. Try setting the option to cropBox in the Central Configuration File in order to get the PDF content rendered according to the CropBox. You can read more about configuring image frame rendering in our documentation here.

For additional reading, see 7.7.3.3 on “User Space” of Adobe’s PDF 1.7 specification:

https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf

Note: In some older versions of PrizmDoc, there exists an issue where setting the pageBoundaries field to cropBox can cause light blurring/distorting on the page. This issue was addressed in version 13.4.

Question

In PrizmDoc Viewer, can I delete a saved annotation collection? When I make annotations on a document, I can save them and give them a name. Then if I come back to the document later, I can access my saved annotations, add new ones, and delete individual ones, but I don’t see a way to delete the collections themselves, is this possible in PrizmDoc?

Answer

Deleting the annotation references is possible, though our Viewer sample does not have a built-in way to delete them. This is so individual users cannot delete annotations meant for a larger audience. You can add the feature to your project by using our Markup Layers API:

DELETE /MarkupLayers/u{viewingSessionId}/{layerRecordId}

Question

We have been noticing in our PrizmDoc environment that the viewer seems to take longer and longer to view documents over time. After a few days, we restart the Prizm services, and the Viewer processes faster. What might be the reason for this issue?

Answer

This issue is typically caused by a change in the core count of the server after PrizmDoc has been installed. Specifically, the non-interactive heap size will not automatically update if the core count is changed after PrizmDoc has been installed. We update this value during install.

If you have made changes to the core count of the server after installation, please see the following page for correlation between the non-interactive heap size and the CPU cores count:
https://help.accusoft.com/PrizmDoc/latest/HTML/registry-changes.html?highlight=heap%2C.

The reason the non-interactive heap size matters here is because it affects performance of the Office and HTML conversion services, and the symptom of insufficient non-interactive heap size is soffice.bin crashing.

Question

What file types are supported by Accusoft PDF Viewer?

Answer

The viewer currently supports only PDF file formats based on the PDF32000 specification. If you need more wide ranging document support our PrizmDoc Server platform can help!

Redacting documents is critically important for legal departments and government agencies. By removing sensitive information from a digital file before sharing it publicly, it’s possible to protect private data or classified materials from being exposed. 

In the days before digital documents, redaction involved a simple, if crude, process of covering text with a black marker. Since redactions were done by hand, it was easy for mistakes to be made, which could range from using insufficiently dark ink to leaving portions of text exposed. The development of high-powered photo enhancement has rendered this approach all but useless, as even inexpensive image processing technology can distinguish blacked-out text.

With the transition to digital documents, organizations finally have access to true redaction capabilities. Unfortunately, they still tend to make mistakes when it comes to flattened PDFs that could leave redacted context exposed and vulnerable.

What Is a Flattened PDF?

A modern PDF file consists of multiple layers, each of which can contain separate elements. One layer might feature text, another image, and yet another a fillable form. The flattening process removes all interactive elements from form fields and combines all of the document’s elements into a single layer. 

Organizations frequently used this process to “lock in” form content to prevent anyone from altering the information after a user completes the forms. It also removes elements like dropdown selections within form fields and can burn in other annotations or markups, making them a permanently visible element of the document.

Flattened PDF Redactions

Unfortunately, simply flattening a PDF is usually not sufficient to securely redact a document. That’s because obscured elements are still present in the document; they’re just not visible when the file is viewed and printed. 

Recovering improperly redacted content is actually quite trivial in many cases. Two of the most infamous recent examples include information released during the investigation of political campaign chairman Paul Manafort in 2019 and court documents related to Facebook’s use of personal data in 2017. In both cases, journalists were able to copy redacted text from PDF files and paste it into a text editor to reveal the obscured content.

There are typically two ways that improper redactions occur:

  1. Covering Text with Boxes: This frequent mistake occurs when people try to treat a digital document like a physical piece of paper. They place annotations over the sensitive content, usually in the form of a black box, and then save a flattened version of the PDF thinking that no one will be able to separate the text from the annotation element. As the Manafort and Facebook cases demonstrate, however, getting around these “redactions” is usually quite easy.
  2. Changing the Color of Text: Another common redaction error involves altering the color of the sensitive text to match the document background. Changing the text color to white, for instance, might make it invisible to the human eye, but it does nothing to alter the content itself. The text can be made visible again by using the copy/paste trick described above or by altering the background characteristics in another program. 

The only way to make these methods viable for true redactions would be to actually print the documents with the content hidden and then scan them back into digital form, where OCR could be used to reconstruct a new file. But even in this case, there’s a chance that a powerful OCR engine might be able to pick up the hidden elements.

Using Proper Redaction Prior to Flattening with PrizmDoc Viewer

In order to redact documents securely, applications need to have access to specialized redaction tools that are capable of actually removing content from the document itself before applying redaction indicators. PrizmDoc Viewer’s redaction API can find and extract key text while also providing single or multiple reasons for the removal. 

This not only allows organizations to redact documents quickly, but it also ensures that the redacted information won’t be exposed later because it no longer even exists within the document. More importantly, the outputted document is entirely new, so there is no deleted information to recover. 

While most people are familiar with the distinctive black bars that indicate redacted content, even this leaves behind significant context clues that could provide hints of what was removed. Consider, for instance, a document involving multiple parties where the names of conversation participants have been redacted.

The following information:

PDF Redaction

The length of the redaction, then, would at least indicate when the redaction did not involve one person or the other. There are also many instances involving government documents where the length of the redacted information in classified material might suggest its relevance or importance.

When it comes to GovTech applications that need to remove large portions of information for security reasons, it often helps to perform redaction BEFORE turning a document into a flattened PDF. The PrizmDoc Viewer redaction API can be used to quickly extract text from a document and then redact it as a plain text file

Unlike a static PDF document, plain text accounts for width variations, so all redactions can be replaced with a standardized <Text Redacted> marker that makes it impossible to know the length of the redacted content. The text could then be converted into a PDF after the redaction process is complete.

Take Control of PDFs with PrizmDoc Viewer

As a fully-featured HTML5 viewer, Accusoft’s PrizmDoc Viewer delivers powerful viewing, annotation, and conversion functionality to your web application. It provides a broad range of redaction capabilities that allow legal, financial, and government organizations to keep their sensitive data secure and protect their customers. 

By integrating these complex features into your applications, you can focus your development efforts on building the tools that set your solution apart from the competition while our proven technology powers your customers’ viewing and redaction needs. To learn more about PrizmDoc Viewer’s powerful capabilities, download a free trial and test how it can support and enhance your application.

 

For over 30 years, Accusoft has developed groundbreaking digital imaging technology that has revolutionized the way applications manage and process content. From high-resolution image compression and file format conversion to data extraction and barcode recognition, Accusoft technology can be found in some of the most sophisticated and widely used software in the world. The company’s enduring success is built upon a combination of patented engineering innovations and key strategic acquisitions.

Humble Beginnings and Early Success

The origins of Accusoft go back to the late 1980s, when founder and CEO Jack Berlin got a hands-on look at one of the first digital cameras at a trade show and developed an interest in the nascent technology.

“I just fell in love with it and wanted to get involved in digital imaging,” he recalls. That desire led Berlin to found Pegasus Imaging Corporation in September of 1991. “It started as a hobby, but it became serious pretty fast.”

The company quickly found its niche selling innovative image compression and decompression technology that software developers could incorporate into their applications. Over the next decade, Pegasus Imaging made a name for itself thanks to advancements in lossy and lossless JPEG compression that were adopted by leading photo imaging companies such as Kodak, Canon, Nikon, Fujifilm, and Konica Minolta.

In 1998, Pegasus Imaging expanded into medical imaging with the groundbreaking PICTools Medical SDK. The company quickly made a splash in the market by solving the infamous “DICOM bug” associated with the Cornell codec, an open-source codec frequently used for lossless JPEG compression. Pegasus Imaging’s engineers were able to identify why the codec rendered some images unreadable after decompression and provide a means of both compressing images safely and decompressing files once thought to be corrupted beyond repair. That ability to quickly solve imaging problems helped make PICTools Medical a major success with some of the world’s largest medical technology companies, including GE Healthcare, McKesson, Philips Medical Systems, Siemens Medical Solutions, and Toshiba.

Evolution and Expansion

Although Pegasus Imaging enjoyed a great deal of success in its first decade, Berlin knew the company needed to grow if it was going to retain a competitive edge in the 21st century.

“The challenge with the technology business is you have to improve it or lose it,” he says. “You don’t get to sell the same product ten years later. You have to continue to innovate.”

The early 2000s saw Pegasus Imaging embark on a series of acquisitions that helped expand its business and continue pushing the boundaries of innovating in digital imaging. Each merger involved a strategic consideration of how it would position the company to evolve to meet the complex challenges of the future.

“People typically want to buy growth, but we look at it differently,” Berlin says. “We’re a big believer that the reason to buy companies is their customers, their products, and their people. Products are worth nothing without their people.”

In 2004, Pegasus Imaging acquired TMSSequoia, which had developed the most sophisticated structured forms processing and document image cleanup technology in the world. The people behind that technology, however, proved even more valuable to the growing company, contributing to the development of several proprietary innovations over the years that followed. Their ongoing contributions can be seen in products like FormSuite, which remains an industry leader in forms processing technology.

The TMSSequoia acquisition, along with the development of its lightning fast ImagXpress toolkit, set Pegasus Imaging on the path to becoming a much bigger player in the document imaging market. Its next major acquisition came in 2008 with the purchase of AccuSoft, a Massachusetts-based imaging software company best known for its powerful ImageGear SDK. No sooner had the deal closed, then Pegasus Imaging expanded once again by acquiring the UK-based Tasman Software, which had developed groundbreaking barcode recognition technology that would eventually be incorporated into the popular Barcode Xpress SDK product.

Over the course of just a few years, Pegasus Imaging had greatly expanded its portfolio of document imaging and processing solutions by strategically identifying the technology and engineering talent that could fuel the company’s growth. To Berlin, making the most of those acquisition opportunities are critical to sustained success in a competitive industry:

“It’s grow or die. We’re up against larger and larger competitors. Consolidation gives you market share and economies of scale. If profitability goes up, you can invest in new product development, marketing, and growth.”

In 2009, Pegasus Imaging changed its name to Accusoft Pegasus to rebrand the company as a key player to watch in the document imaging and processing industry.

Integration and Innovation

The acquisition of AccuSoft expanded the company’s market share and expertise, but it also created a new challenge for the engineering team. AccuSoft’s ImageGear SDK frequently competed directly with Pegasus Imaging’s ImagXpress. While there was no question that the newly rebranded Accusoft Pegasus would continue to support customers using these products, strategic decisions had to be made about their respective futures.

As the team evaluated each product, it quickly became clear they were the result of very different approaches to software development.

“ImagXpress was much easier to use, but it didn’t have all the platforms and features of ImageGear,” Berlin recalls. “Their idea was to throw everything but the kitchen sink into the product, and if somebody complained, fix it. Pegasus wanted to make everything perfect and add features very slowly. I think there was a happy medium there somewhere.”

ImageGear’s ability to support multiple platforms and the rapid development of modern compilers eventually made it a more attractive SDK for developers, but the Accusoft Pegasus team incorporated the best features of ImagXpress into it to make ImageGear an even better product. Throughout the integration, the company put new processes into place to strike a balance between speed and perfection. Product management structures were also established to improve feedback loops, lay down feature roadmaps, and keep to development timelines without compromising quality.

All of these lessons would prove invaluable when Accusoft Pegasus acquired Adeptol in 2011 and added the company’s AJAX Document Viewer to its portfolio. While Adeptol’s browser-based viewing technology was undoubtedly innovative and correctly predicted what future web applications would require from viewing integrations, the product itself was Flash-based. In addition to being a proprietary technology, Flash contained multiple security vulnerabilities and was already on the decline by 2011.

The Accusoft Pegasus team got to work rebuilding the viewer using HTML5, making it much easier for developers to incorporate viewing features into web-based applications. As the new product took shape, it also allowed the company to expand into the growing market for cloud-based API integration products. Released as Prizm Content Connect in 2012, the HTML5 viewer would be rebranded in 2016 as PrizmDoc.

30 Years of Growth and Innovation

In 2012, Accusoft Pegasus rebranded once again to become Accusoft. Today, the company remains a pillar of the tech community in Tampa, FL even as it strives to expand its business globally. In 2021, Accusoft celebrated its 30th anniversary, a significant milestone for a privately held, employee-owned corporation that began as a hobby.

For Berlin, those humble origins and the long journey to success are what make a company like Accusoft special.

“It’s not just dollars and cents, but a sense of pride and competitiveness,” he says. “It stops being about money at some decimal point. It’s about the people and the legacy and seeing what you can do. We give back a lot to our community. I really enjoy that. We participate in our community, both in tech forums and charity drives and work days. If we cease being Accusoft or cease being Accusoft in Tampa, FL, that’s gone.”

Accusoft and Snowbound Join Forces

That same sense of pride and passion was shared by Simon Wieczner, President, CEO, and co-founder of Snowbound Software. Established in 1996, Snowbound first made a name for itself in the document imaging market with the RasterMaster conversion and imaging SDK. RasterMaster supports hundreds of formats and uses proprietary technology to quickly convert, archive, and display files in high resolution without loss of fidelity.

As two of the leading innovators in document imaging integrations, Snowbound and Accusoft routinely found themselves competing for the same customers over the years. “We were competitors, but not fierce competitors,” Wieczner recalls. “We would mostly run into each other at trade shows and talk about the market.”

Berlin first floated the idea of merging the two companies around 2015, but it wasn’t until much later that acquisition conversations turned serious. With so much money being invested in the tech industry over the previous decade, Snowbound had already received substantial interest from potential buyers, but most of the offers didn’t sit well with Wieczner.

“There’s been a craze over the last few years of growth equity companies looking for SDK companies,” he says. “They were offering good dollars, but without understanding our technology. So there was a little bit of distrust on my part. Some actually wanted to outsource everything and that would totally destroy the company.”

Many potential suitors were primarily interested in incorporating Snowbound’s technology into their own products rather than supporting existing customers and continuing to sell into the market. As conversations with Accusoft continued to progress, Wieczner realized that he’d already found the ideal acquisition partner.

“Accusoft understood the market, what our company did, and how we could fit together,” he says. “That’s why we felt ready to move on together.”

“Both Simon and I are passionate about the success of the company,” Berlin says. “It’s what small business people do. We tend to worship entrepreneurs that get in, build a shell, and get out with a billion dollars, but I don’t know if they’re fulfilled because there’s such fulfillment in seeing what you’ve built accomplish something.”

In late 2022, the companies moved ahead with a deal that saw Accusoft acquire Snowbound. The merger brings Snowbound’s RasterMaster® and VirtualViewer® products into the portfolio of Accusoft solutions:

  • RasterMaster®: A Java-based conversion and imaging SDK, RasterMaster can be incorporated into applications for all computing platforms, including Unix, Linux, Windows, and Mac. The SDK supports hundreds of document types through its proprietary format library and provides a variety of document imaging tools, such as annotations, redactions, OCR, text extraction, and image cleanup.
  • PrizmDoc® for Java, formerly VirtualViewer®: Developed to meet the demanding needs of the banking industry, PrizmDoc® for Java is an HTML5-based viewer that can be easily incorporated into web applications to allow users to view, annotate, and redact documents and images from any platform, anywhere. PrizmDoc® for Java’s library of APIs and out-of-the-box connectors for popular ECM applications (including Alfresco, IBM, and Pegasystems) make it a powerful tool for developers looking to quickly integrate advanced document workflow capabilities.

The Future

In keeping with Accusoft’s long history of strategic acquisitions, the Snowbound merger brings with it an influx of new customers, new technology, and new talent into the Accusoft family. Those resources will help the company to continue investing in innovation to compete in an increasingly high-stakes market.

“It’s a real challenge to incorporate other companies and take that risk, but they’ve done well with it,” Wieczner says. “We were deliberate in selecting an organization with a leadership team and product portfolio that would continue to grow, develop, and nurture what we have built at Snowbound.”

With three decades of experience and success to draw upon, Accusoft is better positioned than ever to meet the evolving needs of its customers and deliver a new generation of document imaging products powered by groundbreaking technology.