Crashes when decoding JPGs w/ sRGB IEC61966-2.1 color profile
See original GitHub issueAt least the color profile seems to be the consistent factor. May also be true for other profiles. I can decode JPGs w/out a profile just fine.
Stack trace:
TypeError: Cannot read property '0' of undefined
at quantizeAndInverse (jpg.js:448)
at buildComponentData (jpg.js:586)
at constructor.parse (jpg.js:820)
at JpegImage.parse (jpg.js:68)
Example image:
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
sRGB vs. sRGB IEC61966-2.1 - Apple Support Communities
The difference between sRGB and sRGB IEC61966-2.1 is still a mystery. In fact the whole subject of color - color space, color management,...
Read more >Re: Mismatch between IEC61966-2.1 color profiles o...
The document profile such as Adobe RGB 1998 or sRGB IEC61966-2.1 describe what actual colours the colour values in the document represent.
Read more >Crash on color profile change, plus bad monitor profile
Removing the profile from my monitor fixed it for Photo Viewer, but only setting the monitor's default profile to sRGB IEC61966-2.1 fixed it ......
Read more >java - sRGB IEC61966-2.1 ColorModel for Raster image
Here's a "short" sample code that shows how to "force" the JPEGImageWriter to output an ICC profile segment in the output JPEG file, ......
Read more >Help and tutorials ADOBE ® AFTER EFFECTS Contents
Color management for CinemaDNG includes the same color spaces as After Effects existing CameraRAW: Adobe RGB, sRGB IEC619662.1, ColorMatch RGB, and ProPhoto ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
preliminary fix is here: https://github.com/gchudnov/inkjet/pull/7 released as
3.0.0-rc0
.if used in node.js:
require('inkjet').default
should be used. will revert back torequire('inkjet')
in rc1.today started upgrading all underlying libraries, but might take some time…