CHAPTER 12 ADDITIONAL TOPICS 469 Stingy Memory (Web site developers)
CHAPTER 12 ADDITIONAL TOPICS 469 Stingy Memory Use Any large program like the GIMP needs to make trade-offs between speed and memory usage. By default, GIMP will assume there s plenty of memory, and will optimize for speed. On a low- memory system, you may see better performance by setting: (stingy-memory-use yes) Default Brush, Pattern, Palette, Gradient, and Font The GIMP doesn t normally remember settings for these values (though some of them will be remembered if you chose Save tool options now from the Tool Options category of the Preferences window). But you can set them explicitly in gimprc, with lines such as the following: (default-brush “Circle (4)”) (default-pattern “Leopard”) (default-palette “Web”) (default-gradient “Full Saturation Spectrum CCW”) (default-font “Helvetica Bold Italic”) The names used in gimprc correspond to the names you see in the dialogs where you choose these items. Share Palette The Tool Options category of Preferences lets you share brushes, patterns, or gradients, among all tools. But the GIMP can also share fonts and palettes: (global-font yes) (global-palette yes) Perfect Mouse When you move the mouse quickly, computer systems may take a shortcut and pass only some of the positions to the application. This saves GIMP from needing to process every pixel that the mouse covers, and usually speeds up drawing. Normally, GIMP doesn t take this shortcut: it processes every pixel the mouse crosses. If you notice lags while drawing lines quickly, it might be worth experimenting with the perfect-mouse setting by changing it to no : (perfect-mouse no) Imperfection may be faster on some systems. Default Threshold Tools such as Fuzzy Select and Bucket Fill have a threshold for what constitutes a nearby region, settable in Tool Options. Normally, this defaults to 15, but you can change that: (default-threshold 10)
Please visit Domain Name Hosting services for high quality webhost to host and run your jsp applications.