• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
12

Special Gradient Map breaks Photoshop 25.1 and makes files unreadable

Participant ,
Oct 26, 2023 Oct 26, 2023

Copy link to clipboard

Copied

Warning! This is a serious bug. If you trigger this error in PS 25.1 it stops responding.

If you save the file with Gradient Map settings described below in a previous version of Photoshop, and try to open in 25.1 it shows "Could not open "file.psd" because of a program error." or the canvas stops refreshing.

 

Steps to reproduce (in Photoshop 25.1, 4K screen):

  1. Create an empty document, any size (let's say 50x50 px), 8-bit, RGB.
  2. Create new adjustment layer, Gradient Map
  3. Make sure you have "Navigator" panel opened - it makes reproducing this bug easier.
  4. Open Gradient Editor, choose "Foreground to Background" preset and click on the leftmost gradient point
    DiodorS_0-1698356612420.png
  5.  Click on the midpoint slider and type in 95 in the Location field
    DiodorS_1-1698356711496.png
  6. Again, click on the leftmost color slider (black) and type in Location 80. Important - type in, don't use the mouse to drag the slider!
    DiodorS_2-1698356793188.png
  7. Now comes the funny part. Using a mouse click on the rightmost color slider (white) and drag it over the black color slider, so that the location says 80. The funny part is that the location says 80 in three slightly different places.

    Just to the right of the "real" 80 - the Navigator window shows white color:
    DiodorS_3-1698357024293.png

    Just on top of the "real" 80, the Navigator window shows gray color:

    DiodorS_4-1698357125928.png

    Just to the left of the "real" 80, the Navigator window shows black color:

    DiodorS_5-1698357152284.png
  8. Make sure, you are in the state where the Navigator shows gray color.
  9. Click OK. CAUTION! Photoshop 25.1 will stop responding.
  10. Photoshop 25.0, and previous versions, work fine. But if you save such a file and open it in 25.1 you will get a program error and the file does not open at all.

    Fun fact: internally, Photoshop stores locations as 16-bit integer from range 0...4096, but displays the value as 8-bit from range 0..100. That's why there can be many locations that maps back to the same displayed value. For the example above, the gradient map config was represented as:

 

 

[{
 "csLocation": 3277,
 "csMidpoint": 50,
 "csModeOfColorToFollow": 0,
 "csColors": [0, 0, 0, 0],
 "nTransparenctStops": 0
},
{
 "csLocation": 3282,
 "csMidpoint": 95,
 "csModeOfColorToFollow": 0,
 "csColors": [65535, 65535, 65535, 0],
 "nTransparenctStops": 0
}]

 

 

Note that 3277/4096*100=80.00488 and 3282/4096*100=80.12695, which are very close. (yep, I wrote a parser xD)

 

Expected result: it works xD
Version: Photoshop 25.1, Photoshop Beta 25.2 (works fine in <=25.0)

Platform and OS version: Windows 10, x64

TOPICS
Windows

Views

490

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Participant ,
Oct 26, 2023 Oct 26, 2023

Copy link to clipboard

Copied

@CoryShubert PTAL, thx

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

Just to clarify point 10: Photoshop 25.0, and previous versions, work fine. But if you save such a file and open it in 25.1 you will get a program error  >> and the file does not open at all. <<

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 28, 2023 Oct 28, 2023

Copy link to clipboard

Copied

Still present in the newest beta: Adobe Photoshop Version: 25.2.0 20231024.m.2374 4ab9439 x64

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 04, 2023 Nov 04, 2023

Copy link to clipboard

Copied

Still present in the newest beta: 25.2.0 20231101.m.2385 38bb2d3 x64

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 09, 2023 Nov 09, 2023

Copy link to clipboard

Copied

Same here on 25.1. This is a major issue. I have some actions that use a gradient map and not only does it not work, but ANY file I try and open that has a gradient map like this on on it will throw an error and Photoshop will not even open the file.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 09, 2023 Nov 09, 2023

Copy link to clipboard

Copied

I'm having the same issue using some actions that rely on gradient maps to visualize luminocity. They will not show up at all although the action itself runs without stopping or displaying an error. When I attempt to open the properties of the layer I get a generic error. In addition I cannot zoom in or out at all once the error occurs. This is completely stopping me from using several different methods of editing and is a major problem with the current update. I certainly hope they will have this resolved soon. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 09, 2023 Nov 09, 2023

Copy link to clipboard

Copied

Adobe, do you acknowledge the issue? Are you working on a solution?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 09, 2023 Nov 09, 2023

Copy link to clipboard

Copied

I "solved" the problem by modifying the gradient map parameters in a hex editor, directly in the PSD file. I just couldn't get the UI to work 😕

 

As long the midpoint is not 95 it works. Try changing it to 90 in PS 2023 if you can accept a slight visual difference.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 09, 2023 Nov 09, 2023

Copy link to clipboard

Copied

I use pretty specific gradients. Might be able to tweak a little. But the biggest problem is any files that have these gradient maps won't even open. This is a pretty major bug to add into a release.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 16, 2023 Nov 16, 2023

Copy link to clipboard

Copied

Still not fixed in Beta: Adobe Photoshop Version: 25.3.0 20231108.m.2393 1585851 x64

No acknowledment either. CC: @Pete.Green @Rikk Flohr: Photography kindly asking to take a look.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 18, 2023 Nov 18, 2023

Copy link to clipboard

Copied

Fixed in Beta Adobe Photoshop Version: 25.3.0 20231116.m.2403 015fdfa x64

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 20, 2023 Nov 20, 2023

Copy link to clipboard

Copied

Hopefully we see this soon in the public build.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 13, 2023 Dec 13, 2023

Copy link to clipboard

Copied

LATEST

I am having the same issue. Specific gradient maps are not showing. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines