Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Set Fso = Server.CreateObject("Scripting.FileSystemObject")
- PDFFilename = Server.MapPath(gRootPath & "/upload_temp/" & sFileNameServer(iFile))
- FSO.CopyFile PDFFilename, PDFFilename & ".pdf"
- fromFile = PDFFilename & ".pdf"
- toFile = Server.MapPath(gRootPath & "/temp/" & sFileNameServer(iFile) & ".jpg")
- strLine = """C:\Program files\pdf2image v2.0\pdf2img.exe"" -i " & fromFile & " -o " & tofile & " -f 1 -l 1 -q 75 -r 300"
Add Comment
Please, Sign In to add comment