This is a fast image-resizing framework written in Metal Performance Shaders. It supports images with RGBA channels.
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.
This image is scaled to 8x in all methods.
Image source: https://www.pixiv.net/member_illust.php?mode=medium&illust_id=62665989