I\'m trying to convert an image to a PDF via a function on Firebase. I\'ve tried using the example script to convert images to JPG using ImageMagick but the default convert