team-charls / jpegls-wic-codec

Windows Imaging Component (WIC) codec for JPEG-LS .jls files
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link

Windows Photo Viewer cannot load jls files #1

Closed lookfeng closed 5 years ago

lookfeng commented 5 years ago

After register dll, Windows Photo Viewer still load jls files failed.

error

vbaderks commented 5 years ago

Hi lookfeng,

Thanks for the report. Can you provide the details of your environment (Windows version, 32\64bit)?

And would it be possible to add the error message as text to this issue, this would make it possible to convert it to English.

lookfeng commented 5 years ago

win10 64bit

error msg: Windows photo viewer can't open this picture because either photo viewer doesn't support this file format, or you don't have the latest updates to photo viewer.

This may be due to errors in the function DllRegisterServer (@dllmain.cpp)

please refer https://github.com/peirick/FlifWICCodec The FlifWICCodec works well on my computer.

vbaderks commented 5 years ago

Thanks for the info. I can reproduce the problem. Will investigate.

vbaderks commented 5 years ago

This issue has been closed with commit 54b183f8680985d7e316e5e409651807f200f1fd

If you perform a git pull to the get latest code, rebuild the component and execute regsvr32 jpegls-wic-codec.dll again it should be resolved.