Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
UIImage を CGImageRef に変換する必要がある Iphone アプリを作成しています。これを行う方法がわかりません。助けていただければ幸いです。私は画像を扱う背景がありません... :)
オブジェクトimage.CGImageがどこにimageあるかと同じくらい簡単です。UIImage
image.CGImage
image
UIImage
CGImageRef cgImage = [someImage CGImage];
UIImage から CGImage を取得するには、次のように記述します。
CGImage imageRef = imageObject.CGImage