cstester - a tool for testing loading and painting of documents
Thorsten Zachmann
t.zachmann at zagge.de
Wed Jan 19 12:13:35 GMT 2011
On Wednesday, January 19, 2011 09:59:10 Inge Wallin wrote:
> On Wednesday, January 19, 2011 05:37:40 Thorsten Zachmann wrote:
> > Hello,
> >
> > On Tuesday, January 18, 2011 14:17:00 Ganesh Paramasivam wrote:
> > > Just a thought ( If this tool development is still in a early phase ).
> > >
> > > Wouldn't this be easier with PDF instead of JPG. PDF ( If I'm right )
> > > is nothing but a description of the layout data and handling PDF is
> > > more programming friendly ( i.e there are enough libraries available
> > > to read PDF ) than JPG's.
> >
> > the tool stores pngs. Storing pdfs would be also an option. However it
> > has the same problems as storing as pngs so there is no real benefit.
> >
> > The comarison of the imgae is very easy it is just a QByteArray ==
> > QByteArray. There is nothing more used there. Not sure if it is as eays
> > with PDF as there might be meta data which differes.
>
> If you are all right with the fact that the slightest little pixel change
> will make the test fail. I think for this to be feasible, we have to
> allow a certain small amount of differences.
that is expected and I think it is one side a good think. When there should be
no change there should be no change. It is very hard to say if there is a
change if it is allowed or if it is an error. Most likely only a human can
tell if the change is fine or not.
Thorsten
More information about the calligra-devel
mailing list