<commit_before># PKCCrop



[![Version](https://img.shields.io/cocoapods/v/PKCCrop.svg?style=flat)](http://cocoapods.org/pods/PKCCrop)
[![License](https://img.shields.io/cocoapods/l/PKCCrop.svg?style=flat)](http://cocoapods.org/pods/PKCCrop)
[![Platform](https://img.shields.io/cocoapods/p/PKCCrop.svg?style=flat)](http://cocoapods.org/pods/PKCCrop)

## example Image

<img src="./img.gif" width="200"/>


![image](./image1.png)
![image](./image2.png)
![image](./image3.png)

![image](./pkc_crop_rotate_left.png)
![image](./pkc_crop_rotate_right.png)

## Example

To run the example project, clone the repo, and run `pod install` from the Example directory first.

<br><br>

### - ViewController
~~~~

PKCCropHelper.shared.degressBeforeImage = UIImage(named: "pkc_crop_rotate_left.png")
PKCCropHelper.shared.degressAfterImage = UIImage(named: "pkc_crop_rotate_right.png")
PKCCropHelper.shared.isNavigationBarShow = false
let cropVC = PKCCrop().cropViewController(UIImage(named: "image.jpeg")!)
cropVC.delegate = self
self.present(cropVC, animated: true, completion: nil)

~~~~
<commit_msg>image license<commit_after># PKCCrop



[![Version](https://img.shields.io/cocoapods/v/PKCCrop.svg?style=flat)](http://cocoapods.org/pods/PKCCrop)
[![License](https://img.shields.io/cocoapods/l/PKCCrop.svg?style=flat)](http://cocoapods.org/pods/PKCCrop)
[![Platform](https://img.shields.io/cocoapods/p/PKCCrop.svg?style=flat)](http://cocoapods.org/pods/PKCCrop)

## example Image

<img src="./img.gif" width="200"/>


![image](./image1.png)
![image](./image2.png)
![image](./image3.png)

![image](./pkc_crop_rotate_left.png)
![image](./pkc_crop_rotate_right.png)

[https://icons8.com/](https://icons8.com/)

## Example

To run the example project, clone the repo, and run `pod install` from the Example directory first.

<br><br>

### - ViewController
~~~~

PKCCropHelper.shared.degressBeforeImage = UIImage(named: "pkc_crop_rotate_left.png")
PKCCropHelper.shared.degressAfterImage = UIImage(named: "pkc_crop_rotate_right.png")
PKCCropHelper.shared.isNavigationBarShow = false
let cropVC = PKCCrop().cropViewController(UIImage(named: "image.jpeg")!)
cropVC.delegate = self
self.present(cropVC, animated: true, completion: nil)

~~~~

{'fraction_non_alphanumeric': 0.18811881188118812, 'fraction_numerical': 0.0063006300630063005, 'mean_word_length': 6.079617834394904, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4239751', 'n_tokens_mistral': 884, 'n_tokens_neox': 844, 'n_words': 110}