1. optimized code, when "fill", "crop" and "wm" formats could be used simultaneously. 2. added code, that uses target size (width/height), when appropriate maximal possible size (width/height) is not specified in format string. 3. Bug #0000131: Ability to fill margins left after image resize with given color. 4. Bug #0000028: Add crop ability to ImageHelper class.