Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asifbacchus/absolutions.imagetobase64
DotNET Core library to retrieve an image file and convert it to Base64. Includes Blazor component to insert as an image.
https://github.com/asifbacchus/absolutions.imagetobase64
blazor c-sharp class-library dotnet dotnet-core library
Last synced: about 1 month ago
JSON representation
DotNET Core library to retrieve an image file and convert it to Base64. Includes Blazor component to insert as an image.
- Host: GitHub
- URL: https://github.com/asifbacchus/absolutions.imagetobase64
- Owner: asifbacchus
- License: mit
- Created: 2024-10-06T08:27:44.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-19T08:49:59.000Z (3 months ago)
- Last Synced: 2024-10-19T12:57:43.296Z (3 months ago)
- Topics: blazor, c-sharp, class-library, dotnet, dotnet-core, library
- Language: C#
- Homepage:
- Size: 287 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A-B Solutions: ImageToBase64 library and Blazor Component
This repository contains two (2) separate primary libraries:
1. `ABSolutions.ImageToBase64`: Retrieves an image file from the local file system or a remote source (via HTTP/S) and converts it to a Base64 string with a data URI scheme.
2. `ABSolutions.ImageToBase64.BlazorComponent`: A Blazor component that uses the `ABSolutions.ImageToBase64` library to convert an image file to a Base64 string and display it in an HTML image tag.Usage details and release notes can be found in the README.md files of each library.
This repository also includes demo projects for each library:
- `ABSolutions.ImageToBase64.Demo.Api`: A simple ASP.NET Core Web API demonstrating the operation of the `ABSolutions.ImageToBase64` library. The API has one endpoint that returns the Base64-encoded string representation of a remote image and another endpoint that returns a webpage displaying that image.
- `ABSolutions.ImageToBase64.Demo.Blazor`: A Blazor Server (SSR) application that uses the `ABSolutions.ImageToBase64.BlazorComponent` library to display a Base64-encoded image retrieved from a remote source.Each demo project is fully explained in the documentation of the respective library.