If this snippet of code saves an an object/image to file. What would need to be modified for it to actually cout the image's binary data stream? Thanks!
if (frame && frame->Contains(ID3FN_DATA)) { cout << "*** extracting picture to file \"" << argv[2] << "\"..."; frame->Field(ID3FN_DATA).ToFile(argv[2]); cout << "done" << endl; }
frame->Field(ID3FN_DATA).ToFile(argv[2]);sendframe->Field(ID3FN_DATA)tocoutstd::coutis a text stream and there is no portable way to reopen it as a binary stream. What, exactly, are you trying to do? It usually doesn't make a whole lot of sense to dump a bunch of binary data out to the console.