-
Notifications
You must be signed in to change notification settings - Fork 624
Open
Description
Thank you for your great library.
When I'm using imagemagick on broken jpeg (prematurely closed), I would get such a warnings:
identify: Corrupt JPEG data: found marker 0xd9 instead of RST1 `broken2.jpg' @ warning/jpeg.c/JPEGWarningHandler/352.
When I'm using identify inside gm:
gm('broken2.jpg').identify({verbose: true}, function (err, data) { ... })
There is no such a warning.
It's not returned from
var identifyStream = gm()
.command('identify')
.in('-verbose')
.in('broken2.jpg')
.stream().pipe(process.stdout);
as well. What I want to achieve is to detect corrupted images (not only jpegs). Maybe there is another method?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels