Skip to main content
carmenj8315827
Participant
January 3, 2023
Question

Programmatically determine if PDF contains crops/bleeds

  • January 3, 2023
  • 2 replies
  • 787 views

I'm using Coldfusion 2021 Enterprise and would LOVE to be able to determine if a particular PDF contains crop marks. Is there ANY WAY to do this? I don't mind using a 3rd party utility or SDK.

This topic has been closed for replies.

2 replies

Legend
January 4, 2023

The Acrobat SDK is a large and powerful PDF API, and certainly could detect crop marks. However, it is a set of tools for automating Acrobat, and cannot be used to make standalone apps. Since the use of Acrobat (an interactive tool) on a server is not possible, the Acrobat SDK cannot help with your use case. Consider Adobe PDF Library (licensed by DataLogics)

Legend
January 4, 2023

One other point; there is nothing magic about crop marks, they are just marks in a page. So any solution in any API would be a complex process of analysis of contents, guesswork, fuzzy logic, and project specific rules. 

Thom Parker
Community Expert
Community Expert
January 3, 2023

Ask this on the CF forum

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
carmenj8315827
Participant
January 3, 2023

There is no support in ColdFusion to detect crop marks. I was hoping there was some other utility or SDK I can use to accomplish this.

Thom Parker
Community Expert
Community Expert
January 3, 2023

There are many SDKs/tools that provide the ability to report page boxes. I don't know about "Crop Marks". That sounds like some type of graphic in the content.  But there are also SDKs that can examine content. However, whether or not said SDKs or Tools are usable from CF is outside the scope of this forum.  

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often