----------------------------------------
> Date: Sun, 21 Mar 2010 19:21:21 +0800
> From:
> To: [email protected]
> Subject: [iText-questions] How to test the pdf output?
>
> Hi,
>
> What's the *best* way of regression testing my Java code that
> generates pdf documents? Comparing the pdf file byte to byte to
> reference documents? How do you do regression testing for iText?
I"d been advocating use of an open source renderer and doing
pixel compares but I'm not actually active in the field.
Presumably you can also instrument
the renderer to dump various lists or hashes and compare these.
I guess you need to think of this somewhat like regression
on floating point algorithms that "close is good enough"
or you will get lots of spurious errors. If you really
want to get fancy, and I'm just speculating here,
you may be able to find image analysis or compression programs
which can try to "compression" your difference image between
ref and test pages and diagnose or attribute the differences
to some types of features- give you some indication if they are
perceptually important or not without having to open the image itself.
Lossy compression usually tries to only capture the stuff a viewer is likely
to care about.
>
> Thanks
>
> Fred
>
> ------------------------------------------------------------------------------
> Download IntelĀ® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850553/direct/01/
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/