hi,how to blend different size image?

4 replies [Last post]
lovesunset
User offline. Last seen 8 years 39 weeks ago. Offline
Joined: 08/18/2012
Posts:

hi,I'm new to GPUImage Framework! I have a question , when I blend two different size image, the overlay scale to base image's scale. So the overlay image looks ugly! Anyone have solve this issue? How ? Thanks!

penep
User offline. Last seen 8 years 40 weeks ago. Offline
Joined: 08/19/2012
Posts:

Hi, BradLarson, really nice framework. I have the same question. I want to blend to different size images. the smaller one is on top. I also want to control the size and position of the top images. Is it possible using current framework? Thanks

Brad Larson
Brad Larson's picture
User offline. Last seen 4 years 22 weeks ago. Offline
Joined: 05/14/2008
Posts:

I don't have a great way of doing this right now, but you can look at using a transform on the image, using a transparent background color, to resize it relative to the output image.

penep
User offline. Last seen 8 years 40 weeks ago. Offline
Joined: 08/19/2012
Posts:

Thanks. I will give it try and post back if i get something.

lovesunset
User offline. Last seen 8 years 39 weeks ago. Offline
Joined: 08/18/2012
Posts:

Thanks for your replay! I'll try it! Great work!

Syndicate content