parasyte/pixels

Scaling downwards

オープン

#267 opened on 2022/03/24

 (3 件のコメント) (1 件のリアクション) (0 人の担当者)Rust (147 件のフォーク)auto 404
enhancementgood first issue

Repository metrics

Stars
 (2,121 個のスター)
PR merge metrics
 (PR metrics pending)

説明

While writing a simple image viewer, I discovered that scaling down is not supported. That is, if the pixel buffer is larger than the surface texture. Would it be difficult to scale an image to fit the surface texture, adding borders horizontally or vertically as appropriate to keep the aspect ratio?

コントリビューターガイド