<div dir="auto">Maybe Morph>>imageForm:depth: ?</div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Feb 28, 2025 at 16:28 H. Hirzel via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Hi<br>
<br>
I am arranging 4 pictures in a row and would like to write the result to <br>
a file.<br>
<br>
However I face the problem of getting a form representation of the <br>
LayoutMorph instance.<br>
<br>
In Squeak that would be<br>
<br>
row imageForm<br>
<br>
<a href="https://wiki.squeak.org/squeak/6373" rel="noreferrer" target="_blank">https://wiki.squeak.org/squeak/6373</a><br>
<br>
I searched the class hierarchy for something similar but did not find <br>
anything suitable (e.g. asForm, just form or something similar).<br>
<br>
How can I achieve this?<br>
<br>
Regards<br>
<br>
Hannes<br>
<br>
<br>
-------------------------------------------------------------------------------------------------------<br>
<br>
Feature require: 'Graphics-Files-Additional'.<br>
<br>
"(ImageReadWriter formFromFileNamed: 'F05.jpg') class Form ."<br>
<br>
row := LayoutMorph newRow.<br>
row addMorph: (ImageMorph newWith: (ImageReadWriter formFromFileNamed: <br>
'F05e.jpg')).<br>
row addMorph: (ImageMorph newWith: (ImageReadWriter formFromFileNamed: <br>
'F06e.jpg')).<br>
row addMorph: (ImageMorph newWith: (ImageReadWriter formFromFileNamed: <br>
'F07b-e.jpg')).<br>
row addMorph: (ImageMorph newWith: (ImageReadWriter formFromFileNamed: <br>
'F08e.jpg')).<br>
<br>
<br>
JPEGReadWriter2 putForm: row imageForm quality: 100 progressiveJPEG: <br>
true onFileNamed: 'row1.jpg'<br>
<br>
<br>
-- <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>