Home » IOS » Create new Image using existing image in IOS
IOS

Create new Image using existing image in IOS

xcode closeup

Create new image in IOS using the existing images using the following code

Here ‘bottomImage’ is the main Background image
‘image’ is the foreground image to be placed on the background image.
‘newSize’ is the size of the new image where the new image will have the size of background image

Also here the foreground image is placed at the right top corner of the background image with a semi transparent overlay

After all ‘newImage’ will contains the newly created image.

Thanks.

About the author

Vipin

Hi, i am Vipin, a programmer working in Dubai, UAE. I love blogging, and so started TechRounder for sharing my findings and other digital informations with others too. Please feel free to share your feedback with me in the comment section below or you can email me at vipin@techrounder.com.

Add Comment

Click here to post a comment

Your email address will not be published. Required fields are marked *

Get latest updates
in your inbox

Subscribe to TechRounder mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.