Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Programmatically determine if PDF contains crops/bleeds

Community Beginner ,
Jan 03, 2023 Jan 03, 2023

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.

TOPICS
Acrobat SDK and JavaScript
774
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 03, 2023 Jan 03, 2023

Ask this on the CF forum

 

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 03, 2023 Jan 03, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 03, 2023 Jan 03, 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 PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 04, 2023 Jan 04, 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)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 04, 2023 Jan 04, 2023
LATEST

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. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines