Pages not cropped when centered

Asked by Arri Morris

I am using the 1.12.2 queXF with Windows and XAMPP. I set up the page, the banding looks beautiful. Then I tried actually scanning and everything is off. There's a bunch of whitespace in the scan outside those edge borders**. While the original XML banding perfectly identified the inner borders** and question response boxes, the actual "Verify" portion seems to think the scan is more zoomed in than it actually is. I click "Centre Page" (http://localhost/forbidden/quexf/verifyjs.php?assign=assign) and basically nothing happens.

Is there a step I am missing? I think the program is incorrectly assuming that we are only looking at the space inside the borders

**I'm talking about these borders
 . . . . . |
 . . . . . |
 . . . . .V . . . . . . . . . . . . . . . . . . {Barcode}
_______ . . . . . . . . . . . . . . . . . . _________
| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|
| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|
| . . . . My Questions . . . O X O O O. . . |
 . . . . .My Questions . . . O O O O X
 . . . . .My Questions . . . O X O O O
 . . . . .My Questions . . . O O O X O
 . . . . .My Questions . . . O O O O X
 . . . . .My Questions . . . O O X O O
 . . . . .My Questions . . . X O O O O
 . . . . .My Questions . . . O X O O O
.
.
| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|
| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|
|_______ . . . . . . . . . . . . . . . . . _________|

Question information

Language:
English Edit question
Status:
Solved
For:
queXF Edit question
Assignee:
No assignee Edit question
Solved by:
Adam Zammit
Solved:
Last query:
Last reply:
Revision history for this message
Adam Zammit (adamzammit) said :
#1

Please try uploading the scanned PDF to the "Test form compatibility with queXF" page.

See if the page edges are being detected.

I suspect they are not being detected. If that is true, please go to the "Page setup" function, choose your form then enlarge the green boxes by dragging them so that queXF will look in a larger area for the page edges.

Adam

Revision history for this message
Arri Morris (arriferrari) said :
#2

That option doesn't seem to exist in the XAMPP queXF for Windows.

Could you release an updated version?

All the best,
Arri Morris

Revision history for this message
Arri Morris (arriferrari) said :
#3

Here is a link to the zip file for the PDF:
https://drive.google.com/open?id=0B5KGDq-ymbK2RWFPenlyRVpwdEU

I also included a folder "ABC" that has the test forms (filled out) as well as screenshots. I started out with normal edge detection boxes. The result was the same as the large edge detection from the screenshot.

Revision history for this message
Adam Zammit (adamzammit) said :
#4

Hi Arri,

I didn't run into an issue with queXF on Linux. Are you able to have it installed for you?

queXF is also available on Docker so it can be installed that way: https://hub.docker.com/r/acspri/quexf/

You could install docker for windows: https://www.docker.com/docker-windows

Then install the acspri/quexf image.

Adam

Revision history for this message
Arri Morris (arriferrari) said :
#5

I managed to figure out docker on windows. Have the latest queXF running now and the problem is still there.

The updated "Centre Page" button does center the scanned form. However, the scaling is off. The boxes on the scanned form are "shrunk down" because the extra white space makes them relatively smaller than the PDF version.

Try the banded form (from limesurvey zip) with the test forms I provided (same zip file under "ABC"):
https://drive.google.com/open?id=0B5KGDq-ymbK2RWFPenlyRVpwdEU

Revision history for this message
Best Adam Zammit (adamzammit) said :
#6

Hi Arri,

Try going to the "Page setup" feature for this questionnaire.

Then click on "Page setup disabled (click to enable)", then wait then click on "Page setup ENABLED (click to disable)" then try importing your forms again. This should reset any page alignment issues.

Adam

Revision history for this message
Arri Morris (arriferrari) said :
#7

Thanks Adam Zammit, that solved my question.