[Feature Request]: Complete `ATImageProcessable` Implementation
まだ誰も着手していません。
評価
調査の方向性
Start by locating the ATImageProcessable protocol and its image handling entry points; the issue names UIImage and NSImage as the intended extensions. Read the existing image query and metadata handling, then determine how the project represents JPEG, PNG, and WEBP images. Done means both platform image types have the requested initializers, the two methods have default implementations, and all three formats are supported.
索引モデルが issue の本文から書いたものです。
説明
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:
- Extend
UIImagewith convenience initializers that clone the applicable base initializers - Extend
NSImagewith convenience initializers that clone the applicable base initializers - Ensure the following methods have a default implementation:
-
convertToImageQuery(imagePath: String, altText: String?, targetFileSize: Int) -> ImageQuery? -
stripMetadata(from image: ATImage) -> ATImage?
-
- Support for JPEG images
- Support for PNG images
- Support for WEBP images
- 主要言語
- Swift
- スター
- 226
- フォーク
- 40
- 平均マージ
- 5時間 8分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MasterJ93/ATProtoKit のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
MasterJ93/ATProtoKit#344 ·
-
enhancement
難易度 4/5 1〜2日 初心者へのやさしさ 52/100
MasterJ93/ATProtoKit#337 · コメント 3 件 ·
-
new feature
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
MasterJ93/ATProtoKit#321 · コメント 1 件 ·
-
new feature
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
MasterJ93/ATProtoKit#320 · コメント 1 件 ·
-
new feature
難易度 4/5 1〜2日 初心者へのやさしさ 55/100
MasterJ93/ATProtoKit#316 · コメント 1 件 ·
MasterJ93/ATProtoKit の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
🎉 Add Woundオープン
難易度 1/5 1時間未満 初心者へのやさしさ 77/100
jaywcjlove/awesome-mac#4357 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
VictorKildahl/cra#243 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
OneBusAway/vehicle-positions#260 ·
メンテナーはふだん 1 日以内に返信