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

When exporting to a file with a name ending in a full stop, Photoshop creates two files...

Explorer ,
Nov 13, 2023 Nov 13, 2023

When using Quick Export (I have not tested other export engines), when saving a file with a name that ends in a full stop, thus resulting in two dots in a row before the file extension, Photoshop saves out one empty file with the proper name, and one file replacing the first of the two dots with an underscore (_) with the actual file content.

For instance, exporting "full stop..png" will result in:
full stop..png (0 bytes)
full stop_.png (actually containing what the above SHOULD contain)

Note: Before someone comes in with apologetics telling me that Adobe can do no wrong and never has bugs and that a file should not end with "..png" etc, just don't. That's incorrect, as evidenced by the fact that it DOES in fact make a file with that name, but writes to the wrong file. (Also as evidenced by the fact that it's just not an invalid filename and so don't make things up, K.)

This is a bug and needs to be fixed.

TOPICS
macOS
276
Translate
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
Community Expert ,
Nov 13, 2023 Nov 13, 2023
LATEST

@TheeDodger 

 

What version of Photoshop and which version of the Mac OS are you using and also is it Intel or Sili...

 

On Photoshop 2021 (22.5.9) and Intel Monterey 12.7.1, when I Export As or Quick Export the following source file:

 

questionable-filenaming-practice..png

 

I get a single file:

 

questionable-filenaming-practice_.jpg

 

Where the double consecutive periods are replaced with an underscore, then the correct period and extension.

 

In Export As, even if I rename the underscore to be a double period, it still exports as _.jpg with no double file created.

 

The Save for Web (Legacy) code did have filename options to shape the name for compatibility with Mac/Win/Unix file systems, however, Adobe did away with those options for Export As and it is hard coded to change the filenames to remove inappropriate characters for a generic filename suitable for all operating systems.

 

EDIT:

I just tested on the same Mac with Photoshop 2024 (25.1.0) and have the same result as above, a single file.

 

Translate
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