speeding up image generation. using fast image to
obtain image size instead of using imagemagick