Create a custom avatarThere were many ways to customize the avatar. There were some avatar custom-made software, such as Artisto.com, which used advanced artificial intelligence technology to transform avatars into beautiful hand-drawn works of art. It had a variety of hand-drawn styles, such as oil painting, watercolor painting, sketch, etc., and also supported the user to customize the style. The user could upload their favorite paintings for them to learn and imitate the style to generate a unique hand-drawn avatar. The operation interface was simple and easy to use. In addition, there was also a place that provided a large number of avatar resources, allowing users to freely choose photos to create avatars. At the same time, there were avatar sticker pendants and filter functions to embellish avatars to meet the needs of couples, boys, girls, and many other types of avatars. It was suitable for a variety of social application avatars. There were also those who provided surnames, but if they wanted to customize it privately, they might have to pay a fee. Some places could provide surnames for free, but they did not do private customizations. In addition, from the point of view of Feng Shui, one could also highlight certain body parts to receive energy support according to their own needs. However, one had to pay attention to the time limit, which was usually one to four weeks. The specific length could be calculated by the astrologer according to the five elements and aura.
The novel "Ledge" is equally exciting. Everyone is welcome to click and read it!
ios custom pixelationFor the custom-sized picture on the iPhone, the following code is needed to customize the resolution (800x800px) and the size (square) of the picture:
```
#import <AVFoundation/AVFoundation.h>
#import "UIImage+fixOrientation.h"
#define SCREEN_WIDTH (UIScreen mainScreen).bounds.size.width
#define SCREEN_HEIGHT (UIScreen mainScreen).bounds.size.height
//OCD's favorite
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
@interfaceViewController ()<UIImagePickerControllerDelegate,UINavigationControllerDelegate>
//Capture device, usually front camera, rear camera, microphone (audio input)
@property (nonatomic, strong) AVCaptureDevice *device;
//AvCaptureDeviceinput represents the input device. It uses AvCaptureDevice to initiate.
@property (nonatomic, strong) AVCaptureDeviceInput *input;
//Print image
@property (nonatomic,strong) AVCaptureStillImageOutput *imageOutput;
//session: He will combine the input and output together and start the capture device (camera)
@property (nonatomic, strong) AVCaptureSession *session;
//Image previews, displaying captured images in real-time
@property (nonatomic,strong) AVCaptureVideoPreviewLayer *previewLayer;
@property (nonatomic,strong) UIImage *image;
@property (nonatomic,strong) UILabel * msgLabel;
@end
- (void)viewDidLoad {
(super viewDidLoad);
// ---------------------------------
// ---------------------------------
(self setupUI);
// ---------------------------------
// ---------------------------------
(self cameraDistrict);
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
self.view.backgroundColor = (UIColor whiteColor);
//Device shooting begins
(self.session startRunning);
self.msgLabel.text = @"Prompt: click the photo button";
- (void)setupUI {
// ---------------------------------
// ---------------------------------UIButton * photoBtn = ((UIButton alloc) init);
photoBtn.frame = CGRectMake(SCREEN_WIDTH * 0.5 -50, SCREEN_HEIGHT - 200, 100, 100);
photoBtn.backgroundColor = (UIColor blackColor);
(photoBtn addTarget:self action:@selector(photoBtnDidClick) forControlEvents:UIControlEventTouchUpInside);
(photoBmn setTitle:@"Take a picture" forState: UIControl State Normal);
(self.view addSubview:photoBtn);
// ---------------------------------
// ---------------------------------self.msgLabel = ((UILabel alloc) init);
self.msgLabel.text = @"Prompt: click the photo button";
self.msgLabel.frame = CGRectMake(50,100, SCREEN_WIDTH, 100);
```
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
Webnovel yang bagus....seneng rasanya liat Xi Xinyi terbuka kedoknya... Han Yifeng....turut berduka untukmu....kau membuang berlian dan memungut pecahan kaca...