Forum Discussion
HKosova
Alumni
14 years agoHello,
I'd actually recommend creating individual checkpoints for different image sizes, because the scaling artifacts can affect image comparison results.
If you're sure that you want to use a single baseline image, you can resize it at run time using the Picture.Stretch method and then use the resulting image in the checkpoint. Also, you'll probably need to use the pixel tolerance and color tolerance parameters to ignore the scaling artifacts. See How Image Comparison Works and Factors Affecting Image Comparison for details.
I'd actually recommend creating individual checkpoints for different image sizes, because the scaling artifacts can affect image comparison results.
If you're sure that you want to use a single baseline image, you can resize it at run time using the Picture.Stretch method and then use the resulting image in the checkpoint. Also, you'll probably need to use the pixel tolerance and color tolerance parameters to ignore the scaling artifacts. See How Image Comparison Works and Factors Affecting Image Comparison for details.