Skip to content

Fast image interpolation written in Metal Performance Shaders

License

Notifications You must be signed in to change notification settings

adamnemecek/MetalResize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Fast image interpolation written in Metal Performance Shaders

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 63.1%
  • Metal 33.1%
  • C++ 3.8%