- Use a color library for color notations. For example [Primal Color](https://github.com/PrimalPHP/Color). - Add ability to auto-clip non-square rotated image. It should be second argument of the `rotate` method. - Remove `$isTransparent` from the constructor and detect it automatically before encoding. - Get rid of `ImageFactory`, make it's methods be `Image` static methods.
rotatemethod.$isTransparentfrom the constructor and detect it automatically before encoding.ImageFactory, make it's methods beImagestatic methods.