Here is the image which is correctly working in AVIF while in AVIF-alpha showing outlines on icons.
image after avif-alpha:
image with avif:
here is the code that i am using :
`IgcBufBase::Ptr IsrvImageRects::CreateAvifImage(IrsRasConst ras, int / format /, int ippEncoding, int quality, bool doAlpha, size_t * length)
{
IrsRas avifRas = CreateRasForAvif(ras, doAlpha);
int depth = 8;
int height = avifRas.rect().ht();
int width = avifRas.rect().wd();
avifPixelFormat format = AVIF_PIXEL_FORMAT_YUV420;
Here is the image which is correctly working in AVIF while in AVIF-alpha showing outlines on icons. image after avif-alpha: image with avif:
here is the code that i am using :
`IgcBufBase::Ptr IsrvImageRects::CreateAvifImage(IrsRasConst ras, int / format /, int ippEncoding, int quality, bool doAlpha, size_t * length) { IrsRas avifRas = CreateRasForAvif(ras, doAlpha); int depth = 8; int height = avifRas.rect().ht(); int width = avifRas.rect().wd(); avifPixelFormat format = AVIF_PIXEL_FORMAT_YUV420;
}`