Skip to content

Application to Test lottie and svg resource using rlottie and thorvg library.

Notifications You must be signed in to change notification settings

smohantty/ImageTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Dependancy

  • This application depends on rlottie and thorvg library please make sure its installed in the system.

Build

install meson and ninja if not already installed.

Run meson to configure ImageTest

meson build

Run ninja to build ImageTest

ninja -C build

Run

The imagetest application runs in 2 mode Test and Generation mode.

In Generation mode it finds all the resources in resource folder and generated baseline png files and store it in baseline folder.

Run In Generation mode

imagetest -g

In Test mode it finds all the resources in resource folder and renders using the library then it compares the result against the baseline image stored in baseline folder. if both image are same the testcase is Passed otherwise Failed.

Run In Test mode

imagetest -t

If new resource needs to be added in the resource folder then imagetest -g should be run again to generate baseline images for newly added resource.

About

Application to Test lottie and svg resource using rlottie and thorvg library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published