Skip to content

Instantly share code, notes, and snippets.

View vgoltv's full-sized avatar

Viktor Goltvyanytsya vgoltv

View GitHub Profile
@vgoltv
vgoltv / FWKCIImageView.h
Created August 19, 2016 17:51
display CIImage via GLKView
//
// FWKCIImageView.h
// LineEngraver
//
// Created by Viktor Goltvyanytsya on 8/8/16.
//
//
@vgoltv
vgoltv / UIImage-CIImageUtils.m
Last active November 2, 2018 10:33
method to create UIImage from CIImage and avoid memory leak of iOS9.0 described there: https://forums.developer.apple.com/thread/17142
// initial swift code taken from https://forums.developer.apple.com/thread/17142
// or you can kill current EAGLContext and create new one before CIContext creation
@vgoltv
vgoltv / FWKSketchFilter.h
Last active July 7, 2024 09:04
CoreImage filter "Sobel Sketch", kernel ported from GPUImageSketchFilter. Objective-C
//
// FWKSketchFilter.h
// LineEngraver
//
// Created by Viktor Goltvyanytsya on 8/4/16.
// http://www.fwkit.com
//
// Ported from https://github.com/BradLarson/GPUImage/blob/master/framework/Source/GPUImageSketchFilter.m