Thanks, Joel! Kevin ----- Original Message ----- From: Joel Uckelman To: [email protected] Sent: Tuesday, October 23, 2007 2:35 AM Subject: Re: [vassalengine] Re: What are the best ways to stop memory heap errors?
Thus spake "Kevin Coombs": > Joel, > Thanks for the information. This is good to know. > Just curious... what would you recommend to use for counter images? > Kevin > If I were making them from scratch, I'd use SVG. If I already had them, I'd convert them to PNGs. There's no reason at all to use GIFs. JPEG has a use case---namely for photo-quality images. However, I most often see it used for in modules for scans of line art, which could be significantl smaller (file size) and better looking if regions which are supposed uniform in color were cleaned up and the images saved as PNGs. If you're making PNGs and you really don't need more than 256 (or 8, or 2!) colors, you will reduce file size by saving them that way, and I'd encourage that. What I don't encourage is reducing the color depth of images below 24-bit in order to reduce file size. Also, you can often shave quite a lot off the size of your PNGs by running a PNG optimizer on them. For example, pngout will frequently reduce PNGs by 25% or more. Otherwise, regarding memory issues, just sit tight for a few more weeks while I take care of the problem. It's rather complex, since for one thing it's involved ferretting out all of the places in VASSAL where references to images are held. -- J. [Non-text portions of this message have been removed]
