Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm editing comic pages with layers - "background", "foreground", "lineart" and "over lineart".

I have a Photoshop action that includes a Mode->Bitmap command, which requires the image to be flattened. I need this part of the action because I use the Halftone Screen method of reducing the greyscale image to bitmap on the "background" layer, creating a certain effect. I am pretty sure there is no filter or anything else that gives the same effect. After the mode is changed to bitmap, my action changes things back to greyscale for further changes.

This poses a problem. I only want to do the bitmap mode change on the background layer, and after I do the change I want to restore the layer structure as it was - with the foreground, lineart and over lineart layers back above the now-halftoned background.

My current method of saving these layers and restoring them is clumsy. My action is able to automatically save the "foreground" layer by selecting it, cutting it, then pasting it back in after the mode changing is over. But, for the "ink" and "over ink" layers, I have to manually cut these layers, paste them into a new document, and later re-cut and re-paste after running my action. This is so clunky!

What I would like to know is if it's possible to set aside my layers in an automated way, and then bring them back in, also in an automated way.

An ugly (but functional) solution would be to replicate my actions of creating new documents and pasting them temporarily there, but I don't think Photoshop allows you to do things outside of your current document with an action. It seems to me that the only way to do what I want is to use the "hack" of incorporating the clipboard into the action as a clever hack, but that leaves me stuck as I have two more layers that can't fit onto that same clipboard.

Help or suggestions would be appreciated. I can keep on doing it manually, but to have a comprehensive action would save me a ton of time.

share|improve this question
add comment

3 Answers

Have you considered working with snapshots? I imagine the following could do what you want:

  • Build your layer structure up to the point where you want to "bitmap" the background
  • Make a snapshot (Camera button in the History palette)
  • Delete all layers but the the background layer
  • Mode -> Bitmap
  • Select all, copy
  • Return to snapshot
  • replace old background with new version
share|improve this answer
add comment

Sheepishly, I must admit that the solution was something I didn't think worked—actions will kind of reliably work making new documents, doing stuff in them, closing them, etc, as long as you have no other documents open. So I just do that now. Pasting the contents back into my original document often means things end up off-centre, but that's manually corrected and it's not too bad.

share|improve this answer
add comment

Maybe not the most helpful, but you can alt-click "Duplicate Image" to get an exact dupe of everything in a new document window. There you could convert things as needed, without regard to saving layers, and copy/paste the converted image back to the first window on whatever layer you'd like.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.