<div dir="ltr"><div dir="ltr">Missed one line:<br><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">filePath := '/Users/volkmannm/Pictures/images/altitude1600.jpg'. <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">form := Form fromFileNamed: filePath. <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">morph := ImageMorph newWith: form. <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">(morph scaleBy: 0.5; embeddedInMorphicWindowLabeled: 'test') openInWorld</blockquote><div><br></div><div>-- <br></div><div>Eze</div><div><br></div></div><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, 22 Mar 2025 at 16:42, Ezequiel Birman <<a href="mailto:ebirman77@gmail.com">ebirman77@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Ah! I'd write something like:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">filePath := '/Users/volkmannm/Pictures/images/altitude1600.jpg'.</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">form := Form fromFileNamed: filePath. <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">(morph scaleBy: 0.5; embeddedInMorphicWindowLabeled: 'test') openInWorld</blockquote></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 22 Mar 2025 at 01:28, Mark Volkmann <<a href="mailto:r.mark.volkmann@gmail.com" target="_blank">r.mark.volkmann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I want to render an image at some percentage less than 100% of its default size.<div>I'm not trying to get an image to fill the extent of another morph.<br><div>This code, evaluated in a Workspace, renders an image at its full size.</div><div>What should I change to render it at 50% of that size?</div><div><br></div><div>filePath := '/Users/volkmannm/Pictures/images/altitude1600.jpg'.<br>form := Form fromFileNamed: filePath.<br>morph := ImageMorph newWith: form.<br>SystemWindow new addMorph: morph; openInWorld.<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 21, 2025 at 3:02 PM Ezequiel Birman via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">errata: “self“ should be “anImageMorph”. I.e.:<br><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">anImageMorph image: (anImage magnifyTo: anImageMorph morphExtent)</blockquote></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 21 Mar 2025 at 19:48, Ezequiel Birman <<a href="mailto:ebirman77@gmail.com" target="_blank">ebirman77@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>I'm not sure what are you trying to do but I'll guess that if you're trying to get the image fill the morphExtent, you cand send `image:` to the imageMorph.<br>anImageMorph image: (anImage magnifyTo: self morphExtent)<br><br></div>HTH,<br><br>-- <br></div>Eze</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 20 Mar 2025 at 09:00, Hilaire Fernandes via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
    
  
  <div bgcolor="#FFFFFF">
    <p><font size="4">A remark, you should only magnify the form. Not
        sure it solves your problem, though</font><br>
    </p>
    <div>Le 19/03/2025 à 22:11, Mark Volkmann
      via Cuis-dev a écrit :<br>
    </div>
    <blockquote type="cite">
      <div>percent := 0.75.<br>
        form := Form fromFileNamed: filePath :: magnifyBy: percent.<br>
        morph := ImageMorph newWith: form :: scaleBy: percent.<br>
      </div>
    </blockquote>
    <pre cols="72">-- 
<a href="http://mamot.fr/@drgeo" target="_blank">http://mamot.fr/@drgeo</a></pre>
  </div>

-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div>
</blockquote></div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div></div>