Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  SplitMultipageTiff- delete original file

    Posted Fri September 13, 2024 08:09 AM

    Good morning.  We are on Datacap 9.1.5.  I have a project that requires for Datacap to ingest multi-page tif files into our virtual scan application and split them into individual pages in the batch to have some processing done on them.  I am using the SplitMultipageTiff action which works great... except that it does not remove the original multi-page tif from the batch.  How can I accomplish the goal of having only the individual tifs in the batch?  Is there a better way than SplitMultipageTiff?  Any guidance is greatly appreciated.



    ------------------------------
    Danny Mann
    ------------------------------


  • 2.  RE: SplitMultipageTiff- delete original file

    Posted Mon September 16, 2024 03:33 AM

    Hi Danny,

    i think it is kind of reasonable to default to keeping the original data. If you want to delete the source image anyways, i would do it via the FileIO actions:

    DeleteFile("@PILOT(BATCHDIR)+\+@P.IMAGEFILE") 

    on the multi-tiff-page or something similar.

    Regards Julian



    ------------------------------
    Julian Fiegenbaum | ISR Information Products AG | Consultant | Germany
    ------------------------------



  • 3.  RE: SplitMultipageTiff- delete original file

    Posted Mon September 16, 2024 04:27 AM

    Hi Danny,

    Julian's recommendation is spot-on. There's an action which does what you require but I'm not sure whether it's available in Datacap 9.1.5:

    Kind regards,

    Shaun



    ------------------------------
    Shaun McDowall
    ------------------------------



  • 4.  RE: SplitMultipageTiff- delete original file

    Posted Mon September 16, 2024 07:32 AM

    Hi Shaun,

    you are absolutely right to point that action out. It differs from my answer in that it deletes the DCO object but not the tiff from the batch folder. I understood Danny the other way around, but see now that i might have misunderstood that.

    Anyways - we have presented both options  now :)

    The action seems to exist in 9.1.5 DeleteSourceImagePages - IBM Documentation

    Best regards
    Julian



    ------------------------------
    Julian Fiegenbaum | ISR Information Products AG | Consultant | Germany
    ------------------------------



  • 5.  RE: SplitMultipageTiff- delete original file

    Posted Mon September 16, 2024 02:13 PM

    Thank you both.  Those are perfect options for doing it whether or not you want to remove from DCO also.  I also found that in the mvScan actions library there is an action named set_multipage_burst that will work perfectly and it occurs at scan time.  Hopefully if anyone else needs to do this, they will find these 3 options to choose from.  Thank you again for your replies.



    ------------------------------
    Danny Mann
    ------------------------------