You are viewing limited content. For full access, please sign in.

Question

Question

Workflow putting text box on document upside down

asked on February 14, 2022

I have a customer that has a weird scenario.  They have some documents that were scanned upside down and then rotated in the LF Client.  That document is then processed via a workflow that adds a text box with a yellow background to put an annotation on page one to indicate the date it was scanned or merged with an existing document.  When it adds the text box annotation, workflow isn't respecting the image orientation so once process the text annotation is upside down and in the bottom left instead of right side up in the top right.   See example below. 

 

0 0

Replies

replied on February 15, 2022

I don’t know for certain regarding Laserfiche, but a lot of Image programs, when told to rotate an image are not saving it as a new image with all the pixels in new locations, but instead are saving an instruction that says to display the image rotated when viewed.

If I’m right, then you are adding the textbox to the top-right of the image, but then it rotates it when viewed.

You could probably try to detect this rotation in an SDK Script in Workflow and address the textbox differently if rotated.

Or you could recreate the document (i.e. use Snapshot to “print” back to itself) in the rotated state, prior to running the Workflow.

1 0
replied on February 15, 2022

Which versions of the Laserfiche Server/Repository and Workflow are you running? This sounds like a bug because the annotations should respect the new page orientation.

1 0
replied on February 15, 2022

I would have to look at my customer's server to get exact version numbers but it is Laserfiche 11, Workflow 11.  I installed them last September (2021) and downloaded the newest from the LF servers at that point.   Jason, I agree it seems like a bug.  I may get on with LF Support when I can get back on their server and see what they say.  

 

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.