#1243 Added XMP and IPTC data to Reagan.jp2. Corrected printStructure() appropriately.
Will add jp2image::writeMetadata()/iccProfile tomorrow and update tests.
This commit is contained in:
parent
699e1c744e
commit
442b0155d0
@ -478,7 +478,7 @@ namespace Exiv2
|
||||
}
|
||||
|
||||
DataBuf rawData;
|
||||
rawData.alloc(box.length);
|
||||
rawData.alloc(box.length-sizeof(uuid)-sizeof(box));
|
||||
long bufRead = io_->read(rawData.pData_, rawData.size_);
|
||||
if (io_->error()) throw Error(14);
|
||||
if (bufRead != rawData.size_) throw Error(20);
|
||||
|
||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user