Skip to content

Conversation

@zicrox
Copy link

@zicrox zicrox commented May 17, 2018

In order to create a pdf with several pages from images (or other formats that allow pages), I need to use gm final command like this: "gm convert image01.jpg image02.jpg -quality 100 test.pdf".

So I add a way to add several "sources" to the main "gm()" function the "source" parameter now can be an array of paths and this allows "programmatically" set several sources, ex. read folder tree and set the paths to "gm()".

This is possible to achieve with chaining ".in()" custom argument or with spread operator ex. ".in(...[])" but it is less practical.

I added two user cases more in README.md in "Basic Usage" section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant