cupscale icon indicating copy to clipboard operation
cupscale copied to clipboard

Disabled suffix causes new file to be created with the extension shown twice at the end of the name

Open RocketRobz opened this issue 4 years ago • 4 comments

When I enable Yes - Don't add suffix, Overwrite If Extension Matches, and then do an upscale process, a new file is created with the extension shown twice at the end of the filename.

Ex. texture.png should be overwritten, but a new file called texture.png.png is created instead.

RocketRobz avatar Aug 28 '21 05:08 RocketRobz

Can't reproduce this on the latest code...

n00mkrad avatar Aug 31 '21 07:08 n00mkrad

Still happens on 1.39.0. For further context, this happens with both PNG and Same as source set as output format, and occurs with any filename, such as tex1_128x128_5A7AFE0A68F7494A_2.png or just simply test.png.

RocketRobz avatar Sep 08 '21 06:09 RocketRobz

Hmm, it seems to be caused by setting AI Network to ESRGAN (NCNN). With RealESRGAN (NCNN), the filename is proper, and cannot be reproduced.

RocketRobz avatar Sep 08 '21 06:09 RocketRobz

That's pretty odd, I'll take a look at it.

n00mkrad avatar Sep 08 '21 09:09 n00mkrad