Rank: Newbie Groups: Member
Joined: 5/22/2016 Posts: 6
|
Hi,
Couple of weeks ago I asked you about support for unitests You suggested me to use the option to save each page as an image. And then compare each new image to the old one as a way to test the PDF output.
I discovered that the output PNG files are different in windows7 & windows2012. Our product builders running on win7 & win2012. The build that run on win2012 always failed because the PNGs are not equal to the one created on win7
For example my PDF have 75 Pages. I got 8 PNG out of 75 that are different. *The differents are unseen to the human eye.. at-least unseen to my eyes :)
Is this a known bug? Is there a workaround that I can use?
Thanks, Aviram
|
Rank: Newbie Groups: Member
Joined: 5/22/2016 Posts: 6
|
Hi, I found that the pixel colors are not the same: I upload the compare PNG with full details here: https://ibm.box.com/s/tldi3ej21wq5czibiy0ze1nxphgrroxfWhen I zoom in I can see the different in the pixel color.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
This is normal. The actual pixel color mixing is a process that involves many components, especially when anti aliasing is involved, which is often done by video drivers that we have no control with. The goal of video driver is to produce "good" result for human eyes, not to produce the exact "correct" pixel value. So your image comparing software must take this into consideration and if both images "looks" the same to human eye, then it should be considered "close" or "identical" for testing purpose.
Thanks!
|