This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// main.m | |
// compareimages | |
// | |
// Created by Kevin Meaney on 25/02/2014. | |
// Copyright (c) 2014 Kevin Meaney. All rights reserved. | |
@import Foundation; | |
@import QuartzCore; | |
// --------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"{TIFF}": { | |
"ResolutionUnit": 2, | |
"Software": "NEX-5N v1.01", | |
"DateTime": "2013:07:28 13:50:35", | |
"XResolution": 350, | |
"ImageDescription": " ", | |
"Orientation": 1, | |
"Model": "NEX-5N", | |
"Make": "SONY", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface BaseClass : NSObject | |
+(void)callDerivedClassMethod; | |
@end | |
@interface DerivedClass : BaseClass | |
+(void)derivedClassMethod; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# This is the script code to run. It runs the script based on the file path to the script not text passed in. | |
# In Panic's "Coda Plug-in Creator" I've set the following options: | |
# Command is: Run Document | |
# Keyboard shortcut: Command-Option-R | |
# On Run: Save | |
# On Success: Nothing | |
# STDIN None | |
# STDOUT New Document |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Scale and add a text water mark to images. | |
require 'moving_images' | |
include MovingImages | |
# The folder where the water marked images will be saved. | |
output_dir = "~/Desktop/watermarkedfiles" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CreateImageProtocol.h | |
// test | |
// | |
// Created by Kevin Meaney on 17/10/2014. | |
// Copyright (c) 2014 Kevin Meaney. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.swift | |
// mutablecomposition | |
// | |
// Created by Kevin Meaney on 24/08/2015. | |
// Copyright (c) 2015 Kevin Meaney. All rights reserved. | |
// | |
import Foundation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) | |
} |
OlderNewer