some improvements for @2x images in pdf