Click here to Skip to main content
Licence CPOL
First Posted 10 Jun 2004
Views 39,252
Downloads 822
Bookmarked 14 times

Easy Conversion of Any File Type to Base64

By | 7 Aug 2004 | Article
The program provides a User Interface to convert any file type to base64. The base64 conversion is to remove unreadable characters from your file. You can save your base64 code in a separate file and then convert it back to the original format whenever you want.

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

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralMy vote of 2 Pinmemberdvhh13:27 2 Mar '09  
General[Message Removed] Pinmemberimmetoz7:50 6 Oct '08  
GeneralWhere is zip file Pinmembervicky2:57 8 Aug '04  
GeneralRe: Where is zip file Pinmemberhashmi8806:45 8 Aug '04  

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

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