Skip to content

Commit

Permalink
Add remark Screenshot Quality only applies to JPG (#21610)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfversluis authored Apr 3, 2024
1 parent f0c4dd1 commit cc4fde2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Essentials/src/Screenshot/Screenshot.shared.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public interface IScreenshotResult
/// Opens a <see cref="Stream"/> to the corresponding screenshot file on the filesystem.
/// </summary>
/// <param name="format">The image format used to read this screenshot.</param>
/// <param name="quality">The quality used to read this screenshot.</param>
/// <param name="quality">The quality used to read this screenshot. Quality only applies when <see cref="ScreenshotFormat.Jpeg"/> is used.</param>
/// <returns>A <see cref="Stream"/> containing the screenshot file data.</returns>
Task<Stream> OpenReadAsync(ScreenshotFormat format = ScreenshotFormat.Png, int quality = 100);

Expand All @@ -124,7 +124,7 @@ public interface IScreenshotResult
/// </summary>
/// <param name="destination">The destination <see cref="Stream"/> to copy the screenshot file data to.</param>
/// <param name="format">The image format used to copy this screenshot.</param>
/// <param name="quality">The quality used to copy this screenshot.</param>
/// <param name="quality">The quality used to copy this screenshot. Quality only applies when <see cref="ScreenshotFormat.Jpeg"/> is used.</param>
/// <returns>A <see cref="Task"/> object with the current status of the asynchronous operation.</returns>
Task CopyToAsync(Stream destination, ScreenshotFormat format = ScreenshotFormat.Png, int quality = 100);
}
Expand Down

0 comments on commit cc4fde2

Please sign in to comment.