Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photo to Base64 Converter

This is a simple ASP.NET MVC application that allows users to upload a photo and convert it to a Base64 encoded string.

Features

  • Upload a photo file.
  • Convert the uploaded photo to a Base64 encoded string.
  • Display the Base64 encoded string with line breaks after every 50 characters.
  • Preview of the uploaded image.

How to Use

  1. Clone this repository to your local machine.
  2. Open the solution in Visual Studio.
  3. Build and run the application.
  4. Navigate to the "Upload Photo" page.
  5. Choose a photo file and click "Upload".
  6. The application will convert the photo to a Base64 encoded string and display it with line breaks after every 50 characters.
  7. You can also see a preview of the uploaded image.

Technologies Used

  • C# ASP.NET MVC
  • HTML
  • CSS (Bootstrap for styling)
  • JavaScript

Folder Structure

  • Controllers/: Contains the controller logic for handling HTTP requests.
  • Models/: Contains the model classes.
  • Views/: Contains the view templates.
  • wwwroot/: Contains static files such as JavaScript, CSS, and images.

About

Convert any Photo with any Extension To Base64

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages