I hereby claim:
- I am SheffieldKevin on github.
- I am ktam (https://keybase.io/ktam) on keybase.
- I have a public key whose fingerprint is D09A 1368 02CD 66C0 454C 42A8 595C 9934 19FB CBF9
To claim this, I am signing this object:
| // | |
| // main.swift | |
| // mutablecomposition | |
| // | |
| // Created by Kevin Meaney on 24/08/2015. | |
| // Copyright (c) 2015 Kevin Meaney. All rights reserved. | |
| // | |
| import Foundation |
| // MICMSampleBuffer.h | |
| // MovieMaker | |
| // | |
| // Created by Kevin Meaney on 02/01/2015. | |
| // Copyright (c) 2015 MIT License. All rights reserved. | |
| @import Foundation; | |
| @import AVFoundation; | |
| @interface MICMSampleBuffer : NSObject <NSCopying> |
| /** | |
| @brief Returns true if images have same meta. Width, Height, bit depth. | |
| @discussion Assumes images are non null. | |
| */ | |
| func doImagesHaveSameMeta(#image1:CGImage, #image2:CGImage) -> Bool { | |
| if CGImageGetWidth(image1) != CGImageGetWidth(image2) { | |
| return false | |
| } | |
| if CGImageGetHeight(image1) != CGImageGetHeight(image2) { |
| // main.m | |
| // pagecurlbacksidetest | |
| // | |
| // Created by Kevin Meaney on 30/03/2014. | |
| @import Foundation; | |
| @import QuartzCore; | |
| size_t const kWidth = 600; | |
| size_t const kHeight = 400; |
| #!/usr/bin/env swift | |
| import Foundation | |
| import AVFoundation | |
| if Process.arguments.count != 2 { | |
| println("The first and only argument should be a full path to a movie or music file.") | |
| exit(1) | |
| } |
| // main.m | |
| // creategif | |
| // | |
| // Created by Kevin Meaney on 21/10/2013. | |
| // I've briefly blogged about it here: | |
| // http://blog.yvs.eu.com/2013/10/creating-gif-animations-using-coreimagequartz | |
| // The following code is all that is all the code needed for a creating a command line tool to generate | |
| // a gif animation from image files. | |
| // The main limitation with this code is that apart from the frame delay time of 0.1 second, every |
I hereby claim:
To claim this, I am signing this object:
| // | |
| // MIAVCreateImageOfCompositionMap.m | |
| // MovingImagesFramework | |
| // | |
| // Created by Kevin Meaney on 08/03/2015. | |
| // | |
| // Lifted from Apple's Composition Debug Viewer application. | |
| @import Foundation; | |
| @import AVFoundation; |
| // | |
| // main.m | |
| // bigears | |
| // | |
| // Created by Kevin Meaney on 18/02/2015. | |
| // Copyright (c) 2015 Kevin Meaney. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
| // | |
| // CreateImageProtocol.h | |
| // test | |
| // | |
| // Created by Kevin Meaney on 17/10/2014. | |
| // Copyright (c) 2014 Kevin Meaney. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |