Compare commits
No commits in common. "7d40569aa12eb45562bb56a4e603c11f8d5619ee" and "be8369373fbe1d75f40ada7f9f995d37ea57184c" have entirely different histories.
7d40569aa1
...
be8369373f
2 changed files with 3 additions and 7 deletions
|
@ -26,8 +26,7 @@ build: off
|
|||
|
||||
after_test:
|
||||
- "%PYTHON%\\python.exe setup.py bdist_wheel"
|
||||
- "%PYTHON%\\python.exe -m PyInstaller --clean --onefile --console --nowindowed --name img2pdf src/img2pdf.py"
|
||||
#- "%PYTHON%\\python.exe -m PyInstaller --clean --onefile --noconsole --windowed --name img2pdf_windowed src/img2pdf.py"
|
||||
- "%PYTHON%\\python.exe -m PyInstaller --clean --onefile --noconsole src/img2pdf.py"
|
||||
|
||||
artifacts:
|
||||
- path: dist\*
|
||||
|
|
|
@ -2459,6 +2459,7 @@ def find_scale(pagewidth, pageheight):
|
|||
# as a binary string representing the image content or as filenames to the
|
||||
# images.
|
||||
def convert(*images, **kwargs):
|
||||
|
||||
_default_kwargs = dict(
|
||||
engine=None,
|
||||
title=None,
|
||||
|
@ -4245,11 +4246,7 @@ and left/right, respectively. It is not possible to specify asymmetric borders.
|
|||
elif len(args.images) == 0 and len(args.from_file) == 0:
|
||||
# if no positional arguments were supplied, read a single image from
|
||||
# standard input
|
||||
print(
|
||||
"Reading image from standard input...\n"
|
||||
"Re-run with -h or --help for usage information.",
|
||||
file=sys.stderr
|
||||
)
|
||||
logger.info("reading image from standard input")
|
||||
try:
|
||||
images = [sys.stdin.buffer.read()]
|
||||
except KeyboardInterrupt:
|
||||
|
|
Loading…
Reference in a new issue