detecting corrupted images in a folder and its subfolders

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, xnview

Post Reply
solquest3
Posts: 4
Joined: Fri Jun 28, 2019 12:10 pm

detecting corrupted images in a folder and its subfolders

Post by solquest3 »

Hello.

I need to find all the corrupted images in a folder and its subfolders.

Trying
>nconvert -fullinfo C:\Users\xxx\Desktop\image_1.jpg 2>Nul

on one of these images, I get

Name : epsp

and I don't get
Title:

Is there a way (from command line or also in another way) for finding out all the images that will have the same problem?

Thanks!
Luigi.
User avatar
xnview
Author of XnView
Posts: 34090
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: detecting corrupted images in a folder and its subfolders

Post by xnview »

could you post an example of corrupt image file?
Pierre.
solquest3
Posts: 4
Joined: Fri Jun 28, 2019 12:10 pm

Re: detecting corrupted images in a folder and its subfolders

Post by solquest3 »

You can find it attached.
Thanks!
User avatar
xnview
Author of XnView
Posts: 34090
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: detecting corrupted images in a folder and its subfolders

Post by xnview »

solquest3 wrote: Wed Jul 03, 2019 6:15 pm You can find it attached.
attached where?
Pierre.
solquest3
Posts: 4
Joined: Fri Jun 28, 2019 12:10 pm

Re: detecting corrupted images in a folder and its subfolders

Post by solquest3 »

Hmmm true..
When attaching I get the error "The upload was rejected because the uploaded file was identified as a possible attack vector."
cday
XnThusiast
Posts: 2569
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: detecting corrupted images in a folder and its subfolders

Post by cday »

solquest3 wrote: Thu Jul 04, 2019 8:51 am When attaching I get the error "The upload was rejected because the uploaded file was identified as a possible attack vector."
You could try putting it in a ZIP or similar archive, that might work...
solquest3
Posts: 4
Joined: Fri Jun 28, 2019 12:10 pm

Re: detecting corrupted images in a folder and its subfolders

Post by solquest3 »

Here it is now.
Thanks!
Attachments
KO33400K.zip
(22.25 KiB) Downloaded 34 times
User avatar
xnview
Author of XnView
Posts: 34090
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: detecting corrupted images in a folder and its subfolders

Post by xnview »

when using -fullinfo, you have 'XXXX : Failed'
Pierre.
Post Reply