Skip to content

Commit

Permalink
Add heic related adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Samer El-Khatib committed May 24, 2024
1 parent 651c996 commit d49eb7d
Show file tree
Hide file tree
Showing 24 changed files with 687 additions and 0 deletions.
17 changes: 17 additions & 0 deletions english/adapters/net/Aspose.Imaging.HEIC.Adapter/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Aspose.Imaging.HEIC.Adapter for .NET
type: docs
weight: 10
url: /adapters/net/aspose.imaging.heic.adapter/
keywords: "Aspose.Imaging.HEIC.Adapter for .NET, Aspose.Imaging.HEIC.Adapter, Aspose API Reference."
description: Aspose.Imaging.HEIC.Adapter for .NET Combines 2 Aspose products Aspose.Imaging for .NET and Openize.HEIC for .NET, this allows you to use the functions of both libraries as a single whole and expand conversion between formats.
is_root: true
---
## Namespaces

| Namespace | Description |
| --- | --- |
| [Aspose.Imaging.HEIC.Adapter](./aspose.imaging.heic.adapter/) | |
| [Aspose.Imaging.HEIC.Adapter.Loader](./aspose.imaging.heic.adapter.loader/) | |


Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Aspose.Imaging.HEIC.Adapter.Loader
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description:
type: docs
weight: 20
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter.loader/
---


## Classes

| Class | Description |
| --- | --- |
| [HEICImageLoader](./heicimageloader/) | The HEIC image loader of [IImageLoader](https://reference.aspose.com/imaging/net/aspose.imaging/iimageloader/) |


Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: Class HEICImageLoader
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description: Aspose.Imaging.HEIC.Adapter.Loader.HEICImageLoader class. The HEIC image loader of IImageLoader
type: docs
weight: 30
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter.loader/heicimageloader/
---
## HEICImageLoader class

The HEIC image loader of [IImageLoader](https://reference.aspose.com/imaging/net/aspose.imaging/iimageloader/)

```csharp
public class HEICImageLoader : IImageLoader
```

## Constructors

| Name | Description |
| --- | --- |
| [HEICImageLoader](heicimageloader/)() | The default constructor. |

## Methods

| Name | Description |
| --- | --- |
| [Load](../../aspose.imaging.heic.adapter.loader/heicimageloader/load/)(StreamContainerLoadOptions) | Loads the image from the specified stream container. |

### See Also

* namespace [Aspose.Imaging.HEIC.Adapter.Loader](../../aspose.imaging.heic.adapter.loader/)
* assembly [Aspose.Imaging.HEIC.Adapter](../../)


Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: HEICImageLoader.HEICImageLoader
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description: HEICImageLoader constructor. The default constructor
type: docs
weight: 10
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter.loader/heicimageloader/heicimageloader/
---
## HEICImageLoader constructor

The default constructor.

```csharp
public HEICImageLoader()
```

### See Also

* class [HEICImageLoader](../)
* namespace [Aspose.Imaging.HEIC.Adapter.Loader](../../../aspose.imaging.heic.adapter.loader/)
* assembly [Aspose.Imaging.HEIC.Adapter](../../../)


Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: HEICImageLoader.Load
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description: HEICImageLoader method. Loads the image from the specified stream container
type: docs
weight: 20
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter.loader/heicimageloader/load/
---
## HEICImageLoader.Load method

Loads the image from the specified stream container.

```csharp
public Image Load(StreamContainer streamContainer, LoadOptions loadOptions)
```

| Parameter | Type | Description |
| --- | --- | --- |
| streamContainer | StreamContainer | [The stream container.](https://reference.aspose.com/imaging/net/aspose.imaging/streamcontainer/) |
| loadOptions | LoadOptions | [The load options.](https://reference.aspose.com/imaging/net/aspose.imaging/loadoptions/) |

### Return Value

[Aspose.Imaging.Image](https://reference.aspose.com/imaging/net/aspose.imaging/image/)

### See Also

* class [HEICImageLoader](../)
* namespace [Aspose.Imaging.HEIC.Adapter.Loader](../../../aspose.imaging.heic.adapter.loader/)
* assembly [Aspose.Imaging.HEIC.Adapter](../../../)


Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: Aspose.Imaging.HEIC.Adapter
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description:
type: docs
weight: 10
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter/
---


## Classes

| Class | Description |
| --- | --- |
| [HEICImage](./heicimage/) | The heic Image of[RasterCachedMultipageImage](https://reference.aspose.com/imaging/net/aspose.imaging/rastercachedmultipageimage/) |
| [HEICLoadOptions](./heicloadoptions/) | The Heic load options of [LoadOptions](https://reference.aspose.com/imaging/net/aspose.imaging/loadoptions/) |


Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
title: Class HEICImage
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description: Aspose.Imaging.HEIC.Adapter.HEICImage class. The heic Image ofRasterCachedMultipageImage
type: docs
weight: 10
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter/heicimage/
---
## HEICImage class

The heic Image of[RasterCachedMultipageImage](https://reference.aspose.com/imaging/net/aspose.imaging/rastercachedmultipageimage/)

```csharp
public class HEICImage : RasterCachedMultipageImage
```

## Constructors

| Name | Description |
| --- | --- |
| [HEICImage](heicimage/)(Stream) | Initializes a new instance of the `HEICImage` class. |

## Properties

| Name | Description |
| --- | --- |
| override [BackgroundColor](../../aspose.imaging.heic.adapter/heicimage/backgroundcolor/) { get; } | Gets the [color](https://reference.aspose.com/imaging/net/aspose.imaging/color/) of the background. |
| override [BitsPerPixel](../../aspose.imaging.heic.adapter/heicimage/bitsperpixel/) { get; } | Gets the image bits per pixel count. |
| override [HasAlpha](../../aspose.imaging.heic.adapter/heicimage/hasalpha/) { get; } | Gets a value indicating whether this instance has alpha. |
| override [HasTransparentColor](../../aspose.imaging.heic.adapter/heicimage/hastransparentcolor/) { get; } | Gets a value indicating whether image has transparent color. |
| override [Height](../../aspose.imaging.heic.adapter/heicimage/height/) { get; } | Gets the image height. |
| override [IsCached](../../aspose.imaging.heic.adapter/heicimage/iscached/) { get; } | Gets a value indicating whether image data is cached currently. |
| override [PageCount](../../aspose.imaging.heic.adapter/heicimage/pagecount/) { get; } | Gets the page count. |
| override [Pages](../../aspose.imaging.heic.adapter/heicimage/pages/) { get; } | Gets the pages, where pages are an array of [Image](https://reference.aspose.com/imaging/net/aspose.imaging/image/). |
| override [Width](../../aspose.imaging.heic.adapter/heicimage/width/) { get; } | Gets the image width. |

## Methods

| Name | Description |
| --- | --- |
| override [CacheData](../../aspose.imaging.heic.adapter/heicimage/cachedata/)() | Caches the data private. |
| override [Resize](../../aspose.imaging.heic.adapter/heicimage/resize/#resize_1)(intintImageResizeSettings) | Resizes the image. |
| override [Resize](../../aspose.imaging.heic.adapter/heicimage/resize/#resize_2)(intintResizeType) | Resizes the image. |
| override [RotateFlip](../../aspose.imaging.heic.adapter/heicimage/rotateflip/)(RotateFlipType) | Rotates, flips, or rotates and flips all pages. |
| override [SetPalette](../../aspose.imaging.heic.adapter/heicimage/setpalette/)(IColorPalettebool) | Sets the image palette. |
| static [Register](../../aspose.imaging.heic.adapter/heicimage/register/)() | Register HEIC Adapter |

### See Also

* namespace [Aspose.Imaging.HEIC.Adapter](../../aspose.imaging.heic.adapter/)
* assembly [Aspose.Imaging.HEIC.Adapter](../../)


Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: HEICImage.BackgroundColor
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description: HEICImage property. Gets the color of the background
type: docs
weight: 20
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter/heicimage/backgroundcolor/
---
## HEICImage.BackgroundColor property

Gets the [color](https://reference.aspose.com/imaging/net/aspose.imaging/color/) of the background.

```csharp
public override Color BackgroundColor { get; }
```

### Property Value

The color of the background.

### See Also

* class [HEICImage](../)
* namespace [Aspose.Imaging.HEIC.Adapter](../../../aspose.imaging.heic.adapter/)
* assembly [Aspose.Imaging.HEIC.Adapter](../../../)


Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: HEICImage.BitsPerPixel
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description: HEICImage property. Gets the image bits per pixel count
type: docs
weight: 30
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter/heicimage/bitsperpixel/
---
## HEICImage.BitsPerPixel property

Gets the image bits per pixel count.

```csharp
public override int BitsPerPixel { get; }
```

### Property Value

The image bits per pixel count.

### See Also

* class [HEICImage](../)
* namespace [Aspose.Imaging.HEIC.Adapter](../../../aspose.imaging.heic.adapter/)
* assembly [Aspose.Imaging.HEIC.Adapter](../../../)


Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: HEICImage.CacheData
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description: HEICImage method. Caches the data private
type: docs
weight: 110
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter/heicimage/cachedata/
---
## HEICImage.CacheData method

Caches the data private.

```csharp
public override void CacheData()
```

### Exceptions

| exception | condition |
| --- | --- |
| NotImplementedException | |

### See Also

* class [HEICImage](../)
* namespace [Aspose.Imaging.HEIC.Adapter](../../../aspose.imaging.heic.adapter/)
* assembly [Aspose.Imaging.HEIC.Adapter](../../../)


Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: HEICImage.HasAlpha
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description: HEICImage property. Gets a value indicating whether this instance has alpha
type: docs
weight: 40
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter/heicimage/hasalpha/
---
## HEICImage.HasAlpha property

Gets a value indicating whether this instance has alpha.

```csharp
public override bool HasAlpha { get; }
```

### Property Value

`true` if this instance has alpha; otherwise, `false`.

### See Also

* class [HEICImage](../)
* namespace [Aspose.Imaging.HEIC.Adapter](../../../aspose.imaging.heic.adapter/)
* assembly [Aspose.Imaging.HEIC.Adapter](../../../)


Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: HEICImage.HasTransparentColor
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description: HEICImage property. Gets a value indicating whether image has transparent color
type: docs
weight: 50
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter/heicimage/hastransparentcolor/
---
## HEICImage.HasTransparentColor property

Gets a value indicating whether image has transparent color.

```csharp
public override bool HasTransparentColor { get; }
```

### See Also

* class [HEICImage](../)
* namespace [Aspose.Imaging.HEIC.Adapter](../../../aspose.imaging.heic.adapter/)
* assembly [Aspose.Imaging.HEIC.Adapter](../../../)


Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: HEICImage.HEICImage
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description: HEICImage constructor. Initializes a new instance of the HEICImage class
type: docs
weight: 10
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter/heicimage/heicimage/
---
## HEICImage constructor

Initializes a new instance of the [`HEICImage`](../) class.

```csharp
public HEICImage(Stream stream)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | The stream. |

### See Also

* class [HEICImage](../)
* namespace [Aspose.Imaging.HEIC.Adapter](../../../aspose.imaging.heic.adapter/)
* assembly [Aspose.Imaging.HEIC.Adapter](../../../)


Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: HEICImage.Height
second_title: Aspose.Imaging.HEIC.Adapter for .NET API Reference
description: HEICImage property. Gets the image height
type: docs
weight: 60
url: /adapters/net/aspose.imaging.heic.adapter/aspose.imaging.heic.adapter/heicimage/height/
---
## HEICImage.Height property

Gets the image height.

```csharp
public override int Height { get; }
```

### Property Value

The image height.

### See Also

* class [HEICImage](../)
* namespace [Aspose.Imaging.HEIC.Adapter](../../../aspose.imaging.heic.adapter/)
* assembly [Aspose.Imaging.HEIC.Adapter](../../../)


Loading

0 comments on commit d49eb7d

Please sign in to comment.