How to improve your whatsapp status quality

Peter EbodePeter Ebode
11 min read

Let's keep this simple and straight to the point. You want to know what I found, I also want to share this. But hey, I wouldn't only tell you just this though, I like to geek about the technicals, you would have to hear that as well. So, it's a 2-for-1 treat tonight. Let's get started and to Business.

Why is this possible now?

One primary reason why this is now possible and wasn't before, is because Whatsapp introduced the HD media file transfer feature.

Around mid to late last year, Whatsapp introduced the HD transfer feature allowing users send images, videos or any other files at a higher quality by enabling the HD option when sending.

The Verge and Techcrunch provides more information about that update, if you are interested in that.

HD stands for High Definition, this means the media(image or picture) is at a higher resolution as compared to SD(Standard Definition) or other lesser media resolution/quality. This makes it look better. It is not the best quality there is, but it is an improvement to what has always been offered by Whatsapp.

In a previous article, I explained why Whatsapp reduces the quality of files you transfer, and how it saves them millions of dollars annually in running costs. Reading that should help you understand that this new feature comes at a cost to Whatsapp and why they can't just give you the best quality for your file transfers.

This workaround involves using this HD feature provided by Whatsapp for sending files, to also upload files on your Whatsapp status, therefore improving quality by at around x2 to x5 depending on the file type.

The workaround

- First Approach (Failed)

I tried two different approach to achieve this, the first failed. It seemed like Whatsapp figured what I was trying to do, and ignored the fact that I had set the image to HD, it compressed the hell out of the file as usual and posted it to my status without any improvement in the quality.

The image above shows the approach to the first failed attempt to improve status quality.

- Second Approach (Passed)

I know Whatsapp does some message and media management, and tries to be efficient with those, by not letting you upload the exact same file over and over to their server, therefore using up unnecessary storage space, which can quickly add up.

They do a type of file caching(I would get into that later), to avoid storing duplicate file on their server. This caching approach is what made this approach work.

Let's get into that. The steps to recreate this is shown below.

  1. Click the "add a contact to text" (button), you can actually send a message to yourself which is the least intrusive option.

  2. The first option in there is to "message yourself", which is what we would use. This was officially introduced last year also.

  3. You click the "add media" button, which is how you select the HD version of the file you want to send, and send it to yourself.

  4. I have selected an image and clicked the HD icon, to push up the transfer quality.

  5. I send this image to myself in the DM, a lot happens behind the scene with just this action, but we would get to that later.

  6. This shows the HD image tag on the image to show the quality is HD.

  7. I click on the forward button for that same picture I just sent internally.

  8. On the forward option, I select to my status.

  9. This provides a box where I can add a "caption" for that image.

The last slide shows that the image has been successfully uploaded to my status at the HD resolution quality, as opposed to just sharing the image without this option.

Posting this way to your status can be done for any media type allowed by Whatsapp.

How do you know this works?

Ahhh yes! This is a very valid question. The image above is assumed to be of better quality, but how can this be proven?

To prove that this approach to updating media on Whatsapp actually improves the quality, there are two tests involved, the visual and size test.

  • Visual Test

    For the visual test, all I have to do is post the same images side by side, one, using the HD upload method, the other, just the regular status upload approach we are all used to.

    This, of course is the major reason why you would actually do this. To visually improve the quality of your Whatsapp media post.

  • Unforunately, I would not be able to highlight the differences on here, this is due to the fact that, this platform(hashnode) performs its image compression when uploaded here, this would tamper with the quality of the images being compared and make it very hard to make out any difference. But you can do this yourself and find the difference.

Size Test

This is where we can fully confirm the image quality difference. To get to this, you first need to know that the higher the quality of a media, the larger its size. A regular quality picture may be around 1Megabyte(1 MB) in size, while that same image in clearer quality and with higher resolution would "most likely" be larger in size, around 1.5 to 3Megabytes(1.5-3MB).

Take note of the fact I said most likely, not always, there are compression algorithms out there that could reduce the size of a media file and leave the quality as good as it orignally was, this is called a lossless compression, these defy those logic, hence the "most likely" statement.

To show the size differences in the images and videos I uploaded images and videos to my Whatsapp status with the two different approach and pointed out the size differences.

This section was powered by Adunni's device.

To get the sizes of the files, you need to know that every Whatsapp status you ever view has to be downloaded off Whatsapp's server and saved on your device for 24hrs or for as long as it kept up.

To achieve this, I posted this to my status and reached out to investigate the size of the files.

  1. Arrow 1 points to the size of the first image posted to Whatsapp status without the HD approach. This is how we mostly post status everyday, the regular way. The size of the image is around 93.61 KiloBytes, with its size and quality reduced by Whatsapp's in-app compression algorithm.

  2. Arrow 2 points to the size of the second image posted to status using the HD method. The size is around 548 Kilobytes, which is about 6times the size of the first image, showing a meaningful improvement in the size and quality of the image in this approach.

  3. Arrow 3 points to the size of a video posted using the same HD approach, the size of the video is around 4.87 MegaByte. This was done to show this method also works fine for vides as well and improves their quality.

  4. Arrow 4 point to the size of that same video, but this time posted without the HD approach. Its size on device is around 1.93 Megabyte, about 2 and a half times lesser in size to the video in the HD approach. This shows how much lesser in size and quality it is in comparison to the first video.

I think at this point, I have been able to point out the difference in posting normally, and using the HD approach for your Whatsapp post. This improves the quality of the media files being posted.

Why and How does this Work?

Earlier in this article, I mentioned something something about caching. To explain caching, lets start on a familiar note.

Have you ever noticed, that whenever you send a large file to a friend on whatsapp the first time, it takes quite a while to process and eventually send. When you either forward or send that same file to someone else on your contact list, it sends almost instantly this time.

If you have never noticed this, go try this out. Send a file around 10MB in size to friend A, then either forward or send that same file to another friend B and see how fast/instantly the file is sent the second time.

So, initially when I found out, I just assumed what was happening and left it at that, but knowing that this would be a public article, and people would want to know what my statements are based on, I decided to dig around and find official information to back this assumption up.

So what is happening? The first time you send a message or file or just about anything on Whatsapp, most people think it goes straight to the device of whoever they are sending it to, nope, first it goes from your device straight to whatsapp's server, where it first stored before getting sent to the receiver's device it was sent to.

Why would they do this you ask next. Okay, okay, I'll answer that too. There are some pretty good reasons for this, the first being that, there are a lot of cases where the user you are sending a message or file to isn't online due to any number of reasons. If those messages are not first stored on Whatsapp servers and then sent to such user, the messages would never get delivered and just "fall off the internet", but after being saved on their server, it keeps retrying to send the message from the server to the device, till it succesfully does.

A snippet from Whatsapp on message/file storage. You can view it here

Hopefully the image and the explanation I gave above, makes you understand one of the WHYs. On the privacy side, you might ask, doesn't this mean they can check my messages when it is on their servers? according to Meta(Whatsapp's parent company) our messages are encrypted end-to-end, and the keys are only stored on our device, which means if they tried to look at your message it'll look like garbage to them. I'm taking their word for that.

The second and most important reason why messages(texts/files) are also sent to their server, is to serve as a type of cache, now let's talk caching.

I earlier mentioned that the first time you send a message, but in this case, it is a file, this is also not sent to the user directly, it is first stored on Whatsapp's server, then a link to that file is sent to the user with a download option, when they click download, the file is downloaded from the server over to their device.

In the snippet above, Whatsapp says they keep files/messages for a while. That file you sent to another user still stays on their server for a period of time determined by their server. If you then decide to send that exact same file to another person while the file is still held on the server, rather than you having to send that file up again to the server, they tell your device, "Hey we have this file already, just tell the user it's sent(your phone ticks sent almost instantly)".

The same link sent to the first user for that same file is then sent to this new person you're sending the file to, and they can download it, if they want to. This saves you from wasting data to send(re-upload) the same file again to their server and also saves Whatsapp from having to give up unnecessary space to store duplicate files.

The moment Whatsapp deletes a file from their server, you get an error message on Whatsapp when you try to download, telling you to "Ask whoever sent the file to resend it". You most likely have seen this.

This whole process is one definition to caching, "temporarily saving data copies somewhere, so it can be accessed and retrieved faster and more efficiently".

You might then think, but don't Meta have big and bad enough servers with enough space on their servers for all these? Yes, but also, the moment you realize that they have around a billion daily active users and a large percentage of these persons including you and I, send different files every now and then in Kilobytes, Megabytes and Gigabytes, you'll know that this save Terabytes on Terabytes of server space per second with just this approach and it's very very reasonable to.

So how does this and the HD Whatsapp Status thing relate?

If you haven't made the connection yet, here it is. So the first time you send that HD media to yourself, it gets sent to Whatsapp's servers like every other message or file.

The next step you take, is to forward that message to your status right?

So Whatsapp asks the server, do we have that picture on our server? The server responds, "yes yes, we do, it's even in HD". Whatsapp rather than letting you resend another copy of that same file, creates a download link to the same HD file on their server, and lets all of your contacts have access to the file, but this time on your status.

This, my friend, is how and why this HD status upload approach works.

It's a long write-up, but if you got here, I am guessing it was a good read. If you actually found this to be a good and useful read, Please share with others who you think might also find it useful and interesting as well.

Thank you.

13
Subscribe to my newsletter

Read articles from Peter Ebode directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Peter Ebode
Peter Ebode

(!) a Tech|ni|cal writer yet, but with a cybersecurity degree. NodeJS dev. with a knack for writing OS and Web automation scripts.[.๐Ÿš€.]