Skip to content

TransformResultDto

Namespace: MJCZone.MediaMatic.AspNetCore.Models.Dtos

Assembly: MJCZone.MediaMatic.AspNetCore

Summary

Response containing metadata about a transformed image.

sealed public

Contents

Constructors (1) | Methods (4) | Properties (7)

Constructors

TransformResultDto

csharp
TransformResultDto()

Methods

GetType

csharp
GetType()

ToString

csharp
ToString()

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()

Properties

Path

Gets or sets the path where the transformed image was saved.

Type: string

Size

Gets or sets the file size in bytes.

Type: long

Width

Gets or sets the image width in pixels.

Type: int

Height

Gets or sets the image height in pixels.

Type: int

Format

Gets or sets the output format (e.g., "webp", "jpeg", "png").

Type: string

Success

Gets or sets a value indicating whether the transformation succeeded.

Type: bool

ErrorMessage

Gets or sets the error message if the transformation failed.

Type: string?