Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3492524
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:46:08+00:00 2026-05-18T11:46:08+00:00

I am looking for a way to, in Objective-C, create a PNG from several

  • 0

I am looking for a way to, in Objective-C, create a PNG from several smaller PNGs based on how the user sets things up. Is this possible using existing Apple classes, or do I need to use a 3rd party library? If 3rd party code is needed, can anyone recommend a good library? The simpler the better – simple filters (such as darkening/lightening the image) would be nice but not required.

Here is some pseudo-code, to give you a better idea of what I am looking for:

image = [myImageLibrary imageWithHeight:1024 width:768];
[image addImage:@"background.png" atX:0 andY:0 withRotation:0];
[image addImage:@"image2.png" atX:100 andY:200 withRotation:90];
[image saveAtLocation:@"output.png"];

At output.png we see image2.png placed on top of background.png and rotated 90 degrees

P.S. – I am sorry if this seems to be a duplicate of another question, I just have not found an answer that works for what I am trying to do.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T11:46:08+00:00Added an answer on May 18, 2026 at 11:46 am

    Have you read the “Creating and Drawing Images” section of the Drawing and Printing Guide for iOS and the UIImage Class Reference docs?

    What you’re after is perfectly possible – with a well built class you could pretty much use that pseudo code as-is.

    As a starter for ten, you could:

    1. Create your own graphics context via UIGraphicsBeginImageContext.
    2. Draw into that via the drawAtPoint: method of the UIImage class
    3. Save the resultant image data out via UIGraphicsGetImageFromCurrentImageContext.

    In terms of steps 1 and 3, see the UIKit Function Reference for more info. Additionally, the imageWithCGImage:scale:orientation: method of the UIImage class may prove useful for performing transformations, etc. as a part of step 2.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a way to dynamically create NSString objects in objective C based
I've been looking for a way to call Objective-C code from some JavaScript in
I've just begun Objective-C and am looking to find a way to create an
I looking for a way to create Delta Diff Patches of Large Binary Files
While looking for a way to temporarily save the search results when a user
I am looking for a way to get (and set) the wallpaper in objective
Is there a way to find a Zombie at runtime in objective-c? I'm looking
Looking for some help on the best way to create a custom UIActivityIndicator. I
I am looking for a way to do this in C#: an Asker object
I'm looking for a good way in Objective-C to replace the last comma in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.