<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi Karl --<div class="mb_sig"></div>
                                        <div><br></div><div>In a 64-bit image, that algorithm tries to allocate about 35 GiB of memory. CMD+Dot will not work because we are sitting in a primitive during that allocation.</div><div><br></div><div>I think that Form >> #<span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">copyWithColorsReducedTo: was originally (2001) used to reduce colors in 16-bit forms or maybe 8-bit forms, given a 32-bit image.</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><div style=""><span style="font-family: Arial, Helvetica, sans-serif"><span style="font-size: 13px">(1 << 32) * 8. "34 359 738 368 bytes"</span></span></div><div style=""><span style="font-family: Arial, Helvetica, sans-serif"><span style="font-size: 13px">(1 << 32) * 4. "17 179 869 184 bytes"</span></span></div></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">(1 << 16) * 4. "262 144 bytes"</span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">(1 << 8 )* 4. "1024 bytes"</span></div><div><br></div><div>We cannot #collect: this:</div><div><br></div><div>(1 to: 1 << 32) collect: [:ea | ...].</div><div><br></div><div>:-)</div><div><br></div><div>In #<span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">copyWithColorsReducedTo: it looks like that we expect a color map. In 32-bit forms, there is no color map. Maybe we should move this algorithm down to ColorForm? See its class comment.</span></div><div><br></div><div>Best,</div><div>Marcel</div><blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 28.06.2022 22:49:43 schrieb karl ramberg <karlramberg@gmail.com>:</p><div style="font-family:Arial,Helvetica,sans-serif">
<div dir="ltr"><div>Hi,</div><div><br></div><div>If I do Form>>copyWithColorsReducedTo:256 on any form the image stops responding.</div><div>No debug log. <br></div><div><br></div><div>This is on a updated Trunk image. <br></div><div>I'm on a Windows machine.</div><div><br></div><div>Best,</div><div>Karl</div><div><br></div><div><br></div><div><br></div></div>
</div></blockquote></div>