Update ImageReader to reaad images without resizinf
This commit is contained in:
@@ -4,7 +4,7 @@ public interface IImageDescriptor
|
||||
{
|
||||
object Image { get; }
|
||||
|
||||
int Width { get; }
|
||||
double Width { get; }
|
||||
|
||||
int Height { get; }
|
||||
double Height { get; }
|
||||
}
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
public interface IImageReader
|
||||
{
|
||||
IImageDescriptor Get(Stream stream,
|
||||
int width,
|
||||
int height,
|
||||
double width,
|
||||
double height,
|
||||
bool maintainAspectRatio = false);
|
||||
|
||||
IImageDescriptor Get(Stream stream);
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public record ImageDescriptor(object Image, int Width, int Height) :
|
||||
public record ImageDescriptor(object Image, double Width, double Height) :
|
||||
IImageDescriptor;
|
||||
Reference in New Issue
Block a user