Oct-14-2021, 12:29 AM
i am curious how Python scripts store image and video data (pixels and such) in memory. if my script imported typical image reading and writing functions in order to read an image from a file with one of them then write that image to a new file, such as creating a copy in a different image file format, the format of the image in memory would need to be in common. what i am curious of i how the image format in memory is constructed for typical common formats. i'm also curious how many different memory formats exist and what they are. i do not see any format specified by a module in the Python library.