为什么jpg\heic映像在iOS中花费很少内存

为什么jpg\heic映像在iOS中花费很少内存,ios,uiimage,png,jpeg,heic,Ios,Uiimage,Png,Jpeg,Heic,当我使用“Allotions”时,我发现jpg和heic图像占用的内存很少,而png图像占用的内存是4*宽*高。有人能告诉我为什么吗 //3024*4032--高度--18米 //imageViewArray[0]。image=UIImage(名为:“IMG_4185.HEIC”) //3024*4032--jpg--17.45米 //imageViewArray[1]。image=UIImage(名为:“IMG_4185_4k.jpg”) //3024*4032--png--46.5M //i

当我使用“Allotions”时,我发现jpg和heic图像占用的内存很少,而png图像占用的内存是4*宽*高。有人能告诉我为什么吗

//3024*4032--高度--18米

//imageViewArray[0]。image=UIImage(名为:“IMG_4185.HEIC”)

//3024*4032--jpg--17.45米

//imageViewArray[1]。image=UIImage(名为:“IMG_4185_4k.jpg”)

//3024*4032--png--46.5M

//imageViewArray[3]。image=UIImage(名为:“IMG_4185_4k.png”)