The code converts pdf files to jpg and jpeg with custom number titles.
In the js code below inside two apostrophe marks you can add the prefix name, the page numbers will follows, after that, the image format should be mentioned whether .jpg
.jpeg
.png
.svg
.webp
etc
var fileName = '' + pageNumber + '.jpg';
When a file is chosen from the device the name will be displayed in the choose button.