Git Product home page Git Product logo

imaging.heif's Introduction

FileOnQ.Imaging.Heif

This project is a work in progress all code is currently experimental

A C#/.NET wrapper around libheif to simplify opening heic images and retrieving thumbnails.

Build (1.0.0) FileOnQ.Imaging.heif

Contributing

⭐ Pull Requests and Issues are always welcomed ⭐

Setup

Install the NuGet package into your target head and any shared projects.

FileOnQ.Imaging.heif

The NuGet package must be included in the entry point or target head, otherwise the native assemblies won't be copied over to the bin directory correctly.

Windows

Any Windows device running an application using this library requires the Visual C++ Redistributable package installed. See the Microsoft Visual C++ Redistributable Latest Supported Downloads. You will need to install the correct CPU Architecture(s) that your application supports.

Supported Target Frameworks

FileOnQ.Imaging.Heif is available for use in the following target frameworks

Platform Supported Version
net48 1.0.0
net5.0 1.0.0
Xamarin.iOS Planned
Xamarin.Mac Planned
MonoAndroid Planned

Supported Runtime Identifiers

FileOnQ.Imaging.Heif is available for use in the following runtime identifiers

Platform Supported Version
win-x86 1.0.0
win-x64 1.0.0
win-ARM64 Planned
osx-x64 Planned
linux-x64 Planned

Usage

Saves the primary image as a jpeg

using (var image = new HeifImage("image.heic"))
using (var primary = image.Primary())
{
    primary.Write("output.jpeg", 90);
}

Saves the embedded thumbnail as a jpeg

using (var image = new HeifImage("image.heic"))
using (var thumbnail = image.Thumbnail())
{
    thumbnail.Write("output.jpeg", 90);
}

Documentation

We don't have a wiki or full API documentation. If you are interested in helping, create an issue so we can discuss.

Dependencies

FileOnQ.Imaging.Heif uses several native C/C++ dependent libraries

Created By FileOnQ

This library was created by FileOnQ and donated to the open source community.

imaging.heif's People

Contributors

skyehoefling avatar kenny-sellers avatar dlemstra avatar mitchelsellers avatar

Stargazers

Media Explorer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.