mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-21 05:45:13 +00:00
19 lines
476 B
Objective-C
Executable file
19 lines
476 B
Objective-C
Executable file
//
|
|
// UIImage+OSKUtilities.h
|
|
// Overshare
|
|
//
|
|
// Created by Jared Sinclair 10/29/13.
|
|
// Copyright (c) 2013 Overshare Kit. All rights reserved.
|
|
//
|
|
// Based on code by Ole Zorn (https://gist.github.com/omz/1102091)
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface UIImage (OSKUtilities)
|
|
|
|
+ (UIImage *)osk_maskedImage:(UIImage *)image color:(UIColor *)color;
|
|
+ (CGFloat)osk_recommendedUploadQuality:(UIImage *)image;
|
|
+ (BOOL)osk_imageSizeIsLikelyADeviceScreenShot:(CGSize)size;
|
|
|
|
@end
|