imagemagick: adds ptest for imagemagick

The logic used is :
- We check if the required tools are present or not
- We used magick to create an raw RGB file
- The created RGB is then converted to PNG using convert
- We re-gerenate RGB from PNG and compare the original and re-generated RGB
- Enabled the ptest in ptest-packagelists-meta-oe.inc as
  suggested by Gyorgy Sarvari and incorporated logging suggestion
- This was done as standard imagemagick test like drawtest requires manual
  internetion to verify the file

Signed-off-by: AshishKumar Mishra <ashishkumar.mishra@bmwtechworks.in>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
AshishKumar Mishra
2025-11-06 14:44:10 +05:30
committed by Khem Raj
parent 78e81c6390
commit 96b97c0c64
4 changed files with 189 additions and 2 deletions
@@ -16,6 +16,7 @@ PTESTS_FAST_META_OE = "\
function2 \
fwupd \
gcab \
imagemagick \
jemalloc \
jq \
leveldb \