Click here to Skip to main content
Click here to Skip to main content

Easy Conversion of Any File Type to Base64

By , 7 Aug 2004
 

Introduction

Base64 encoding was used primarily to send attachments with emails when MIME format did not deal with unreadable characters. All the attachments had to be converted in base64 format before they could be transferred through email because MIME format had conflict with those characters. Now this is automatically done. When you attach a file with your email message, the file is automatically converted to Base64 so that it can be transferred. And when the recipient downloads the file, it is converted back to its original format.

This means that we break all the 8 bit bytes to 6 bit bytes. This provides an extra byte over every three bytes. This shows that the file size will increase and this is the reason why the attachments are always increased in size.

This program provides a complete graphical interface to look like a wizard which makes conversion easy, understandable and manageable.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

immaad
Software Developer
Australia Australia
Member
C/C++, C# .NET, VB.NET, Linux, Oracle, PostgreSQL, MYSQL

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralMy vote of 2memberdvhh2 Mar '09 - 13:27 
General[Message Removed]memberimmetoz6 Oct '08 - 7:50 
GeneralWhere is zip filemembervicky8 Aug '04 - 2:57 
GeneralRe: Where is zip filememberhashmi8808 Aug '04 - 6:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 8 Aug 2004
Article Copyright 2004 by immaad
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid