how do i increase export size limits ?

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
cyhkimo
Registered Member
Posts: 2
Joined: Thu May 06, 2021 3:53 am

how do i increase export size limits ?

Post by cyhkimo » Thu May 06, 2021 3:57 am

how do i increase export size limits ?
my dwg file : W*H=6490*7680 um, i want to scale 4 to show 0.25um diff.

[root@CADKIT qcad-3.26.1-pro-linux-qt4-x86_64]# ./dwg2bmp -f -r 4 -o /root/A3T4GF40B_20210506.bmp /root/A3T4GF40B_20210506.dxf
QCAD version 3.26.1
Debug: calling odInitialize
Converting
from: /root/A3T4GF40B_20210506.dxf
to : /root/A3T4GF40B_20210506.bmp
Debug: invalid image size
Error: cannot save file: /root/A3T4GF40B_20210506.bmp
Error: Invalid image size (width x height must be less than 5.36871e+08)
[root@CADKIT qcad-3.26.1-pro-linux-qt4-x86_64]#

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

Re: how do i increase export size limits ?

Post by andrew » Thu May 06, 2021 2:51 pm

Unfortunately, there's no way around that limit. It is imposed by Qt, the toolkit used by QCAD.

A possible workaround might be to export to PDF and convert the PDF to a bitmap using a separate tool such as imagemagick (not included in QCAD).

Post Reply

Return to “QCAD 'How Do I' Questions”