Copy link to clipboard
Copied
I follwed the simple instructions in the help system to the letter. I make a selection using the rectangular marquee tool, but the Define Pattern menu item under the Edit menu is not enabled. What do I have to do to define a pattern? Why is such a simple thing so diffucult?
-Steve
..then why WOULDN'T inverting the selection delete everything that's not within the dashed border that you see?
I'm not saying it doesn't!
What I'm proposing is that some of the pixels WITHIN the marching ants selection you show might have some transparency in certain pixels that is causing Define Pattern to be unavailable.
Can you put that pattern over an area with dark and light values (NOT the transparency checkerboard you have) and re-post it?
Or better yet, Cmd+Click on the problem layer and S
...I know this is an old one, but in case anybody else has the problem and is seeking an answer not so far addressed, if you have 'Feather' selected (in other words, any option above 0 px) then 'Define Selection' isn't available.
Copy link to clipboard
Copied
Possibilities: You're in a modal state, you have no selection, the selection is too large, or you've reached the maximum number of pattern presets.
Copy link to clipboard
Copied
Thanks for taking the time to reply, Chris, but none of those apply. The selection is 31x31 pixels. The app is definitely not in a modal state. In fact, the Define Brush Presets item is enabled, but Define Pattern (just below it) is not. This is the first pattern preset I've tried to create, so I'm certainly not at the max. FWIW, I'm not a PS newbie. I've been using the app for nearly a decade. I just don't understand this behavior. Does the document have to be in a certain color mode or something?
Any other ideas? This is quite frustrating. I might be an update behind, so if this is an issue that's been addressed in a recent update, let me know.
-Steve
Copy link to clipboard
Copied
The only other things that can disable the new pattern command:
If the selection is discontiguous (not a single area).
If you have channels targetted other than the composite channels.
If you have a path active and visible.
If the document is 32 bit/channel.
Copy link to clipboard
Copied
Well, here's a real oddity. If I make the selection by command clicking - even if it's rectangular with no transparency and not discontinuous - the menu item remains disabled. If, however, I drag select the exact same region using the rectangular marquee tool, the menu item is enabled.
I even drag selected the region, inverted the selection, and then pressed delete to remove any trace of content outside the region. After doing that, command clicking to select still results in the menu being disabled.
Why? I don't understand. It seems that selecting the exact same region in two different ways yields two different results. Is that how it's supposed to be?
-Steve
Copy link to clipboard
Copied
I'm really not sure. I haven't been able to reproduce that problem so far, so it may depend on your document.
Copy link to clipboard
Copied
Hmm, I'm not able to reproduce either. Can you post the document in question with steps to reproduce? That may give us more clues.
Copy link to clipboard
Copied
> Can you post the document in question with steps to reproduce?
Sure, if you tell me how to post a document. I see no way to attach a file to a forum post.
😕
-Steve
Copy link to clipboard
Copied
Instructions for defining a pattern clearly states to select an area using the marquis tool.
So use the marquis tool to select the area to be used as the pattern.
In other words there is only one way to select the area t be defined as the pattern.
Copy link to clipboard
Copied
On May 17, 2011, at 11:54 PM, Wade_Zimmerman wrote:
In other words there is only one way to select the area t be defined as the pattern.
Copy link to clipboard
Copied
Yeah. It would be good to see what's special about the document, so if you can post, we can investigate.
Copy link to clipboard
Copied
Did you transform (scale) the pixels on the layer you want to define?
(I can duplicate what you are seeing, but it seems to be related to resampling introducing some semi-transparent pixels on the edge of the area to define.)
Copy link to clipboard
Copied
> Did you transform (scale) the pixels on the layer you want to define?
Nope.
-Steve
Copy link to clipboard
Copied
Well, here is how I’m duplicating what I think you are seeing:
• Create new doc 1000 X 1000
• Make new layer
• In new layer create 100 px X 100 px rectangular selection, fill with solid color
• Note now any method of selection will show Define Pattern
• Transform-Scale the new Layer 200 percent.
• Cmd+click selection of that layer has grayed out Define Pattern. But Magic Wand selection (at 32 tolerance) of same pixels shows Define Pattern available.
Copy link to clipboard
Copied
Well, here is how I’m duplicating what I think you are seeing:
Now proceed as I've described in my previous post (i.e. select with rectangular marquee, invert, delete) and see if command clicking still works.
-Steve
Copy link to clipboard
Copied
No. BUT if I do the same thing with rectangular selection just a few pixels inside the area (so that the semi-transparent pixels introduced in resampling get deleted) then Define Patern is availble.
I realy think this has to with the edge of semi-transparent pixels that can get introduced in resampling. But I'm not sure WHY! (or how much it realy matters.... )
Copy link to clipboard
Copied
I did some more testing...
Looks like Cmd+clicking selection respects partially transparent edge pixels, while Magic Wand (at default tolerance anyway) does not.
So, I bet dollars to donuts for some reason you have edges on the area you want to define that are not fully opaque.
Those semi-opaque edges probably make the selection look like it is not a true rectangle, so Define Pattern is unavailable.
Copy link to clipboard
Copied
On May 18, 2011, at 10:26 AM, charles badland wrote:
So, I bet dollars to donuts for some reason you have edges on the area you want to define that are not fully opaque.
Copy link to clipboard
Copied
I suppose that's possible, but then that raises another interesting question. Why would marquee selection + invert + delete NOT actually remove the pixels it should?
That would delete any non-contiguous pixels, but why do you think it that would affect some the the semi-opaque pixels on the edge?
Here is a very exaggerated example of what I think is happening. Note the edge pixels have some transparency:
Cmd+Clicking to select the gray square creates a selection retaining the transparency. The Rectangular Marquee and other selection tools do not.
Copy link to clipboard
Copied
That would delete any non-contigous pixels, but why do you think it that would effect some the the semi-opaque pixels on the edge?
Because if this is my selection made with the rectangular marquee tool...
...then why WOULDN'T inverting the selection and deleting remove everything that's not within the dashed border that you see?
-Steve
Copy link to clipboard
Copied
..then why WOULDN'T inverting the selection delete everything that's not within the dashed border that you see?
I'm not saying it doesn't!
What I'm proposing is that some of the pixels WITHIN the marching ants selection you show might have some transparency in certain pixels that is causing Define Pattern to be unavailable.
Can you put that pattern over an area with dark and light values (NOT the transparency checkerboard you have) and re-post it?
Or better yet, Cmd+Click on the problem layer and Save that selection. Then post its alpha channel.
Copy link to clipboard
Copied
Ohhhh, I see what you're saying now!! I'm embarrassed to admit that it didn't occur to me to simply change the info panel to opacity and hover over the edge pixels!
Indeed you are correct! That's the issue! Some of the edge pixels are less than 100% opacity!
Thank you for using Drain-O on my mental block! Sorry to have wasted so much time on this.
-Steve
Copy link to clipboard
Copied
Ohhhh, I see what you're saying now!! I'm embarrassed to admit that it didn't occur to me to simply change the info panel to opacity and hover over the edge pixels!
Good idea! I should have suggested using Eyedropper for Opacity earlier.
But this was new to me too. I did not know Photoshop behaved this way until I started poking around trying to figure out your problem!
Always something to learn....
Copy link to clipboard
Copied
If it doesn't work for command clicking one layer - there are probably some non-transparent pixels in a location you don't realize. That would create a non-contiguous selection...
Copy link to clipboard
Copied
If it doesn't work for command clicking one layer - there are probably some non-transparent pixels in a location you don't realize. That would create a non-contiguous selection...