Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.09 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.09 KB

MetalResize

This is a fast image-resizing framework written in Metal Performance Shaders. It supports images with RGBA channels.

Interpolation

Limitations

Both input and output image size should not be larger than Maximum 2D texture width and height (typically 8192 or 16384). Memory usage should be less than Maximum buffer length (typically 256MB). For details please refer to Metal Feature Set Tables.

Demo

This image is scaled to 8x in all methods.

Nearest-neighbor

Bilinear

Bicubic

Image source: https://www.pixiv.net/member_illust.php?mode=medium&illust_id=62665989