A typical very large CAD drawing of 60,000 objects and a raw data size of 13.4 MB now
stores as a 1.9 MB file (which was 3.2 MB in the previous version). Saving it with
CADStoreToFile just takes one tenth of a second !
IMPORTANT This is necessary because 4Dv12 on Windows has a fragmented heap. As a consequence, there is no contiguous memory block available to load very large 32-bit bitmaps uncompressed. The problem doesn't occur on Mac OS X.
Furthermore, on Windows, large color bitmaps in existing CAD files and blobs may load as a
grayscale image. The color image is still present in compressed form (and the color
information is not lost).
kCADPixelTypeBW = 1; kCADPixelTypeGray = 8; kCADPixelTypeColor = 32; kCADPixelTypeBW May fail on Windows if the imported raster image has a color bit depth larger than 1. kCADPixelTypeGray Not implemented by CADAddImage and implemented by CADImportImage on Windows only.
CADGetImageFileInfoon Windows to no longer use and require QuickTime for Windows. The following file types are implemented:
BMP, GIF, JPEG, PNG, TIFF, WMF and EMF.
cadimageconverter.exe Windows executable works around 4Dv12 memory
problems by doing raster-image import in a separate process (which is why it is a separate
executable). It is only used when normal import by the CAD plugin fails, that is when
importing very large bitmaps on Windows. The
cadimageconverter.exe file must be
in the same folder as the
CAD .4DX. If it isn't found there, importing very large
bitmaps on Windows may fail, but other CAD functions will continue to operate.