You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// guard let customImage = atImage as? CustomImageType else {
58
64
/// return nil
@@ -91,14 +97,14 @@ public protocol ATImageProcessable {
91
97
///
92
98
/// It's required for the image to be less than 1MB (1,000,000 bytes). This method will shrink the file size to the largest possible size that doesn't exceed the limit. Note that image quality may be affected.
93
99
/// - Parameters:
94
-
/// - image: The image that needs to be prepared.
100
+
/// - image: The file path of the image that needs to be prepared.
95
101
/// - altText: The alt text used to help blind and low-vision users know what's contained in the text. Optional.
96
102
/// - targetFileSize: The size (in bytes) the file needs to be.
97
103
/// - Returns: An ``ImageQuery``, which combines the image itself in a `Data` format and the alt text.
/// Removes all EXIF and GPS metadata from the image.
100
106
///
101
-
/// This method should ideally be before ``convertToImageQuery(image:altText:)`` does anything to the image, as it will help with the process of maintaining more of the image quality.
107
+
/// This method should ideally be before ``convertToImageQuery(imagePath:altText:targetFileSize:)-2fma7`` does anything to the image, as it will help with the process of maintaining more of the image quality.
0 commit comments