<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Jpeg decoder cannot read image header in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814099#M4132</link>
    <description>I can confirm that with this fix, the image in question can be decoded successfully.&lt;BR /&gt;</description>
    <pubDate>Mon, 06 Jun 2011 11:58:27 GMT</pubDate>
    <dc:creator>Thomas_Jensen1</dc:creator>
    <dc:date>2011-06-06T11:58:27Z</dc:date>
    <item>
      <title>Jpeg decoder cannot read image header</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814094#M4127</link>
      <description>Hello,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I use the UIC JPEG decoder to decode images. The method ReadHeader fails on the attached image. Can this be a bug in UIC?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you.&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 May 2011 13:43:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814094#M4127</guid>
      <dc:creator>Gregory_Begelman</dc:creator>
      <dc:date>2011-05-31T13:43:24Z</dc:date>
    </item>
    <item>
      <title>Jpeg decoder cannot read image header</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814095#M4128</link>
      <description>I tested your jpeg using the latest IPP 7.4 Picnic sample app, and it fails loading it.&lt;BR /&gt;Windows 7 and LeadTools 16.5 can open it though. It appears to be an image saved by Photoshop on an Apple computer. It is probably corrupt in some way, and UIC cannot recover from the missing/bad data.&lt;BR /&gt;</description>
      <pubDate>Tue, 31 May 2011 17:52:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814095#M4128</guid>
      <dc:creator>Thomas_Jensen1</dc:creator>
      <dc:date>2011-05-31T17:52:02Z</dc:date>
    </item>
    <item>
      <title>Jpeg decoder cannot read image header</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814096#M4129</link>
      <description>Other libraries successfully decode this image (like libjpeg-turbo). I suppose UIC should be able to decode it too.</description>
      <pubDate>Wed, 01 Jun 2011 10:06:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814096#M4129</guid>
      <dc:creator>Gregory_Begelman</dc:creator>
      <dc:date>2011-06-01T10:06:15Z</dc:date>
    </item>
    <item>
      <title>Jpeg decoder cannot read image header</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814097#M4130</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;we have tested this image with UIC JPEG decoder and can confirm that there is a bug in UIC implementation. We are working on providing the fix for this issue. I'll update you once it is ready.&lt;BR /&gt;Note, the issue affects UIC sample code only, no changes in IPP libraries are needed.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir</description>
      <pubDate>Wed, 01 Jun 2011 18:04:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814097#M4130</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2011-06-01T18:04:11Z</dc:date>
    </item>
    <item>
      <title>Jpeg decoder cannot read image header</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814098#M4131</link>
      <description>hi,&lt;DIV&gt;i think i found the reason for this problem. To resolve it in file &lt;I&gt;bitstreamin.cpp&lt;/I&gt; function CheckByte() need some modification. Try this solution and write here your results.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;[bash]JERRCODE CBitStreamInput::CheckByte(int pos, int* byte)
{
  JERRCODE jerr;

  if(m_currPos + pos &amp;gt;= m_DataLen)
  {
    //jerr = Seek(pos);
    jerr = FillBuffer();
    if(JPEG_OK != jerr)
      return jerr;

    //*byte = m_pData[0];
    *byte = m_pData[pos];
  }
  else
    *byte = m_pData[m_currPos + pos];

  return JPEG_OK;
} // CBitStreamInput::CheckByte()[/bash]&lt;/PRE&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Jun 2011 11:02:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814098#M4131</guid>
      <dc:creator>Sergey_Ryadno</dc:creator>
      <dc:date>2011-06-06T11:02:58Z</dc:date>
    </item>
    <item>
      <title>Jpeg decoder cannot read image header</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814099#M4132</link>
      <description>I can confirm that with this fix, the image in question can be decoded successfully.&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jun 2011 11:58:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Jpeg-decoder-cannot-read-image-header/m-p/814099#M4132</guid>
      <dc:creator>Thomas_Jensen1</dc:creator>
      <dc:date>2011-06-06T11:58:27Z</dc:date>
    </item>
  </channel>
</rss>

