Instagram Filters 破解了Instagram App的几十种滤镜OpenGL ES shader 文件 和 color mapping 文件
破解了Instagram App的几十种滤镜(OpenGL ES shader 文件 和 color mapping 文件)。并且利用GPUImage来完成demo。可以给照片和视频,以及实时相机加上各种滤镜效果。
由于这份代码中的滤镜效果是破解Instagram的,按照原作者的意思,这些滤镜文件是不能直接用作自己App的滤镜,希望我们开发者能自觉遵守,仅把这份代码作为学习用途。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-11-22 17:55 InstagramFilters-master
文件 8196 2015-11-22 21:11 InstagramFilters-master.DS_Store
目录 0 2015-11-22 21:20 __MACOSX
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-master
文件 120 2015-11-22 21:11 __MACOSXInstagramFilters-master._.DS_Store
文件 18594 2015-06-27 03:45 InstagramFilters-masterDefault-568h@2x.png
目录 0 2015-11-22 17:55 InstagramFilters-masterFacebookSDKResources.bundle
目录 0 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleContents
目录 0 2015-11-22 17:55 InstagramFilters-masterFacebookSDKResources.bundleContentsResources
目录 0 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleContentsResourcesen.lproj
文件 1702 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleContentsResourcesen.lprojLocalizable.strings
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundle
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContents
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResources
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResourcesen.lproj
文件 212 2013-11-01 16:19 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResourcesen.lproj._Localizable.strings
文件 212 2013-11-01 16:19 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResources._en.lproj
目录 0 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleContentsResourceshe.lproj
文件 1674 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleContentsResourceshe.lprojLocalizable.strings
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResourceshe.lproj
文件 212 2013-11-01 16:19 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResourceshe.lproj._Localizable.strings
文件 212 2013-11-01 16:19 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResources._he.lproj
文件 212 2015-11-22 17:55 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContents._Resources
文件 212 2013-11-01 16:19 __MACOSXInstagramFilters-masterFacebookSDKResources.bundle._Contents
目录 0 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleFBDialog
目录 0 2015-11-22 17:55 InstagramFilters-masterFacebookSDKResources.bundleFBDialogimages
文件 1540 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleFBDialogimagesclose.png
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleFBDialog
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleFBDialogimages
文件 212 2013-11-01 16:19 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleFBDialogimages._close.png
文件 2501 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleFBDialogimagesclose@2x.png
............此处省略315个文件信息
//
// IFAppDelegate.m
// InstaFilters
//
// Created by Di Wu on 2/28/12.
// Copyright (c) 2012 twitter:@diwup. All rights reserved.
//
#import “IFAppDelegate.h“
#import “IFRootViewController.h“
@implementation IFAppDelegate
@synthesize window = _window;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithframe:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.window.backgroundColor = [UIColor blackColor];
IFRootViewController *ifRootViewController = [[IFRootViewController alloc] init];
self.window.rootViewController = ifRootViewController;
[self.window makeKeyAndVisible];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application
{
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks disable timers and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application
{
// Use this method to release shared resources save user data invalidate timers and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application
{
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application
{
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application
{
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-11-22 17:55 InstagramFilters-master
文件 8196 2015-11-22 21:11 InstagramFilters-master.DS_Store
目录 0 2015-11-22 21:20 __MACOSX
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-master
文件 120 2015-11-22 21:11 __MACOSXInstagramFilters-master._.DS_Store
文件 18594 2015-06-27 03:45 InstagramFilters-masterDefault-568h@2x.png
目录 0 2015-11-22 17:55 InstagramFilters-masterFacebookSDKResources.bundle
目录 0 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleContents
目录 0 2015-11-22 17:55 InstagramFilters-masterFacebookSDKResources.bundleContentsResources
目录 0 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleContentsResourcesen.lproj
文件 1702 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleContentsResourcesen.lprojLocalizable.strings
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundle
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContents
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResources
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResourcesen.lproj
文件 212 2013-11-01 16:19 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResourcesen.lproj._Localizable.strings
文件 212 2013-11-01 16:19 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResources._en.lproj
目录 0 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleContentsResourceshe.lproj
文件 1674 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleContentsResourceshe.lprojLocalizable.strings
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResourceshe.lproj
文件 212 2013-11-01 16:19 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResourceshe.lproj._Localizable.strings
文件 212 2013-11-01 16:19 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContentsResources._he.lproj
文件 212 2015-11-22 17:55 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleContents._Resources
文件 212 2013-11-01 16:19 __MACOSXInstagramFilters-masterFacebookSDKResources.bundle._Contents
目录 0 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleFBDialog
目录 0 2015-11-22 17:55 InstagramFilters-masterFacebookSDKResources.bundleFBDialogimages
文件 1540 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleFBDialogimagesclose.png
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleFBDialog
目录 0 2015-11-22 21:20 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleFBDialogimages
文件 212 2013-11-01 16:19 __MACOSXInstagramFilters-masterFacebookSDKResources.bundleFBDialogimages._close.png
文件 2501 2013-11-01 16:19 InstagramFilters-masterFacebookSDKResources.bundleFBDialogimagesclose@2x.png
............此处省略315个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)