Image viewer is unable to open some icon files properly, while Viewer pane is able to

In the zip attachment, the two files: google_translate.ico & duckduckgo.ico, cannot be opened in standalone Image viewer, but can be previewed in the viewer pane.
And the following code can also be run normally.

var stt="pathto\\google_translate.ico"
	var img=DOpus.LoadImage(stt)
	var tt=img.SetClip()

Is this a bug in standalone viewer?

Textify ico.zip (13.1 KB)

No, the files are corrupted.

This command does not work for the ICO file, I don't know if it is an issue.

cmd.RunCommand('Clipboard COPYIMAGE FILE "' + item + '"');

I'm not sure exactly what's wrong with the .ico files but loading and re-saving them via Icon Workshop results in a file which is smaller (but still contains the same icons/formats; most of the size difference is all zero data at the end of the original file) and works OK in Opus.