Search code examples
iosobjective-cgpuimagenine-patch

Frame image Broken in objective c



I'm a newbie IOS developer. Today I made an app in order which adds frames to images. However, I encounter a problem when I blend two images together.
My frame design is a Rectangle and my main Image is a Rectangle (horizontal, vertical) or a square. When I blend two images together, my frame breaks because the 2 images are not same size.
If you could help me solve this issue or share any resources you have that would be greatly appreciated.
I am using GPUImage to blend the 2 images. I have also tried nine-patch (9-patch) and images vector but I have not been successful with either...
https://forumhumgeduvn.000webhostapp.com/qe/a.html Thank you for reading.


Solution

  • Cut frame with CGmake and eidt it.