Apply image processing only to specific pages in the document

  • 911 Views
  • Last Post 3 weeks ago
  • Topic Is Solved
medizini97 posted this 3 weeks ago

Hello,

Is it possible to apply image processing only to certain pages in the document?

I would like to edit certain pages in the document with the greyscale filter.

For example, using a QR code on the relevant page.

My idea was to use a split operation, then check whether the QR code is present, then apply the filter and then reassemble the document. Unfortunately, I haven't found a way to merge the pages.

 

Order By: Standard | Newest | Votes
luca.scarpati posted this 3 weeks ago

Hi,

 

You're on the right track, thinking step by step is exactly what works cool!

Once separated/splitted the document you need to find the merge point of the document after your image processing...so we always suggest an intermediate workflow (before the final output) that "appends":

  • WF as capture -> WFS as connector with Output profile tiff and append enabled

 

Here you are some usefull info:

 

Best regards,

Luca

  • Liked by
  • medizini97
medizini97 posted this 3 weeks ago

Thank you very much for pointing me in the right direction.

This workflow allows me to achieve the desired result.

As a prerequisite, I have a QR code with the value “ColorPage” on every page that is supposed to be in color.

First workflow:

1. Watch Folder (Path C:\IN\)
2. Barcode Reader (Reg.Ex. “ColorPage,” All pages, Use as separator)
3. Split trigger (On number of pages 1 to separate the pages after the color page)
4. Condition trigger (Condition Left operator "%BARCODEREADER_SEPARATIONPAGES%" Match RegExp "^.*\b%CURRENTPAGEONSPLIT%\b.*$")
4. true → 5. Windows File System
4. False → Image Processing (Filter Grayscale) → 5. Windows File System
6. Windows File System (Path „C:\INTERMEDIATE\“, Filename „%ORIGINALFILENAMEWITHOUTEXTENSION%“, If file already exists Append, output profile TIFF)

Second workflow:

1. Watch Folder (Path C:\INTERMEDIATE\)
2. Windows File System (Path „C:\OUT\“, Filename „%ORIGINALFILENAMEWITHOUTEXTENSION%%UNIQUECOUNTER3%“, output profile PDF)

  • Liked by
  • luca.scarpati
Close