<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">I note that 103 is the diagonal measure
of the original form. Speculation: perhaps rotatedByDegrees: is
always creating a form that is large enough for any arbitrary
rotation, and not clipping to the actual needed size afterwards?
Is there by any chance another message for rotations by multiples
of 90 degrees?<br>
<br>
Regards,<br>
-Martin<br>
<br>
On 10/25/23 09:51, Hilaire Fernandes via Cuis-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:a4bc6054-2ab2-4266-94fe-f5796c51093f@free.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p><font size="4">Hi, <br>
</font></p>
<p><font size="4">When rotating 90 degrees, I have oversize
extent.</font></p>
<p><!-- HTML generated using hilite.me --></p>
<div
style="background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;">
<pre style="margin: 0; line-height: 125%"><span
style="color: #333333">|</span><span style="color: #996633"> image</span><span
style="color: #333333">|</span>
<span style="color: #996633">image</span> <span style="color: #333333">:=</span> <span
style="color: #BB0066; font-weight: bold">ImageMorph</span> <span
style="color: #007020">new</span>.
<span style="color: #BB0066; font-weight: bold">Transcript</span> <span
style="color: #0066BB; font-weight: bold">show:</span> <span
style="color: #996633">image</span> <span
style="color: #0066BB; font-weight: bold">form</span> <span
style="color: #0066BB; font-weight: bold">extent</span>;<span
style="color: #0066BB; font-weight: bold">cr</span>.
<span style="color: #996633">image</span> <span
style="color: #0066BB; font-weight: bold">image:</span> (<span
style="color: #996633">image</span> <span
style="color: #0066BB; font-weight: bold">form</span> <span
style="color: #0066BB; font-weight: bold">rotatedByDegrees:</span> <span
style="color: #6600EE; font-weight: bold">90</span>).
<span style="color: #BB0066; font-weight: bold">Transcript</span> <span
style="color: #0066BB; font-weight: bold">show:</span> <span
style="color: #996633">image</span> <span
style="color: #0066BB; font-weight: bold">form</span> <span
style="color: #0066BB; font-weight: bold">extent</span>
</pre>
</div>
<p>Transcript output is:</p>
<p>85@57 <- original form<br>
103@103 <- rotated form<br>
</p>
<p>I will expect 57@85 for the rotated form<br>
</p>
<p>Thanks<br>
</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu"
moz-do-not-send="true">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu"
moz-do-not-send="true">http://blog.drgeo.eu</a></pre>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<br>
</body>
</html>