Contents

kasimok/translucent

A Transparent background utility for cropping a transparent images backgrounds to homescreen widgets. Inspired by [Scriptable script](https://gist.github.com/mzeryck/3a97ccd1e059b3afa3c6666d27a496c9)

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 */)

Package Metadata

Repository: kasimok/translucent

Default branch: main

README: README.md