Previous in Forum: Software Allowing Text Insertion Into Digital Photo File   Next in Forum: AMR/MDMS Performance Testing
Close
Close
Close
3 comments
Rate Comments: Nested
Guru
Engineering Fields - Mechanical Engineering - New Member

Join Date: May 2008
Location: CHENNAI, TAMIL NADU, INDIA.
Posts: 1851
Good Answers: 65

Size of the File Increasing While Win-zipping pdf. doc

07/14/2012 5:03 AM

Normally, when we compress the file by using WIN-ZIP, the volume of the file or size of the file will be smaller than the original, depending upon WORD Doc, or jpg image or pdf doc. etc.

Reduction in volume/size will be less for pdf.doc. and compressed to 1% to 10% normally and in some cases, it will be to 15%.

In the past few days, I am observing, NOT ALL but SOME OF THE pdf. doc. while compressing by WIN-ZIP, the VOLUME/SIZE is slightly more than the original file Volum/Size, showing compression 0%, but if I see in the properties, the volume is higher, making me to drop the Win-Zipping and saving.

How does it occur.? I do not understand. I request CR4 MEMBERS to explain how this happens like this.?

Thanks,

DHAYANANDHAN.S

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".
2
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#1

Re: SIZE OF THE FILE INCREASING WHILE WIN-ZIPPING pdf. doc

07/14/2012 9:45 AM

I'll bet that the PDF files that you are not capable of compressing are scanned images of a document. The white space of a scanned document will not be one fixed value that can be compressed. (NULL for next 3 mm) There's also no repeating pattern that can be duplicated for compression. So the decompression reference table that must be buried into any ZIP file has little to no useful compression sequences but still increases the total size of the file.

Most JPG files have already been compressed so that visually the final image is still usable. JPG compression is a lossy compression. If you ZIP a JPG image this size growth effect is more prominent because a ZIP and a JPG table is buried in the document.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply Good Answer (Score 2)
2
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#2

Re: Size of the File Increasing While Win-zipping pdf. doc

07/15/2012 2:53 AM

You appear to be forgetting that many file types are basically "already compressed".....

The rule is NEVER EVER try to compress a file twice. So if the file is already compressed, don't do it again. It will just get bigger. Some files are not called "compressed", but they are already as tight as they can be in normal use.....

The list of file types that are already as "tight" as they can be is very long, I am not going to attempt to list them all here. I probably don't know them all anyway, so it would be futile exercise....

The reason that a file gets bigger when already compressed is simply that the compressing software a) cannot compress further what is already compressed and b) it needs to add on its own "overhead"......

What I have talked about a above is "data compression", a data file cannopt lose any data, so the compressing software is under some strong constraints....

Some picture (compression) types will reduce the size of the file by losing some small bits, but the detail also suffers at the same time. You cannot reverse the process to get the exact level of detail back.....

.PDF files for example, are already heavily compressed, most cannot be made any smaller.....

I hope this helps....

I have not gone deeply into the mathmatics of data compression as it is not really needed to understand the problems.....also I am a bit rusty after 6 years of retirement!

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply Good Answer (Score 2)
Guru

Join Date: Feb 2012
Posts: 595
#3

Re: Size of the File Increasing While Win-zipping pdf. doc

07/17/2012 8:22 AM

don't attempt (expect they) t(/d)o compress these files

AVI,MPEG,MPG,MP3,MP4,WAV ... music and wideo files
BMP,JPG,JPEG,GIF,PNG ... misc image formats
MDI,PDF,TIF,TIFF ... misc document formats
7Z,BH,CAB,GZ,JAR,LHA,TAR,ZIP ... misc archive formats

although you might be lucky to achieve success by re-storing your content in some other format OR converting the archive from 1 archive format to another

the trick to make your data compressible is degrading it's information entropy for audio/video/image files the compression software does it for you (if you can and can specify right attributes)

for document files if they are text only (they usually compress fine) if there are images and text (don't embbed over resolution images or make shure your images are stored in optimized JPG format (you can specify such in source forge pdf writer 4 X-ample))

you may achieve success also by splitting the source (uncompressed archive) to "small" LT 2...4MB junks and test different compressions on each bit /!\ i'd rather buy pack of DVD's (or external HDD) and double** store the DATA slightly compressed (with CRC feature (as in winRAR)) for **possible BAD MEDIA error

__________________
ci139
Register to Reply
Register to Reply 3 comments

Good Answers:

These comments received enough positive votes to make them "good answers".
Copy to Clipboard

Users who posted comments:

Andy Germany (1); ci139 (1); redfred (1)

Previous in Forum: Software Allowing Text Insertion Into Digital Photo File   Next in Forum: AMR/MDMS Performance Testing

Advertisement