HeicJpegToolkit 1.3.0
dotnet add package HeicJpegToolkit --version 1.3.0
NuGet\Install-Package HeicJpegToolkit -Version 1.3.0
<PackageReference Include="HeicJpegToolkit" Version="1.3.0" />
<PackageVersion Include="HeicJpegToolkit" Version="1.3.0" />
<PackageReference Include="HeicJpegToolkit" />
paket add HeicJpegToolkit --version 1.3.0
#r "nuget: HeicJpegToolkit, 1.3.0"
#:package HeicJpegToolkit@1.3.0
#addin nuget:?package=HeicJpegToolkit&version=1.3.0
#tool nuget:?package=HeicJpegToolkit&version=1.3.0
HEIC to JPG Converter
This program allows you to convert HEIC images to JPG format using the HeicJpegToolkit library. It supports various output formats, including PNG, JPEG, TIFF, GIF, WMP, and HEIF, making it a versatile solution for your image conversion needs.
How to Use the HEIC to JPG Converter
1. Clone the Repository:
Clone the repository from GitHub:
git clone https://github.com/Elanchezhiyan-P/HeicJpegToolkit.git
2. Set the Input File Path:
Locate the HEIC file you want to convert. In the Main method, set the inputFilePath variable to the path of your HEIC file:
string inputFilePath = "C:\\path\\to\\your\\file.heic";
3. Set the Output Folder Path:
Define the folder where you want to save the converted JPG image by setting the outputFolderPath variable:
string outputFolderPath = "C:\\path\\to\\output\\folder";
4. Set the Output Format (Optional):
You can specify the desired output format (such as JPG, PNG, TIFF, GIF, etc.) by setting the outputFormat variable. But, by default, it will take JPEG as the format
string outputFormat = "JPEG"; // Other options: "PNG", "TIFF", "GIF", "WMP", "HEIF"
5. Run the Program:
Once you have set the file paths, run the program. It will:
Check if the input file exists. Verify that the input file is in HEIC format. Create the output folder if it doesn't exist. Convert the HEIC file to a JPG file and save it to the specified output folder.
6. View the Result:
After the conversion, if successful, the program will display the path of the saved JPG image. If the conversion fails, it will show an error message explaining the reason.
Supported Output Formats:
- JPEG
- PNG
- TIFF
- GIF
- WMP (Windows Media Photo)
- HEIF
This program is based on the heic2jpg library, available at:
https://github.com/ejohnson-dotnet/heic2jpg
Author & Contact Information
Author: Elanchezhiyan P
If you encounter any issues or bugs, please feel free to open an issue.
We are also open to any discussions, suggestions, or contributions! Don't hesitate to reach out.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.