Blending with GPUImage: How to control the position of the second image on top of the first
问题 I use the following code to blend two images using GPUImage framework by Brad Larson. Is there a way to control the position of the topImage relatively to the baseImage? Now, it places topImage on the middle of baseImage. GPUImageMultiplyBlendFilter *overlayBlendFilter = [[GPUImageMultiplyBlendFilter alloc] init]; GPUImagePicture *pic1 = [[GPUImagePicture alloc] initWithImage:baseImage]; GPUImagePicture *pic2 = [[GPUImagePicture alloc] initWithImage:topImage]; [pic1 addTarget