Photoshop: Incorrect cropping of "Define Pattern" in 32-bit mode in some cases.

  • 3
  • Problem
  • Updated 5 years ago
  • Solved
  • (Edited)
Incorrect cropping of "Define Pattern" in 32-bit mode in some cases.

Reproduce steps:

- Create a new 32-bit image with size 32x32px.
- Fill it white.
- Select the right-most pixel column (x = 31, y = 0..31) and the botto-most row (y = 31, x = 0..31) and fill them black.
- Select everything (32x32) with the selection tools.
- Edit > Define Pattern:

Expected: I see a 32x32 pattern in the preview.

Actual: I see a cropped 1x32px pattern which isn't what I selected.
Photo of Stan V.

Stan V.

  • 48 Posts
  • 0 Reply Likes
  • amused

Posted 7 years ago

  • 3
Photo of conroy

conroy

  • 40 Posts
  • 5 Reply Likes
Problem is also in 16-bit mode.
Photo of Stan V.

Stan V.

  • 48 Posts
  • 0 Reply Likes
Thank you, confirmed in 16-bit too (identical repro). Not in 8-bit.
Photo of Stan V.

Stan V.

  • 48 Posts
  • 0 Reply Likes
What happened. It's been almost a month.

Adobe stopped processing bugs from this forum?
Photo of conroy

conroy

  • 40 Posts
  • 5 Reply Likes
Is this problem going to be acknowledged by Adobe, at least?

Pattern definition also malfunctions in 8-bit grayscale mode, by the way.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
I can't get it to malfunction in 8 bit - only 16 and 32 bit (the auto repeat detection code was not correctly modified for anything greater than 8 bit/channel).
Photo of conroy

conroy

  • 40 Posts
  • 5 Reply Likes
You said the same to me two days ago in the Photoshop forum where I post every day, so I twice provided you a link to a post with a reproducable example of a pattern definition error in 8-bit grayscale mode. Third time lucky, maybe: http://forums.adobe.com/message/5050124
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
And I still can't reproduce that. In 8 bit it still works.
Photo of Stan V.

Stan V.

  • 48 Posts
  • 0 Reply Likes
Conroy, I don't think your forum post has enough specifics. You're obviously having a problem, but you'll need to be very very specific about the pattern and file. It's best to create a file with the problematic pattern and upload it somewhere so everyone can test.

Also be specific about the exact Photoshop version you have, and which OS you're running on OS X or Windows (also the exact version of OS X or Windows you have).

I'm not an Adobe employee, but I'm a developer, and so I know some of these problems can get very specific depending on your setup.
Photo of conroy

conroy

  • 40 Posts
  • 5 Reply Likes
Stan,

"you'll need to be very very specific about the pattern and file."

Look at the screenshot by mcgraphic in the first post of the thread to which I linked. The document view is zoomed to 100% and shows the design being sourced for a pattern. The document tab clearly says 8-bit grayscale. The resulting pattern definition is shown, too. I was able to replicate that document and resulting erroneous pattern definition in a few seconds with no difficulty.

"be specific about the exact Photoshop version you have, and which OS you're running"

The error occurs consistently (i.e. at every attempt) in Photoshop 13.0.1 and 12.1.1 on OS X 10.6.8.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
Still can't reproduce it. And you should be on 13.0.4.
Photo of conroy

conroy

  • 40 Posts
  • 5 Reply Likes
Chris,

"And I still can't reproduce that. In 8 bit it still works."

I specifically wrote "8-bit grayscale" twice, above. It's not clear whether you've tried 8-bit g-r-a-y-s-c-a-l-e.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
I'm trying to follow your steps as stated. If you've left something important out of your steps needed to reproduce the problem, please let us know.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 15339 Posts
  • 2228 Reply Likes
Thanks. We're looking into it.
Photo of conroy

conroy

  • 40 Posts
  • 5 Reply Likes
Thanks! I'm pleased to see it has become marked In Progress now.
Photo of Dan Smith

Dan Smith

  • 225 Posts
  • 19 Reply Likes
Just so everyone knows, this issue has been there for years, not just in the latest versions of photoshop.

(i was reading an old photoshop book from the library dated 1998 and that was mentioned as a problem in the grayscale mode)

The way around it as explained in above book is to make the document bigger than the pattern and then just select the area to define as the pattern.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 15339 Posts
  • 2228 Reply Likes
Dan, that's correct. Looks like its been there since 32-bit layer support went in. Thanks for the workaround suggestion.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
Actually, it's been there since 16 bit support for patterns was added.
Photo of conroy

conroy

  • 40 Posts
  • 5 Reply Likes
Chris,

"you should be on 13.0.4."

I'd use 13.0.4 and risk breaking things that work in 13.0.1 if there was information on the fixes in 13.0.4 or 13.0.3 or 13.0.2 for problems in 13.0.1.

(Retina support is of no interest to me.)
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
If you're on MacOS (and I think you are): 13.0.4 fixes the licensing bug, 13.0.2 and 13.0.3 fix many other bugs.
Photo of Stan V.

Stan V.

  • 48 Posts
  • 0 Reply Likes
Chris, somewhere between 13.0.2 and 13.0.4 a new bug was also introduced, a quite nasty text size calculation bug (which I reported about a month ago), which makes life for web developers and app developers very hard, if they try to use PSD for reference in turning typography settings to CSS, for example.

And no one is looking into this right now, because your "text guy" is on vacation, I was told. Link:

http://feedback.photoshop.com/photosh...

So things are complicated with 13.0.4.
Photo of conroy

conroy

  • 40 Posts
  • 5 Reply Likes
Chris,

"13.0.4 fixes the licensing bug,"

I think everyone knows about that one bug fix which is not a fix relative to 13.0.1.
The licensing bug wasn't in 13.0.1, which is the version that I still use. It was introduced by 13.0.2, so a fix for that is irrelevant to anyone who hasn't gone beyond 13.0.1.

"13.0.2 and 13.0.3 fix many other bugs."

I've seen you write that before, but nobody at Adobe will say what any one of these many fixes are and, as far as I've noticed, no user at the general Photoshop forum has mentioned a 13.0.1 bug being fixed.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
We don't list every single bug fix - that would be insane.
Photo of conroy

conroy

  • 40 Posts
  • 5 Reply Likes
Chris,

"We don't list every single bug fix - that would be insane."

You list one when there's many. That seems closer to insane than listing many when there are many.

Maybe you are unaware of what many other software providers do. Especially when the software costs around $1000 and above. They list every bug fix and every change that's in an update. Do I need to spell out the value of such information to users?
Photo of conroy

conroy

  • 40 Posts
  • 5 Reply Likes
"We don't list every single bug fix - that would be insane."

Not every, you say?

Adobe didn't list even one fix for 13.0.2 and 13.0.3 and 13.0.4 relative to 13.0.1.

And I've seen no user mentioning their encountering a fix - just complaints of features going missing and becoming broken.
Photo of conroy

conroy

  • 40 Posts
  • 5 Reply Likes
8-bit Lab and 8-bit Grayscale problem, too.

IMPORTANT: Use the attached test image as pattern source.

Pattern definition malfunctions in:

8-bit Lab
8-bit Grayscale

Open the attached 450 x 400 pixels 8-bit RGB PNG in Photoshop.
I used versions 13.0.1 and 12.1.1 on OS X 10.6.8..

Convert to 8-bit Lab.
Define Pattern will malfunction, defining only a few columns of the source design.

Convert to 8-bit Grayscale.
Define Pattern will malfunction as above.

Photo of conroy

conroy

  • 40 Posts
  • 5 Reply Likes
The damned forum software converts my PNG from RGB to Bitmap.
The image can still be used, though.
First convert to 8-bit Grayscale then try Define Pattern.
Then convert to 8-bit Lab then try Define Pattern.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
OK, it did reproduce in LAB. I'll take a look and see what's happening.
Photo of Stan V.

Stan V.

  • 48 Posts
  • 0 Reply Likes
I did reproduce in 8-bit grayscale as well.

It's very specific to the exact pixels of the image.
Photo of Stan V.

Stan V.

  • 48 Posts
  • 0 Reply Likes
BTW I did reproduce in 13.0.4, Snow Leopard OS X.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 15339 Posts
  • 2228 Reply Likes
Official Response
32-bit support for patterns added in 14.0 or later.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
Fixed in 14.0 and later (support was added in earlier versions, but had an interesting bug).