fixed bug286 correct image size in pdf