Product Image Byte Array value

Hello

Can I convert productImage file to byte array value on ax?

is there any field to get byte array value for a product image?

Thanks.

Look like there is an example here,
\Classes\TrvReceiptsHelper\generateThumbnail