2 つの画像を結合したいのですが、BaseImages のサイズが 1280*1920 の場合、メソッドを使用して 1 つの画像に変換しましたが、新しい画像のサイズは 320*480 になります。元のピクセルとサイズが欲しい
私はこのコードを使用しました:
// ImageContainView - UIView that Contains 2 UIImageView. View size :- 320*480
UIImage *temp;
UIGraphicsBeginImageContext(imageContainView.bounds.size);
[imageContainView.layer renderInContext:UIGraphicsGetCurrentContext()];
temp = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();