Hi,<br><br>  I have a little method that is supposed to display a picture.<br><br>Here is my code:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
showImage <br>    <br></blockquote><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">    | string stream |<br>    self coverPictureName isNil<br>
        ifFalse: [ string := self coverDirectory , self coverPictureName.<br>                stream := FileStream fileNamed: string.<br>                stream binary.<br>                HandMorph attach: (World drawingClass withForm: <br>
                        (ImageReadWriter formFromStream: stream contents))]<br></blockquote><div><br> the problem is that &#39;stream&#39; seems to be a ByteArray and when gave as an argument to the &#39;understandsImageFormat&#39; class method of &#39;JPEGReadWriter&#39;, it (ByteArray) doesn&#39;t understand the messages &#39;reset&#39; and &#39;next&#39;<br>
<br>Is there a problem with this method or whit mine?<br><br>Is there any other possibility to get what I want to do?<br><br>Thank you<br></div>