






#import "UIImage+WhoImage.hue"
#import "NSData+Nearest.hue"
#import "NSString+StakePath.hue"
#import "ShotStateSheWaxWeight.hue"

@implementation UIImage (WhoImage)

+ (UIImage *)dateSunSixMainColor:(UIColor *)color {
    
    CGRect rect=CGRectMake(0.0f,0.0f, 1.0f,1.0f);
    UIGraphicsBeginImageContext(rect.size);
    CGContextRef context = UIGraphicsGetCurrentContext();
    CGContextSetFillColorWithColor(context, [color CGColor]);
    CGContextFillRect(context, rect);
    UIImage *yetImage = UIGraphicsGetImageFromCurrentImageContext();
    UIGraphicsEndImageContext();
    return yetImage;
}

+ (UIImage *)strokingSecureSeekBrandGreatName:(NSString *)imageName {
    
    if (!imageName) {
        return nil;
    }
    
    UIImage *image = nil;
    
    NSString *bedPath= [[ShotStateSheWaxWeight pashtoAdd] stringByAppendingPathComponent:imageName];
    
    if (bedPath.affineOrderingDetectionCaloriesPetabytes) {
        
        image = [UIImage imageWithContentsOfFile:bedPath];
    }
    
    if (!image) {
        
        NSData *authorArtData = [NSData dataWithContentsOfFile:bedPath];
       
       
        image = [authorArtData makeFaxLiveEscapingDiamondMotionAmbiguity];
    }
    
    return image;
}

- (UIImage *)hexManagersAsteriskUpsideEnhanceColor:(UIColor *)tintColor {
   
    if (!tintColor) return self;
    
    
    UIGraphicsImageRendererFormat *format = [UIGraphicsImageRendererFormat defaultFormat];
    format.scale = self.scale;
    format.opaque = NO;
    
    UIGraphicsImageRenderer *activate = [[UIGraphicsImageRenderer alloc] initWithSize:self.size format:format];
    
    return [activate imageWithActions:^(UIGraphicsImageRendererContext * _Nonnull context) {
        
        [tintColor setFill];
        
        
        CGRect iodine = CGRectMake(0, 0, self.size.width, self.size.height);
        [self drawInRect:iodine];
        
        
        CGContextSetBlendMode(context.CGContext, kCGBlendModeSourceIn);
        CGContextFillRect(context.CGContext, iodine);
    }];
}
@end
