File Compression

This is a discussion on File Compression within the Tech Board forums, part of the Community Boards category; I have a file that i need to burn to a 700MB CDR. The file is 733MB. I used the ...

  1. #1
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796

    File Compression

    I have a file that i need to burn to a 700MB CDR. The file is 733MB. I used the compression tool built into windows xp, and it changed it to 721MB. Can anyone suggest to me a program that can get it down enough to fit onto the CD?
    My best code is written with the delete key.

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Have you tried winzip with max compression? www.winzip.com It has a free trial (that never truely expires).

  3. #3
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Windows native compression bites. IMO the best compression utility is WinRAR. Search google and you'll find out where to download it. If that doesn't work, just truncate the file. If it doesn't fit on a CD, did you really need it anyway?

  4. #4
    ---
    Join Date
    May 2004
    Posts
    1,379
    Prelude, You can try to 'overburn' the file and burn it at a slower speed like 4x
    I have once burned a 800MB+ ISO image onto a 700MB cd-r. And I'm not exagerating. Try it with a rewritable first if your scared you will make a coaster.

  5. #5
    Registered User
    Join Date
    Sep 2004
    Posts
    719
    i'm not sure what the best copmpression utility is, but if all else fails, you can use "dd" to copy half to one cd and the other half on another.

    you can also trying burning as an image, but i doubt 21+ megs are reserved for the filesystem.

    is it just for backup?
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

  6. #6
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,734
    Maybe your data is already so compressed that one can do little more to compress it?
    Anyway, I'm not sure which compression tool would be best, but geekhaven.net has a review of a few: Compression Algorithm Comparison

    Your mileage may vary, but according to them then you should try out 7-zip and see if that takes you far enough.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  7. #7
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    Quote Originally Posted by misplaced
    i'm not sure what the best copmpression utility is, but if all else fails, you can use "dd" to copy half to one cd and the other half on another.
    You can't burn CDs like that! Or do you mean create two files and then burn the files?

    Quote Originally Posted by sand_man
    I have once burned a 800MB+ ISO image onto a 700MB cd-r. And I'm not exagerating.
    Do you mean you burnt the image file onto a CD or that you burnt the CD with the info in that image? ISO images are always bigger than the actual data they'll burn on the disk, although with your file it would still need some overburning.


    I'd recommend getting winRAR (www.rarlab.com) and toying with the compression options.
    You'll probably still need some overburning, though.
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  8. #8
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,546
    > The file is 733MB. I used the compression tool built into windows xp, and it changed it to 721MB.
    This looks like the original data was already compressed - compressing it again doesn't usually get you anywhere (if at all).

    If it's say a compressed backup file, try creating an uncompressed backup, then using zip to compress the single backup file. The disadvantage with this is that if the archive becomes damaged then the whole backup could be lost, whereas the existing arrangement may only lose a single file.

    There are lots of compression programs (and algorithms if you want to write something bespoke for this single case). But if you do choose something obscure, make sure you store the decompressor on the CD as well

  9. #9
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Christian Maas has a pretty good file splitter you can downloadhere (though the file browser is a bit primitive).
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  10. #10
    Registered User
    Join Date
    Sep 2004
    Posts
    719
    Quote Originally Posted by -=SoKrA=-
    You can't burn CDs like that! Or do you mean create two files and then burn the files?

    you can do just about anything you want with "dd"...and you can burn cd's as iso's or with filesystems...and you can choose which file system to use....you can do just about anything you want.
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

  11. #11
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    Quote Originally Posted by misplaced
    ...and you can burn cd's as iso's or with filesystems...and you can choose which file system to use...
    iso (actually IS0-9660) is a filesystem. You can burn any FS you want on a CD, the only limitation is who will be able to read it.
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  12. #12
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,164
    bzip2 has always given me the best file compression.
    If you understand what you're doing, you're not learning anything.

  13. #13
    Bob Dole for '08 B0bDole's Avatar
    Join Date
    Sep 2004
    Posts
    618
    use winrar and split it into two parts....done, thx.

    If you need a second cd, email me and i'll mail it to you
    Hmm

  14. #14
    Arggggh DeepFyre's Avatar
    Join Date
    Sep 2004
    Posts
    227
    heres a 1tb email w/ 500 mb attachments so you can use winrar split the file in 2 and email it to yourself:
    www.hriders.com

    the only problem is that it might take a couple huors or even a whole day to receive the email, so if you want/need a faster one you could use winrar split it into 10 mb files and juz use gmail ..... or if you wont have an internet connection ..... not sure what to do ....
    Last edited by DeepFyre; 12-31-2004 at 07:49 PM.
    Keyboard Not Found! Press any key to continue. . .

  15. #15
    Registered User
    Join Date
    Dec 2004
    Location
    Oklahoma City
    Posts
    55
    Take a look at Filesplitter - http://www.dekabyte.com/filesplitter/download.html

    It's very easy to use:

    Select the file you want to split
    Type in the size of each piece (in Kb, Mb, Gb)
    Select Start

    It's that easy, it's advertised to handle files up to 9 billion gigabytes and it creates a "reassemble" file. One click and it recreates the original file out of the pieces.

    This is great for those huge files that are already compressed.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 08:35 AM
  2. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 04:02 AM
  3. Basic text file encoder
    By Abda92 in forum C Programming
    Replies: 15
    Last Post: 05-22-2007, 01:19 PM
  4. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM
  5. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 09:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21