C4Labs / C4iOS

C4 is an open-source creative coding framework that harnesses the power of native iOS programming with a simplified API that gets you working with media right away. Build artworks, design interfaces and explore new possibilities working with media and interaction.
www.c4ios.com
MIT License
980 stars 75 forks source link

Initializing Image with C4Image doesn't account for screen scale #661

Closed traviskirton closed 8 years ago

traviskirton commented 8 years ago

The following renders the new image @1x, effectively blowing it up...

convenience public init(c4image: Image) {
    let cgim = c4image.cgimage
    self.init(cgimage: cgim)
}