links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Smalltalk majorShrink
Last updated at 1:12 am UTC on 18 December 2021
This method needs to be applied in a MVC project.

For some current notes while working in Morphic see
Shrinking the image while using Morphic (2021)

February 2008

The method majorShrink sent to the Smalltalk object discards certain parts in the .image file to get a smaller image.

The method majorShrink as such does not function properly in a 3.4gamma image. However the code in the method contains still value functioning parts which can be used to build your own shrinking method. (The Smalltalk global variable is an instance of SystemDictionary, so the method you want to look at is SystemDictionary>>majorShrink.)

Here you find some notes how to produces an MVC only image on the base of a 3.4gamma image.

You find a list of removal scripts here. And SystemDictionary discardXYZ methods.

Boris Gaertner developed a script to remove Morphic in a 3.4-3.7 image, see http://bgaertner.gmxhome.de/Shrink36.html; He includes interesting general notes.

Juan Vuletich has worked out a reduced 3.7 image with Morphic but with e-toys removed. It is here. Dan Ingalls thinks this is a good thing to do.

Here is another reduced 3.7 image. However the quality seems not to be overwhelming.

Edgar de Cleene has been working on a reduced image he calls SqueakLight.

See also

This page Smalltalk majorShrink (archive) contains archived material.