Page 1 of 1

0.98.1: Degraded HEIF performance for unicode files

Posted: Tue Feb 23, 2021 5:22 am
by zzqnsnna
XnView: MP 0.98.1 - 64-bit
OS: Windows 10 - 64-bit

Effect: I observed degraded HEIF performance if file name contains Unicode and windows settings "Language for non-Unicode programs" doesn't match file name characters. If I change "Language for non-Unicode programs" to match file name characters, the performance improved dramatically.

Attached thread dump in the degraded scenario. I guess there is a different branches in XnViewMP code base. If heif_context_read_from_file fails, it switches to transitional fget and causes the degraded decode performance.

Re: 0.98.1: Degraded HEIF performance for unicode files

Posted: Sat Feb 27, 2021 7:18 am
by xnview
right, the problem is that heif_context_read_from_file doesn't support unicode