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 » Fri Jun 28, 2019 12:14 pm

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: 31373
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: detecting corrupted images in a folder and its subfolders

Post by xnview » Tue Jul 02, 2019 1:06 pm

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 » Wed Jul 03, 2019 6:15 pm

You can find it attached.
Thanks!

User avatar
xnview
Author of XnView
Posts: 31373
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: detecting corrupted images in a folder and its subfolders

Post by xnview » Thu Jul 04, 2019 8:45 am

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 » Thu Jul 04, 2019 8:51 am

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: 2091
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 » Thu Jul 04, 2019 9:03 am

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 » Thu Jul 04, 2019 9:13 am

Here it is now.
Thanks!
Attachments
KO33400K.zip
(22.25 KiB) Downloaded 6 times

User avatar
xnview
Author of XnView
Posts: 31373
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: detecting corrupted images in a folder and its subfolders

Post by xnview » Thu Jul 04, 2019 1:19 pm

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

Post Reply