0
\$\begingroup\$

I have a C# windows application where I display photos for editing. The displayed image is scaled to fit the screen. I allow pan, zoom, rotate, crop operations. Once the editing is done, I would like to print. Now since the displayed image is scaled before any of these operations, how can I print the photo correctly?

  • one option is to do the operations on the original image and then scale it and display it.

Is it what is normally done?

\$\endgroup\$

closed as off-topic by Josh Dec 11 '15 at 16:49

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Programming questions that aren't specific to game development are off-topic here, but can be asked on Stack Overflow. A good rule of thumb is to ask yourself "would a professional game developer give me a better/different/more specific answer to this question than other programmers?"" – Josh
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    \$\begingroup\$ Have you tried to implement the method you described? \$\endgroup\$ – Seth Battin Jun 30 '15 at 0:47
  • 1
    \$\begingroup\$ I'm voting to close this question as off-topic because it has nothing to do with GameDev \$\endgroup\$ – Kromster Jun 30 '15 at 14:08
1
\$\begingroup\$

What I would do, is load two copies of the image into memory.

One of the copies would be used to display a preview to the user, the other would be used to apply the edits made.

Once the user is happy with their edits, offer to save the new image from memory to disk.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.