mirror of
https://github.com/directus/directus.git
synced 2026-01-29 23:47:57 -05:00
Remove comment from iptc
This commit is contained in:
@@ -36,10 +36,6 @@ export default function parseIPTC(buffer: Buffer) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// if (iptcBlockSize > buffer.length - (iptcBlockDataPos + iptcBlockSize)) {
|
||||
// throw new Error('Invalid IPTC directory');
|
||||
// }
|
||||
|
||||
let iptcBlockTypeId = IPTC_ENTRY_TYPES.get(iptcBlockType);
|
||||
let iptcData = buffer.slice(iptcBlockDataPos, iptcBlockDataPos + iptcBlockSize).toString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user