Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wqweto committed Dec 14, 2018
0 parents commit eb6b3e2
Show file tree
Hide file tree
Showing 6 changed files with 856 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Auto detect text files and perform LF normalization
* text eol=crlf

*.exe -text
*.dll -text
*.cmp -text
*.cobj -text
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## VB6 workspace

*.vbw
*.bak
*.log
*.scc
*.zip
*.exp
*.lib
*.obj
*.dll
*.exe
*.pdb
**/_del
~*
*.xlsb
*.out
*.pdf
**/jpegs
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## vbimg2pdf
Convert jpeg/png images to multi-page pdf file

### Description

Can be used to embed jpeg/png images in a single pdf file without resizing and recompressing input format. Uses `Microsoft Print to PDF` printer as pdf writer.

### Sample usage

- Generate `output.pdf` from all jpegs in current folder
```
c:> vbimg2pdf.exe *.jpg -o output.pdf
```
### Command-line
```
vbimg2pdf 0.1 (c) 2018 by [email protected]
Convert jpeg/png images to multi-page pdf
Usage: vbimg2pdf.exe [options] <in_file.jpg> ...
Options:
-o OUTFILE write result to OUTFILE
-paper SIZE output paper size (e.g. A4)
-orientation ORNT page orientation (e.g. portrait)
-margins L[/T/R/B] page margins in inches (e.g. 0.25)
-q in quiet operation outputs only errors
-nologo suppress startup banner
```
Loading

0 comments on commit eb6b3e2

Please sign in to comment.