found a solution for trimming the existing image