title: Not a JPEG file: starts with 0x0a 0x4c Error
body: <p>I'm trying to import a bunch of images of .jpeg file format. 
  However I'm getting the error</p>
  
  <p><code>Not a JPEG file: starts with 0x0a 0x4c</code></p>
  
  <p>Now, I know <code>0x89 0x50</code> is how .png files start. But I can't understand what <code>0x0a 0x4c</code> represents.</p>
  
  <p>I also ran the <code>file image001.jpeg</code> command on the terminal and it gave me</p>
  
  <p><code>JPEG image data, JFIF standard 1.01</code>. </p>
  
  <p>Also, when I'm importing these group of images, this error is thrown for different files each time, not the same ones. So, I guess it isn't an issue of the file being corrupted.</p>
  
  <p>If it helps, the image files were generated and saved on the hard disk through the <code>imwrite()</code> function of <code>opencv</code>.</p>
  
  <p>Thanks</p>
  
  <p>Using <code>ImageMagick</code>, the following verbose output is obtained.</p>
  
  <pre><code>Image: /Users/deathstroke/Desktop/lipRead/VidTIMIT/mwbt0/video/sx383/roi081.jpeg
    Format: JPEG (Joint Photographic Experts Group JFIF format)
    Mime type: image/jpeg
    Class: DirectClass
    Geometry: 68x39+0+0
    Units: Undefined
    Type: TrueColor
    Endianess: Undefined
    Colorspace: sRGB
    Depth: 8-bit
    Channel depth:
      red: 8-bit
      green: 8-bit
      blue: 8-bit
    Channel statistics:
      Pixels: 2652
      Red:
        min: 0 (0)
        max: 223 (0.87451)
        mean: 139.207 (0.54591)
        standard deviation: 44.1822 (0.173263)
        kurtosis: 0.798663
        skewness: -1.01178
        entropy: 0.942718
      Green:
        min: 0 (0)
        max: 159 (0.623529)
        mean: 87.1161 (0.341632)
        standard deviation: 33.4156 (0.131041)
        kurtosis: -0.162594
        skewness: -0.485596
        entropy: 0.955489
      Blue:
        min: 0 (0)
        max: 249 (0.976471)
        mean: 73.9367 (0.289948)
        standard deviation: 43.7079 (0.171403)
        kurtosis: 2.38585
        skewness: 1.43844
        entropy: 0.917047
    Image statistics:
      Overall:
        min: 0 (0)
        max: 249 (0.976471)
        mean: 100.087 (0.392496)
        standard deviation: 40.7392 (0.159761)
        kurtosis: 2.09684
        skewness: 0.445232
        entropy: 0.938418
    Rendering intent: Perceptual
    Gamma: 0.454545
    Chromaticity:
      red primary: (0.64,0.33)
      green primary: (0.3,0.6)
      blue primary: (0.15,0.06)
      white point: (0.3127,0.329)
    Background color: white
    Border color: srgb(223,223,223)
    Matte color: grey74
    Transparent color: black
    Interlace: None
    Intensity: Undefined
    Compose: Over
    Page geometry: 68x39+0+0
    Dispose: Undefined
    Iterations: 0
    Compression: JPEG
    Quality: 95
    Orientation: Undefined
    Properties:
      date:create: 2016-04-15T23:19:32+06:00
      date:modify: 2016-04-15T23:19:32+06:00
      jpeg:colorspace: 2
      jpeg:sampling-factor: 2x2,1x1,1x1
      signature: d3f2c14b57043efd4edbf719dfe769aded504df16c5b9fc8ee436d7551993221
    Artifacts:
      filename: /Users/deathstroke/Desktop/lipRead/VidTIMIT/mwbt0/video/sx383/roi081.jpeg
      verbose: true
    Tainted: False
    Filesize: 1.81KB
    Number pixels: 2.65K
    Pixels per second: 265KB
    User time: 0.000u
    Elapsed time: 0:01.009
    Version: ImageMagick 6.9.3-7 Q16 x86_64 2016-03-27 http://www.imagemagick.org
  </code></pre>