[solved] Supported DWG format by dwg2bmp

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
HuachenLi
Newbie Member
Posts: 6
Joined: Sun Aug 14, 2016 7:59 am

[solved] Supported DWG format by dwg2bmp

Post by HuachenLi » Sun Aug 14, 2016 8:13 am

Hi,

I have tried dwg2bmp and qcad trial version to convert dwg file to a picture and it works very well for new dwg format such as R21.
But when I tried some R14 dwg files(on ubuntu 14.04), an invalid bmp file is created, without any error information.
These R14 files could be opened by qcad on OSX correctly. (on MAC OSX 10.11)

Could you please help to confirm why this file could not be correctly converted ?
I have attached the dwg file, converted bmp file and log file.

Thanks.
Huachen

User avatar
andrew
Site Admin
Posts: 9062
Joined: Fri Mar 30, 2007 6:07 am

Re: Supported DWG format by dwg2bmp

Post by andrew » Mon Aug 15, 2016 8:17 am

Hello,

What are the exact command line arguments passed to dwg2bmp? Thanks.

HuachenLi
Newbie Member
Posts: 6
Joined: Sun Aug 14, 2016 7:59 am

Re: Supported DWG format by dwg2bmp

Post by HuachenLi » Mon Aug 15, 2016 2:06 pm

Hi,

dwg2bmp -f -r 100 -m 0 -b white XXX.dwg

Thanks

User avatar
andrew
Site Admin
Posts: 9062
Joined: Fri Mar 30, 2007 6:07 am

Re: Supported DWG format by dwg2bmp

Post by andrew » Mon Aug 15, 2016 2:13 pm

Please note that with a resolution of 100 pixels per drawing unit (-r 100), you are attempting to create a bitmap that is about 230000x360000 pixels large (~300GB). Please use a lower resolution (e.g. -r 1).

HuachenLi
Newbie Member
Posts: 6
Joined: Sun Aug 14, 2016 7:59 am

Re: Supported DWG format by dwg2bmp

Post by HuachenLi » Mon Aug 15, 2016 2:23 pm

Hi Andrew,

It works after change -r parameter.
Thanks a lot!

Huachen

Post Reply

Return to “QCAD Troubleshooting and Problems”