python - Writing to a memory file instead of file path -


is possible supply path buffer write data instead of supplying file path e.g. instead of object.save("d:\filename.jpg") supply path memory buffer. want avoid writing image object data file .jpg , save directly memory can have in memory rather loading again disk.

i believe looking stringio library.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

c++ - Serialize a class with a Qlist of custom classes as member (using QDataStream) -

Read video using VideoReader function in Matlab? -