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

  • SEARCH
  • Home
  • 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 8561557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:31:36+00:00 2026-06-11T16:31:36+00:00

How to make the UNDO action in image processing? If I am change the

  • 0

How to make the UNDO action in image processing? If I am change the image position(Resize, Rotation, 3D Transform) then click UNDO button, I want the previous state of the image. How to do? Please give sample source code or give some idea about this. Thanks in advance.

  • 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-06-11T16:31:37+00:00Added an answer on June 11, 2026 at 4:31 pm

    Make a NSDictionary with all effects providing / or can be applid with your editor

    1. Store NSDictionary into an NSMutableArray with [lastEffectArray addObject:effectDictionary];
    2. If user presses UNDO, load and applied effectDictionary effects from lastEffectArray with key/value pair. Here, you can do two things :

    Can Remove last effectDictionary object from lastEffectArray or, Add it for REDO action into other array.

    Your effectDictionary should store each & every effects which can be available or applied with your editor. You can make some easy-to-use function to apply / remove effects!!!

    Lastly, don’t forget to [release] all effects Array & dictionaries.

    Note, This isn’t a solution, but can be implemented with own innovative logic.

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

Sidebar

Related Questions

I want to make one keystroke, say C-F12 , to do delete-other-windows or winner-undo
I want make undo/redo on pbitmap/canvas, but i have got problems with sending a
I make an app that have to printing image. I need to print image
I make a bot program and i want to send some keyboard keys between
Ok well I'm trying implement something similar to the 'undo' function in many image
I want to be able to make the changes to my .emacs file without
My problem: I want to make a lot of images that differ only in
Let's say I'm at state A in my document. I then make changes B,
I want to make the drawing surface of my app transparent so that the
i'm trying to make images on my site a bigger size if you click

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.