
This commit lays the groundwork for a user-configurable image processing pipeline. It has exactly the same behavior as the old ImageProcessor, just modular & compartmentalized. It also adds support for AVIF & JXL encoding, though no code paths call it just yet.
9 lines
No EOL
235 B
C#
9 lines
No EOL
235 B
C#
namespace Iceshrimp.Backend.Core.Services.ImageProcessing;
|
|
|
|
public interface IImageInfo
|
|
{
|
|
public int Width { get; }
|
|
public int Height { get; }
|
|
public bool IsAnimated { get; }
|
|
public string? MimeType { get; }
|
|
} |