Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: PDF content and visuals testing best practices

by Corion (Patriarch)
on Dec 20, 2013 at 12:01 UTC ( [id://1067943]=note: print w/replies, xml ) Need Help??


in reply to PDF content and visuals testing best practices

If you can find templates that "are not supposed to change", like the page for a book cover or something like that, maybe you can set up a special single-page document and render that to a bitmap using (yuck) Image::Magick (or maybe better direct Ghostscript). Then you can try to use Image::Compare or Image::SubImageFind to find the "not changing" parts again.

Of course, maintaining such a library of image-based tests gets really ugly. Maybe you can use wraith by the BBC to manage and compare the "screenshots" whenever a change is detected.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1067943]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-03-29 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found