Page 1 of 1

XnConvert "Preserve Extension" Not Working

Posted: Sat Feb 02, 2019 4:45 am
by toodles
When batch converting images to webp, the extension is always changed to .webp even when this option is checked.

Using XnConvert Version 1.79 - windows x64 (Jan 30 2019) - Libformat version 7.25.

Thanks for any help anyone can offer.

Re: XnConvert "Preserve Extension" Not Working

Posted: Mon Feb 04, 2019 7:48 am
by xnview
which input filename do you use?

Re: XnConvert "Preserve Extension" Not Working

Posted: Mon Feb 04, 2019 9:37 am
by toodles
Happens with any filename. I've been using "Add Folder..." and the "Delete Original" is also checked.

Example: test.png file that I want converted to a webp, but to remain "test.png" will be "test.webp" after conversion.

Re: XnConvert "Preserve Extension" Not Working

Posted: Mon Feb 04, 2019 11:38 am
by xnview
what do you have as output filename?

Re: XnConvert "Preserve Extension" Not Working

Posted: Mon Feb 04, 2019 8:58 pm
by toodles
The default "{Filename}"

Re: XnConvert "Preserve Extension" Not Working

Posted: Tue Feb 05, 2019 8:57 am
by xnview
toodles wrote: Mon Feb 04, 2019 8:58 pm The default "{Filename}"
I've tried and it works correctly. Could you post a screenshot of Output tab?

Re: XnConvert "Preserve Extension" Not Working

Posted: Tue Feb 05, 2019 9:23 am
by toodles
Here you go:
Image

Re: XnConvert "Preserve Extension" Not Working

Posted: Tue Feb 05, 2019 9:33 am
by toodles
And here's all this too just to make sure I'm not doing something stupid. Thanks for your help
Image

Re: XnConvert "Preserve Extension" Not Working

Posted: Tue Feb 05, 2019 9:58 am
by xnview
sorry i had not understand, why do you want to keep .jpg for .webp?
'Preserve extension' is only to keep extension if format is not changed, for example .jpeg and not change to .jpg

Re: XnConvert "Preserve Extension" Not Working

Posted: Tue Feb 05, 2019 10:50 am
by toodles
I use webp for making images in visual novels smaller. The exact filename and extension must be unchanged for it to work. Otherwise, have to re-write the scripts with new extensions on sometimes thousands of images.

Re: XnConvert "Preserve Extension" Not Working

Posted: Fri Feb 08, 2019 3:37 am
by toodles
I totally understand if this was not what you intended this function to do, but would be very helpful to many people if it worked as stated. Thanks again for your time, and the great program you've made. Really appreciate it.

Re: XnConvert "Preserve Extension" Not Working

Posted: Sat Jun 19, 2021 3:57 am
by smollvrn
Bulk Rename Utility can chagne extension for renpy games