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
ATImageProcessable is a helper protocol framework that tries to get images down to below the maximum size that the AT Protocol requires. Since The AT Protocol is more than just Bluesky, a framework is needed to make it more generic. This should act as an extension to any image frameworks (examples: UIImage for iOS; NSImage for macOS).
Considered Alternatives
No response
Is this a breaking change?
No
Library Examples
No response
Additional Context
Current goals:
Extend UIImage with convenience initializers that clone the applicable base initializers
Extend NSImage with convenience initializers that clone the applicable base initializers
Ensure the following methods have a default implementation:
Summary
No response
Pain points
ATImageProcessable
is a helper protocol framework that tries to get images down to below the maximum size that the AT Protocol requires. Since The AT Protocol is more than just Bluesky, a framework is needed to make it more generic. This should act as an extension to any image frameworks (examples:UIImage
for iOS;NSImage
for macOS).Considered Alternatives
No response
Is this a breaking change?
No
Library Examples
No response
Additional Context
Current goals:
UIImage
with convenience initializers that clone the applicable base initializersNSImage
with convenience initializers that clone the applicable base initializersconvertToImageQuery(imagePath: String, altText: String?, targetFileSize: Int) -> ImageQuery?
stripMetadata(from image: ATImage) -> ATImage?
The text was updated successfully, but these errors were encountered: