O'Reilly logo
  • LI WEI thinks this is interesting:

you can store an image as an object. The data fields will be the image's width of the image, its height, and the collection of pixels inside it. C++ strings are also objects.

From

Cover of Learning C++ by Creating Games with UE4

Note

你可以将一张图片创建成一个对象,它包含的变量就有其长和宽,再者是囊括其中的像素