We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Preview command ignores width/height constraints and uses defaults instead, which cause my Epson Expression Home XP-342 to abort with
scanimage: sane_start: Operation was canceled
To Reproduce Steps to reproduce the behavior:
... -x 218.4 -y 299.7 ...
spawn: '/usr/bin/scanimage -d utsushi:esci:usb:04b8:1115 --mode Color --resolution 100 -l 0 -t 0 -x 218.4 -y 299.7 --format tiff --brightness 0 --contrast 0 -o data/preview/preview.tif
Expected behavior Use width and height as provided in UI.
Client (please complete the following information):
Server (please complete the following information):
Logs
[2024-02-26T19:55:20.026Z] INFO (Process): { spawn: '/usr/bin/scanimage -d utsushi:esci:usb:04b8:1115 --mode Color --resolution 100 -l 0 -t 0 -x 218.4 -y 299.7 --format tiff --brightness 0 --contrast 0 -o data/preview/preview.tif' } [2024-02-26T19:55:20.957Z] INFO (Http): { method: 'GET', path: '/api/v1/preview' } [2024-02-26T19:55:20.960Z] INFO (Process): { spawn: 'convert - -resize 868x1191! jpg:-' } [2024-02-26T19:55:21.955Z] INFO (Http): { method: 'GET', path: '/api/v1/preview' } [2024-02-26T19:55:21.958Z] INFO (Process): { spawn: 'convert - -resize 868x1191! jpg:-' } [2024-02-26T19:55:22.073Z] ERROR (Http): Error: /usr/bin/scanimage -d utsushi:esci:usb:04b8:1115 --mode Color --resolution 100 -l 0 -t 0 -x 218.4 -y 299.7 --format tiff --brightness 0 --contrast 0 -o data/preview/preview.tif exited with code: 2, stderr: scanimage: sane_start: Operation was canceled at ChildProcess.<anonymous> (/usr/share/webapps/scanservjs/server/classes/process.js:85:18) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1105:16) at ChildProcess._handle.onexit (node:internal/child_process:305:5)
The text was updated successfully, but these errors were encountered:
preview applies width/height constraints
2fa3d19
fixes sbs20#716
#717 works for me, but it's mostly used to demonstrate my problem.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The Preview command ignores width/height constraints and uses defaults instead, which cause my Epson Expression Home XP-342 to abort with
To Reproduce
Steps to reproduce the behavior:
... -x 218.4 -y 299.7 ...
regardless of Width and Height settings in the UI:Expected behavior
Use width and height as provided in UI.
Client (please complete the following information):
Server (please complete the following information):
Logs
The text was updated successfully, but these errors were encountered: