BlockiesSwift alternatives and similar libraries
Based on the "Images" category.
Alternatively, view BlockiesSwift alternatives based on common mentions on social networks and blogs.
-
SDWebImage
Asynchronous image downloader with cache support as a UIImageView category -
Kingfisher
A lightweight, pure-Swift library for downloading and caching images from the web. -
SwiftGen-Assets
The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs! -
GPUImage 2
GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing. -
HanekeSwift
A lightweight generic cache for iOS written in Swift with extra love for images. -
YPImagePicker
📸 Instagram-like image picker & filters for iOS -
SkyFloatingLabelTextField
A beautiful and flexible text field control implementation of "Float Label Pattern". Written in Swift. -
AlamofireImage
AlamofireImage is an image component library for Alamofire -
UIImageColors
Fetches the most dominant and prominent colors from an image. -
Brightroom
📷 A composable image editor using Core Image and Metal. [Moved to: https://github.com/FluidGroup/Brightroom] -
GPUImage 3
GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal. -
APNGKit
High performance and delightful way to play with APNG format in iOS. -
Lightbox
:milky_way: A convenient and easy to use image viewer for your iOS app -
TinyCrayon
A smart and easy-to-use image masking and cutout SDK for mobile apps. -
SwiftGif
[UNMAINTAINED] 🌠 A small UIImage extension with gif support -
Sharaku
(Not maintained)Image filtering UI library like Instagram. -
CTPanoramaView
A library that displays spherical or cylindrical panoramas with touch or motion based controls. -
ImageScout
A Swift implementation of fastimage. Supports PNG, GIF, and JPEG. -
FMPhotoPicker
A modern, simple and zero-dependency photo picker with an elegant and customizable image editor -
AXPhotoViewer
An iOS/tvOS photo gallery viewer, useful for viewing a large (or small!) number of photos. -
PassportScanner
Scan the MRZ code of a passport and extract the firstname, lastname, passport number, nationality, date of birth, expiration date and personal numer. -
Viewer
Image viewer (or Lightbox) with support for local and remote videos and images -
XAnimatedImage
XAnimatedImage is a performant animated GIF engine for iOS written in Swift based on FLAnimatedImage -
JLStickerTextView
add text(multiple line support) to imageView, edit, rotate or resize them as you want, then render the text on image -
UIImageView-BetterFace-Swift
autoresize images and if any face discovered refine the position of the image. -
Harbeth
🎨 GPU accelerated image / video and camera filter library based on Metal. Support macOS & iOS. 图像、视频、相机滤镜框架 -
MapleBacon
🍁🥓 Lightweight and fast Swift library for image downloading, caching and transformations -
Moa
An image download extension of the image view written in Swift for iOS, tvOS and macOS. -
KFSwiftImageLoader
An extremely high-performance, lightweight, and energy-efficient pure Swift async web image loader with memory and disk caching for iOS and Watch. -
ImageLoader
A lightweight and fast image loader for iOS written in Swift. -
MCScratchImageView
A custom ImageView that is used to cover the surface of other view like a scratch card, user can swipe the mulch to see the view below. -
ImageDetect
✂️ Detect and crop faces, barcodes and texts in image with iOS 11 Vision api. -
FacebookImagePicker
FacebookImagePicker is Facebook album photo picker written in Swift. -
DTPhotoViewerController
A fully customizable photo viewer ViewController to display single photo or collection of photos, inspired by Facebook photo viewer. -
SwiftColorArt
font schema generator according image colours.
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of BlockiesSwift or a related project?
README
:alembic: BlockiesSwift
This library is a Swift implementation of the Ethereum fork of Blockies which is intended to be used in iOS, watchOS, tvOS and macOS apps.
Blockies generates unique images (identicons) for a given seed string. Those can be used to create images representing an Ethereum (or other Cryptocurrency) Wallet address or really anything else.
Example
To run the example project, run pod try BlockiesSwift
. Or clone the repo, and run pod install
from the Example directory.
Installation
CocoaPods
BlockiesSwift is available through CocoaPods. To install
it, simply add the following line to your Podfile
:
pod 'BlockiesSwift'
Carthage
BlockiesSwift is compatible with Carthage, a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To install it, simply add the following line to your Cartfile
:
github "Boilertalk/BlockiesSwift"
Usage
Basic usage is very straight forward. You just create an instance of Blockies
with your seed and call createImage()
to get your image.
import BlockiesSwift
let blockies = Blockies(seed: "0x869bb8979d38a8bc07b619f9d6a0756199e2c724")
let img = blockies.createImage()
yourImageView.image = img
This will generate an image with size
set to 8 and scale
set to 4. size
is the width and height of the Blockies image in blocks, scale
is the width and height of one block in pixels.
Per default, random colors are generated for the given seed. You can change that but keep in mind that the pattern will also change if you provide custom colors as there will be less calls to the internal random()
function.
The following is a full example.
import BlockiesSwift
let blockies = Blockies(
seed: "0x869bb8979d38a8bc07b619f9d6a0756199e2c724",
size: 5,
scale: 10,
color: UIColor.green,
bgColor: UIColor.gray,
spotColor: UIColor.orange
)
let img = blockies.createImage()
yourImageView.image = img
The following sizes work well for most cases.
- size: 8, scale: 3
- size: 5, scale: 10
Sizes above 10 generate more noisy structures. If you want to generate bigger images, you can go for a set of size
and scale
from the above and pass a customScale
value to createImage(_:)
.
import BlockiesSwift
let blockies = Blockies(
seed: "0x869bb8979d38a8bc07b619f9d6a0756199e2c724",
size: 8,
scale: 3
)
let img = blockies.createImage(customScale: 10)
yourImageView.image = img
The image in this example would be 8 * 3 = 24x24
pixels without a custom scale. With the customScale
set to 10
it will be 8 * 3 * 10 = 240x240
pixels. The customScale
lets you generate bigger images with the same structure quality as the smaller ones.
Author
Koray Koska, [email protected]
License
BlockiesSwift is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the BlockiesSwift README section above
are relevant to that project's source code only.