put extended functions in imageext, image.tostring/fromstring working