-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Labels
bugSomething isn't workingSomething isn't working
Description
IssueSubmissionTemplate attached
Issue happens during ImageImporterJpeg.ImportImage.
The jpeg file used could be opended by many image viewers and also some online jpeg validation tools found no problems in it.
// MoveToNextHeader moves to the following positions:
// 2 Blocklength: 16 Header: 0xFFE0
// 20 Blocklength: 67 Header: 0xFFDB
// 89 Blocklength: 67 Header: 0xFFDB
// 158 Blocklength: 17 Header: 0xFFC0
// 177 Blocklength: 30 Header: 0xFFC4
// 209 Blocklength: 47 Header: 0xFFC4
// 258 Blocklength: 20 Header: 0xFFC4
// 280 Blocklength: 20 Header: 0xFFC4
// 302 Blocklength: 12 Header: 0xFFDA
// 316 Blocklength: 32540 Header: 0xFF00
// 32858 but FileStream.Length is 29912
// In TestColorFormatHeader the code tries to read a Word from that last position and failed.
jirikanda
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working