Image util functions separeted in package util