I've asked similar questions before, but have not received a definitive answer. Seems that there must be a way to simply add/modify metadata to an image without loading the image into memory, without having to deal with directly reading bits.
Seems like ways exist when using CMSampleBufferRef
s, but I need to be able to do this with a regular image already saved to disk.
For instance, given a very large png
at /Documents/photo.png
, I want to modify its exif metadata without having to load that image.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…