a name="dcraw_thumb_writer"></a></p>
    <h3>int LibRaw::dcraw_thumb_writer(const char *thumbfile)</h3>
    <p>Writes the thumbnail to a file in the PPM format for bitmap thumbnails
      and in the JPEG format for JPEG thumbnails, i.e., in the format completely
      identical to the results provided by dcraw.</p>
    <p>The function returns an integer number in accordance with the <a href="API-notes.html#errors">error
        code convention</a>: positive if any system call has returned an error,
      ne