I can't make it to run on more than one thread. It gives me an error saying:
Magick: FailedToExecuteCommand `"C:/Program Files/gs/gs9.14/bin/gswin64c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r150x150" "-sOutputFile=C:/Users/MANVIR~1/AppData/Local/Temp/magick-4476aUJDp_uyc4-P%d" "-fC:/Users/MANVIR~1/AppData/Local/Temp/magick-4476uEKeFF_zA932" "-fC:/Users/MANVIR~1/AppData/Local/Temp/magick-4476DOgFR85W5Q_c"' (1) @ error/pdf.c/InvokePDFDelegate/237
However, the error is not on all files. It is converting some files but most of them give this error. On a single thread, all works fine.
I installed the x64 Q16 version of Magick.NET and also removed and installed the latest version of the 64 bit Ghostscript. Also, changed my target platform to be x64 in the Build properties of my project.
Thanks.
Magick: FailedToExecuteCommand `"C:/Program Files/gs/gs9.14/bin/gswin64c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r150x150" "-sOutputFile=C:/Users/MANVIR~1/AppData/Local/Temp/magick-4476aUJDp_uyc4-P%d" "-fC:/Users/MANVIR~1/AppData/Local/Temp/magick-4476uEKeFF_zA932" "-fC:/Users/MANVIR~1/AppData/Local/Temp/magick-4476DOgFR85W5Q_c"' (1) @ error/pdf.c/InvokePDFDelegate/237
However, the error is not on all files. It is converting some files but most of them give this error. On a single thread, all works fine.
I installed the x64 Q16 version of Magick.NET and also removed and installed the latest version of the 64 bit Ghostscript. Also, changed my target platform to be x64 in the Build properties of my project.
Thanks.