Implemented the ability to send images to frontend with some contextual information.
This commit is contained in:
parent
7ab7e8acc4
commit
7bf04dcdac
6 changed files with 74 additions and 10 deletions
13
API/DTOs/ImageDto.cs
Normal file
13
API/DTOs/ImageDto.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
namespace API.DTOs
|
||||
{
|
||||
public class ImageDto
|
||||
{
|
||||
public int Page { get; set; }
|
||||
public string Filename { get; init; }
|
||||
public string FullPath { get; init; }
|
||||
public int Width { get; init; }
|
||||
public int Height { get; init; }
|
||||
public string Format { get; init; }
|
||||
public byte[] Content { get; init; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue