get image trimming right