expanded image processing utils section