First generation of image handling library called XImage featured objective access to image files under PHP scripting language, allowing programmer to convert between supported file format and automatically resize images with concern on aspect ratio. The main advantage over original gd functions is unified access to all supported file types.