Raster

0.0.2

Rasterize SwiftUI views into bitmap images.
alexito4/Raster

What's New

0.0.2

2022-12-14T11:03:38Z

Marked methods as MainActor

Full Changelog: 0.0.1...0.0.2

Raster

CI Mac

Rasterize a SwiftUI view into an image.

testExample.1

How to use

import Raster

let view = ... any SwiftUI view
let image = view.rasterize(at: size)

Installation

dependencies: [
   .package(url: "https://github.com/alexito4/Raster.git", from: "0.0.1")
],
...
.target(
    dependencies: [
        "Raster"
    ],
),

Author

Alejandro Martinez | http://alejandromp.com | @alexito4

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

Last updated: Fri Oct 18 2024 12:43:38 GMT-0900 (Hawaii-Aleutian Daylight Time)