2 Replies Latest reply on Jun 20, 2008 4:41 AM by cubelan2

    savew3d function increases the size of the file??!!

    cubelan2
      I am working with savew3d function, but a problem comes.
      I have a w3d file of 100 Kb and a 2 jpgs of 20 Kb and 50 Kb respectively.
      I create a new w3d file using those 3 files and the result is: a 410 Kb size file!!!
      Using 170 Kb I get a 410 Kb!!!!
      The size increases very much, so the solution of using savew3d is worse than loading the original 3 files.
      It seems that the jpg files are decompressed!!!
      Is there way to create w3d of low size??
        • 1. Re: savew3d function increases the size of the file??!!
          Level 7
          Yes, the jpeg files are decompressed. This is not a w3d thing as much
          as a Director thing. Director's internal #bitmap format is, well, a
          bitmap. Analogous to the .bmp files we all know and love, but with an
          alpha channel. If you bring in a jpg into Director, then save the
          Director file, it will increase by the size of the bitmap... not the
          size of the jpg. It has always been that way.

          You can shrink the size of the image that Director stores by lowering
          the bit depth (Modify, Transform Bitmap). Set the bit depth as low as
          yuo want... of course you will lose quality with lower bit depths... you
          lose the alpha channel with anything less than 32 bit, but that is no
          great loss if you don't have transparency. If you know your image has a
          limited color palette, then lowering the bitdepth further can be helpful.

          Bear in mind that changing the bit depth is not undo-able, so make sure
          you save your file before experimenting...
          • 2. Re: savew3d function increases the size of the file??!!
            cubelan2 Level 1
            Good answer.
            Thank you very much.