mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 22:07:21 +00:00
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
11 lines
587 B
C#
11 lines
587 B
C#
namespace AIStudio.Tools.PowerPoint;
|
|
|
|
/// <summary>
|
|
/// A picture, ready to be placed on a slide.
|
|
/// </summary>
|
|
/// <param name="Data">The encoded image.</param>
|
|
/// <param name="ContentType">The MIME type of the encoded image, e.g., "image/png".</param>
|
|
/// <param name="Width">The width in pixels.</param>
|
|
/// <param name="Height">The height in pixels.</param>
|
|
/// <param name="IsIcon">Whether the picture is an icon of a picture library, which is never cropped.</param>
|
|
internal sealed record SlidePicture(byte[] Data, string ContentType, int Width, int Height, bool IsIcon = false); |