I am new to xnview/nconvert tool. I would like to use nconver to convert my pdf file into jpg format.
Here is the code snippet of my app..
Sub ConvertToJPG(ByVal SourceFile, ByVal ToFile)
Dim strcmd As String
Dim objshell
strcmd = Chr(34) & "c:\program files\xnview\nconvert.exe" & Chr(34) & " -quiet -dpi 72 -out jpeg -o " & Chr(34) & ToFile & Chr(34) & " " & Chr(34) & SourceFile & Chr(34)
'WriteToLogFileImageConvert strcmd
objshell = CreateObject("Wscript.shell")
objshell.Run(strcmd, 0, True)
'objshell.Exec strcmd
objshell = Nothing
End Sub
It executes without any error. but its not creating any jpg file. My sourcefile is C:\Images\123.pdf and ToFile is c:\Images\123.jpg.
Am I missing anything else here? Please help me to fix this...
Thanks
NConvert is quite and not creating any image file
Moderators: helmut, XnTriq, xnview
Re: NConvert is quite and not creating any image file
Try to remove -quiet to have error message?
Pierre.
Re: NConvert is quite and not creating any image file
I tried without -quite and its the same
Its not giving any error message and its not creating any images also. Please help me to fix this...
Thanks

Thanks
Re: NConvert is quite and not creating any image file
Are you sure that nconvert is launched?abcuser wrote:I tried without -quite and its the sameIts not giving any error message and its not creating any images also. Please help me to fix this...
Pierre.