team-charls / jpegls-wic-codec Goto Github PK
View Code? Open in Web Editor NEWWindows Imaging Component (WIC) codec for JPEG-LS .jls files
License: BSD 3-Clause "New" or "Revised" License
Windows Imaging Component (WIC) codec for JPEG-LS .jls files
License: BSD 3-Clause "New" or "Revised" License
Hello.
I downloaded the jpegls-wic-codec code using git (current commit 374a569). When I try to compile it, I get the error:
1>winrt.ixx
1>...\jpegls-wic-codec\build\intermediate\jpegls-wic-codec\x86\Debug\Generated Files\winrt\base.h(5041,71): fatal error C1001: Internal compiler error.
1>(compiler file 'msc1.cpp', line 1603)
1> To work around this problem, try simplifying or changing the program near the locations listed above.
1>If possible please provide a repro here: https://developercommunity.visualstudio.com
1>Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
1>INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x86\CL.exe'
1> Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
1>Done building project "jpegls-wic-codec.vcxproj" -- FAILED.
Visual Studio Community 2019 version 16.11.35.
Can you get around this problem?
jpegls_bitmap_frame_encode::WritePixels uses MFCopyImage, which comes from mfplat.dll, part of Media Feature Pack. Not every version of windows will support this out of the box.
I think it would be good to have one less dependency, and it would make the code easier to understand.
The code in question is here:
jpegls-wic-codec/src/jpegls_bitmap_frame_encode.h
Lines 189 to 190 in 575d883
and I propose that this be replaced with the implementation that wine uses, found here:
https://github.com/wine-mirror/wine/blob/e909986e6ea5ecd49b2b847f321ad89b2ae4f6f1/dlls/mfplat/main.c#L1510-L1522
I'm happy to submit a PR, if there's any interest in this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.