News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Bitmap file size

Started by Dr PR, October 19, 2013, 12:46:59 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Dr PR

V23.0
Win 7 Pro 64

I opened a blank 2D file. Then I imported a JPEG file that wa 8.99 Mbytes (22011 x 3581 pixels). The resulting DesignCAD files sizes were:

DCD 155.856 Mbytes
BAK 77.632 Mbytes

That is a 17X file size increase for the working file, and 8.6X for the backup, and I haven't even started to edit the file (it is still empty except for the bitmap)!

This seems a bit excessive!

I wanted to trace over the bitmap but screen redraw takes 10-12 seconds after every line before I can start another line!

Phil
DesignCAD user since 1987

samdavo

#1
Phil
Wish you well , and a massive increase in size there (weird surely)

But would it be fair comment that
a) many other CAD programs would have a similar problem with imported photos,
b) and also (arguably - in my experience anyway) most seem pretty unconcerned about file size, or are pretty big, whether or not jpegs are involved
c) DCAD (possibly as well as others) is memory hungry for added jpegs (but how often does that happen?)
d) i.e. this doesn't affect 99.99% of the drawings made by DCAD users.

I realise I have added as many probably more texture-mapped examples as anyone else here (recently anyway) - somewhat related to what you are saying, although the jpeg is imported into the file without adding to its size (as I understand it).  I am just looking to explore presentations and stretch the DCAD boundaries that I haven't considered until recently (despite 20 years of using DCAD).  When checking (many of) these presentations etc, I am literally "playing around with boats", and little to do with bread and butter (although I remain open minded on that one - one never knows). 

As an example of b) above - (and in defence of DCAD), Solidworks is very powerful, but if I were to do an assembly of say 6 plates in a stack with SW, together with bolts, there would be at least 8 files involved, one for each "part", one (in a library) for the bolt, and one for the assembly.  I find with SW that a "drawing" becomes a "directory" - or "directory plus library" (2 cents). 

PS I use SW from time to time (esp for finite element analysis) but I still have DCAD as my workhorse.

I occasionally import jpegs into drawings (and DCAD is the easiest AFAIK), but only screensnaps taken from drawings ( eg websites or pdfs sent to me) - so that I can trace bits of them,  eg not dissimilar to this :-

But having added it and traced it, I can delete it, and hence it is a temporary problem, and no biggie (for me anyway).

Adrian 2.0

Interesting....
I too have had images that make DCad unmanageable to work with but until now I have never bothered to check file sizes - so I conducted an experiment by importing several images, each into it's own new DCad file then saving & closing..... with startling results.

1 - lineart colour , JPG size 11.5kb   DCad size 49kb     (4 times larger)
2 - lineart colour   JPG size 31.34kb DCad size 70kb     (2 times larger)
3 - lineart B&W     JPG size 62.6kb   DCad size 298kb   (4 times larger)
4 - lineart colour   JPG size 1.88mb  DCad size 798kb   (half the size)
5 - photo colour    JPG size 248kb    DCad size 108kb   (half the size)
6 - photo colour    JPG size 1.45mb  DCad size 1.1mb   ( a little smaller)
7 - photo colour    BMP size 2.25mb DCad size 154kb.   (15 times SMALLER)

I'd have thought the black & white lineart (plan drawing of a car chassis) would have used less memory because of no depth of colour & large white background percentage but in fact it was the largest increase in size.
I'm not surprised the BMP was smaller, because it was an uncompressed file - but THAT much? The image displays in DCad EXACTLY the same as the original when it is re-opened.
Perhaps someone can enlighten us on how images are saved in DCad - then if we know that we may be able to do something to the image to make it more manageable?

Bob P

I suspect that in order to use any image, it's converted into the equivalent of an uncompressed TIFF with the same colour depth as the screen.  Straight JPEGs are useless to DC in their compressed form because the format is not pixel-specific enough.