HeicJpegToolkit 1.3.0

dotnet add package HeicJpegToolkit --version 1.3.0
                    
NuGet\Install-Package HeicJpegToolkit -Version 1.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HeicJpegToolkit" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HeicJpegToolkit" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="HeicJpegToolkit" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HeicJpegToolkit --version 1.3.0
                    
#r "nuget: HeicJpegToolkit, 1.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package HeicJpegToolkit@1.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HeicJpegToolkit&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=HeicJpegToolkit&version=1.3.0
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last Updated
1.3.0 128 5/17/2025
1.2.0 199 4/16/2025
1.1.0 216 3/6/2025
1.0.0 214 3/6/2025