fuminous wrote:
I seem to be having difficulty making a "zip" file of a rather large image. How do you folks email a 24MB file when most mail servers restrict size to about 5MB?
First, I understand the term "zip" refers to proprietary software, though, like Kleenex and Tupperware, is generally accepted as any software that temporarily reduces file size. Next, I also understand compression- as in '.jpg compression'- is totally different than temporarily reducing a file's size.
Storage providers such as Dropbox also limit file size - if not in practice, then via the impracticability of taking days to upload.
Is "Winzip" or equivalent commercial software the best bet? Is breaking a large file into several smaller files worth the effort and does it actually save time? I guess so, if it's that important and options are few...
OK, I'm rambling to my self here....
I seem to be having difficulty making a "zip&... (
show quote)
First off we don't send 25Mb image files by email.
Zipping is a little like xeroxing and hoovering in the respect that its a type of action (lossless compression, photocopying, vacuum cleaning respectively).
it is also a particular archive format type that many programs understand how to encode and decode, examples might include winzip, winrar, 7zip, pkzip.
PKzip (Phil Katz zip) was the original, released in 1989.
To be fair the Lzw Reduce Algorithm was patented in 1984 by unisys this was the main compression method used and there are a few, (different file types compress differently with different compression methods).
Not all zipped files are called zip files either .jar files (java) files .apk files (android applications) and Microsofts Docx files are actually zip files with a different extension. The deflate method is used a lot.
see
http://stackoverflow.com/questions/20762094/how-are-zlib-gzip-and-zip-related-what-are-is-common-and-how-are-they-differenSo no winzip is not the original and open source and free alternatives have been around for decades and do pretty much exactly the same thing.
There are a lot of zip compression formats that can be used but type 8 and type 0 are the most common (type 0 doesn't compress so just type 8 really).
As a matter of interest the gif format uses the same deflate algorithm as zip. A little prior to the patent expiration unisys decided to try and monetize it, and that led to a non patent infringing file type being developed called png.
That was what is known as a submarine patient where everybody uses it freely for 15 years and just prior to it expiring ( 17 years) a company like unisys surfaces and tries to torpedo everybody.
jpeg is a lossy compressed format. what you get out isn't the same as what you put in but normally you will not spot the difference. Thing is, the bit that matters, being compressed already there is little to be gained by compressing it again using another compression method the bytes may be rearranged a little but there will be little change in filesize, its already deflated.
It is a wasted effort trying to compress a jpeg Email was and is a text based format, it originally was as simple as text in notepad. It's been jazzed up a little with html formatting but it is still a text based format. Everything had to be as small as possible because modems were slow and the cost of sending data was high. Even a message like this would have been composed offline then when ready you would hit send. Your modem would dial up pass the message to the mail server retrieve any new mail for you and get off line as fast as possible - you were paying by the minute.
To incorporate pictures meant changing them into ascii text and using base64 encoding
http://superuser.com/questions/402193/why-is-base64-needed-aka-why-cant-i-just-email-a-binary-fileshort version a binary file can be expanded to being a big chunk of text in order to be sent to its final destination. In the real world your letter to aunt nelly isn't picked up by the postman and driven over to her house it goes through a number of sorting offices and email pretty much does the same thing.
Not many people use their isps email any more, because if you change isp the address is no good. So most of us use gmail or hotmail and some of us have our own domain name as it looks more professional but even a gmail to hotmail email requires the 2 separate systems to communicate with each other.
Big emails are a real problem, your gmail account may let you send 25Mbyte messages but if my hotmail account is limited to 10 Mbyte messages i'm not going to get your message and thats assuming there isn't a link in the chain which will not accept a message that big.
There are people still on dial up too and that 25 megabyte message could tie up their phone line for an hour (personally i'm using 3g and at times i see transfer speeds as low as 300 bytes a second 25,000,000 bytes would take 23+ hours at that speed) usually its a lot faster than that and it could be 2 minutes at best or 15 minutes at most busy times.
So why so big? If you take a picture on facebook for example typically its less than 64KiloBytes even viewed at full screen, admittedly facebook reduce the number of colors in the image as well as huge amounts of compression.
Even on here most images are not that big even downloading the 'original' The only reasonable reason to use a 25 megabyte file size would be for print or further manipulation somewhere else. Bare in mind that most photographs are printed from file sizes usually at most a quarter of that size and usually less.
If you really want to send a 'big' file to someone email is not the method of choice.
Dropbox, GDrive to name just 2 such services are places you can upload too and share a link to the file. You can host your image on your own website although a lot of hosting plans limit the maximum file size to around 5 or 6 megabytes. There are photo hosting sites which store the original but generally display at lower resolutions. If your sending to a print service they may well have an ftp site that you can upload images too. If all else fails you can create a cd or dvd put it in a case and padded envelope add a stamp and send it through the mail.
http://what-if.xkcd.com/31/ (may give some perspective)
When - if ever - will the bandwidth of the Internet surpass that of FedEx?
Johan Öbrink
Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway.
Andrew Tanenbaum, 1981