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

Easy Conversion of Any File Type to Base64

, 7 Aug 2004 CPOL
Rate this:
Please Sign up or sign in to vote.
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)

Share

About the Author

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

Comments and Discussions

 
GeneralMy vote of 2 Pinmemberdvhh2-Mar-09 14:27 
General[Message Removed] Pinmemberimmetoz6-Oct-08 8:50 
GeneralWhere is zip file Pinmembervicky8-Aug-04 3:57 
GeneralRe: Where is zip file Pinmemberhashmi8808-Aug-04 7:45 
Thanx a lot for pointing it out. The link of the source file has been corrected.
 
thanx again!Rose | [Rose]

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.

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