Skip to content

kasimok/Translucent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translucent

A Transparent background utility for cropping a transparent images backgrounds to homescreen widgets. Inspired by Scriptable script

Preview

Installation

Add this dependecy to your project with SPM

Usage

import Translucent

//Create instances

let bgLight = Wallpaper(/* User wallpaper in UIImage */)
let bgDark = Wallpaper(/* User wallpaper in UIImage */)

//And get backgrounds for widgets

bgLight.widgetBackground(for: /* the position */)