GM command - identify
(String)
path to valid file
(Mixed)
gm identify argument
Promise
:
Promise
Initialize base graphicmagick setup.
gm
:
graphicsmagick object
GM command - write
(Stream)
fs stream
(String)
output
(String)
filename
(Integer)
page count
Promise
:
Promise
GM command - toBase64
Promise
:
Promise
Intialize converter
(String)
path to file
(Page
= 1
)
page number to be converted
Object
:
image status
Intialize pdftobase64 converter,
(String)
path to file
(Page
= 1
)
page number to be converted
Object
:
image status
Intialize pdftobase64 converter, well the bulk version
(String)
path to file
(Page
= -1
)
page number to be converted (-1 for all pages)
Object
:
image status
Intialize converter, well the bulk version
(String)
path to file
(Page
= -1
)
page number to be converted (-1 for all pages)
Object
:
image status
Get how many pages are there in the pdf file
(String)
path to file
Integer
:
number of pages
Get pages numbers
(String)
path to file
Array
:
pages
Converts pdf to image
(String)
pdf path
(Integer
= 1
)
page count
Promise
:
Promise
Converts pdf to image
(String)
pdf path
(Integer
= 1
)
page count
Promise
:
Promise
Get file path
(Stream)
fs stream
String
:
path
Checks if the supplied file has the exact file format
(String)
path to file
Mixed
:
file status
Checks if the supplied file has exists
(String)
path to file
Mixed
:
file status
Returns a value from this.options
(string)
key from this.options
mixed
:
value from this.options
Set a key-value to this options
(any)
key from this.options
(any)
value to be assigned on this.options
[
key
]
object
:
this
not sure yet if this would work