U
        more happy.</li>
      <li>int bgr - pixel copy order. RGB if bgr==0 and BGR otherwise.</li>
    </ul>
    <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,
      negative (from the <a href="API-datastruct.html#LibRaw_errors">LibRaw
        error list</a>) if there has been an error situation within LibRaw.</p>
    <p><a name="dcraw_make_mem_image"></a></p>
    <h3>l