![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
Version 6.0.4 |
The Image API of QF-Test makes use of a technology independent
class for image representation ImageRep
and it
offers an interface to implement an own image compare algorithm.
ImageRep
class
The class
de.qfs.apps.qftest.shared.extensions.image.ImageRep
is
the wrapper class for technology independent images.
The class holds the image representation either as ARGB data,
which is an int array or as RGB data, which is a byte array.
Besides the image data, you can also specify a name, the width
and the height for the ImageRep
object.
The ImageRep
class also contains an equals
method for
comparisons. If you want to implement your own image comparison algorithm, you
have to implement your own ImageComparator
. This implementation
has to be registered at the ImageRep
object. See subsection 51.10.2 for further information.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ImageComparator
interface
The interface
de.qfs.apps.qftest.shared.extensions.image.ImageComparator
has to be implemented, if you want to implement your own image comparison
algorithm.
The implementation has then to be registered at the used ImageRep
objects using the setComparator
method.
| |||||||||||||||||
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | Last update: 11/29/2022 Copyright © 1999-2022 Quality First Software GmbH |