Jump to content

Save as DXF increases file size dramatically???


Recommended Posts

Posted

Hi all

Haven’t been on here for a while but have recently started a new job and am having some issues when converting a dwg to dxf.

I have a dwg which is around 300kb but when I save as a dxf the file swells to 2-3mb sometimes more.

I have used PURGE, -PURGE, FILTERS to remove everything possible but it still bloats the file size when I save as dxf.

Does anyone have any ideas as to the problem?

Thanks

Posted

I thought that was normal (i.e. - saving as a DXF file increases the overall file size).

Posted

And if you zip a DXF file, it shrinks to smaller than a zipped DWG file :shock:

Posted

Yep, the DXF file is a text file with lots of waste in it. E.g. instead of a number (say 2,147,483,657) being saved in binary format in a DWG as 32bits (i.e. 4 characters in length) it's saved as a string of characters (2147483657 - 10 characters long). This is just a small increase in what usually happens to DXFs.

 

The reason a DXF zips to something smaller than the original DWG is that Zip works a lot better with text files than binary files. The DWG is already in binary and the Zip then has trouble trying to compress that as efficiently.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...