<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000066">
I encountered the exact same problem. I used "const Image& img =
reader.GetImage()" but... I need to load files in a loop and I can't
modify a const once its created. Any way around this?<br>
Thanks,<br>
Greg<br>
<br>
<br>
Mathieu Malaterre wrote:
<blockquote
cite="mid:bf0c3b3f0808271048pac9c9f4m58c7c0835985d305@mail.gmail.com"
type="cite">
<pre wrap="">Oooops
On Wed, Aug 27, 2008 at 7:11 PM, Matthias Sweertvaegher
<a class="moz-txt-link-rfc2396E"
href="mailto:matthias.sweertvaegher@uz.kuleuven.ac.be"><matthias.sweertvaegher@uz.kuleuven.ac.be></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> Image img = imgReader.GetImage();
</pre>
</blockquote>
<pre wrap=""><!---->
Nope, in fact that is the line that is causing the crash sorry for the
noise. Please replace for now with:
const Image& img = imgReader.GetImage();
And please, fill in a bug report.
Thanks,
</pre>
</blockquote>
</body>
</html>