QCAD version : Professional 3.21.3
OS : centos 7 64bit
I need convert dwg file to image file programmatically, so tried using dwg2bmp
I tried below command. caffile.dwg size is 1.2Mb
./dwg2bmp -a -f -q 0 -x 5000 -y 5000 -o ./cadfile.png ./cadfile.dwg
for test, use my notebook installed windows 10 pro, run command. result take 15 sec
but, run on server takes very long time 45 sec which installed centos 7
changed -x and -y options 5000 to 500 and retry, but it take 35 sec...
My notebook`s CPU is i7-7700hq 2.8 ghz and has 16Gb RAM
Server`s CPU is Xeon E5-4620 2.20GHz and has 16Gb RAM
I think two CPUs Performance diffrence is little, but dwg2bmp result time show me very diffrent
How I reduce time convert dwg to image using dwg2bmp?
I want convertion time more faster should be in 10sec
dwg2bmp has more option for time? or did you know another way?
How I reduce conversion time using dwg2bmp
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Re: How I reduce conversion time using dwg2bmp
You might want to try with an empty or minimal DXF or DWG file to check if the delay is caused by loading the application / creating the bitmap or by loading the DXF/DWG file. If an empty file is slow to convert as well, the disk on the server might be slower.
Re: How I reduce conversion time using dwg2bmp
I tried 17kb DWG file, it take 8sec. Changed -x -y options 5000 to 500 take 1 sec
Guess delay caused not disk, depend on cpu performance
CPU usage via TOP command show me converting process used only 1 core, but CPU has 8 core
Have any option or command for convert using multiple core?
And if you know average time convert DWG to image by dwg2bmp, please tell me that
Guess delay caused not disk, depend on cpu performance
CPU usage via TOP command show me converting process used only 1 core, but CPU has 8 core
Have any option or command for convert using multiple core?
And if you know average time convert DWG to image by dwg2bmp, please tell me that