Advance -info...
Moderators: XnTriq, helmut, xnview
- Cinemaizer
- Posts: 23
- Joined: Mon Jan 28, 2008 2:22 pm
- Location: Russia
Advance -info...
Good day Pierre!
Great Thanks for your ultrafast and powerful nconvert tool!
Would you mind, if i give you some suggestion on how i see it working even more perfect? It's about -info key...
First, i have need for the external information about images. For example, color space... i know there is such info with -v key, but i think it should be with -info key also.
Second, sometimes there are situations, then binary header scan info is ok, but image couldn't be converted. And, question - how you can quickly find out, is the file damaged the image file or not, and also put the result of this test into info list output, as usual?. I understand that the issue "success" or "failed" means the result of header's scan ONLY , but not the integrity of image and loading possibility. Right?
P.S.:
Often, i use your nconvert in 2 steps:
1) With bat-file, collect images information (dimensions, etc.) with filelist and put it into the resulting info-list(txt).
2) Parse this info-list and being based on this data just to launch a new nconvert-process to convert images.
Thanks in advance!
Great Thanks for your ultrafast and powerful nconvert tool!
Would you mind, if i give you some suggestion on how i see it working even more perfect? It's about -info key...
First, i have need for the external information about images. For example, color space... i know there is such info with -v key, but i think it should be with -info key also.
Second, sometimes there are situations, then binary header scan info is ok, but image couldn't be converted. And, question - how you can quickly find out, is the file damaged the image file or not, and also put the result of this test into info list output, as usual?. I understand that the issue "success" or "failed" means the result of header's scan ONLY , but not the integrity of image and loading possibility. Right?
P.S.:
Often, i use your nconvert in 2 steps:
1) With bat-file, collect images information (dimensions, etc.) with filelist and put it into the resulting info-list(txt).
2) Parse this info-list and being based on this data just to launch a new nconvert-process to convert images.
Thanks in advance!
Last edited by Cinemaizer on Mon Jan 28, 2008 7:14 pm, edited 1 time in total.
Re: Advance -info...
I'll add itCinemaizer wrote: First, i need for the external information about images. For example, color space... i know there is such info with -v key, but i think it must be with -info key also.
And the picture is ok? You convert into which format?Second, sometimes there are situations, when with binary header scan info all is ok, but image couldn't be converted.
The only way is to load the fileAnd, question - how fastly to define damaged the image file or normal, and also put the result of this test into info list output, as usual. i've understood that the issue "success" or "failed" means the result of header's scan ONLY , but not the integrity of image and loading possibility. Right?
Pierre.
- Cinemaizer
- Posts: 23
- Joined: Mon Jan 28, 2008 2:22 pm
- Location: Russia
Cool! Thanks!I'll add it
only one at this moment - jpg.You convert into which format?
I convert the image files from cd\dvd. And in advance i don't know the good file or not, therefore i use the pre-scan with nconvert and -info key. For example, sometimes(seldom), issue of check file is "success", but in result of converting is not good - there is one half of image is gray:( Probably it happens when the cd or dvd surface was somewhat damaged, and reading process was poor.And the picture is ok?
Sorry, but i'm not quite understand you... If i get(with -info key before) the issue "success" - does it mean that appropriate image file will be converted properly?The only way is to load the file
[/quote]
- Cinemaizer
- Posts: 23
- Joined: Mon Jan 28, 2008 2:22 pm
- Location: Russia
So use -grey to be able to convert B&W to jpegCinemaizer wrote:only one at this moment - jpg.You convert into which format?
-info read only the header not the full file, so it's not possible to know if the file is complete before to load itI convert the image files from cd\dvd. And in advance i don't know the good file or not, therefore i use the pre-scan with nconvert and -info key. For example, sometimes(seldom), issue of check file is "success", but in result of converting is not good - there is one half of image is gray:( Probably it happens when the cd or dvd surface was somewhat damaged, and reading process was poor.And the picture is ok?
Sorry, but i'm not quite understand you... If i get(with -info key before) the issue "success" - does it mean that appropriate image file will be converted properly?The only way is to load the file
Pierre.
- Cinemaizer
- Posts: 23
- Joined: Mon Jan 28, 2008 2:22 pm
- Location: Russia
- Cinemaizer
- Posts: 23
- Joined: Mon Jan 28, 2008 2:22 pm
- Location: Russia
Pierre!
Sorry for worry, but seems there is a problem with -info with grayscale images. That is some results:
"j:\for_Nata\sample1.jpg : Success
Format : JPEG Grayscale (v1.2)
Name : jpeg
Compression : JPEG
Width : 1024
Height : 768
Components per pixel : 1
Bits per component : 8
Depth : 8
# colors : 256
Color model : RGB
Bytes Per Plane : 1024
Orientation : Top Left
Xdpi : 180
Ydpi : 180
Page(s) : 1"
Is this possible? RGB with 256 colors... The same result (=Color model RGB) with other formats - i've tried *.png(grayscale), *.tif(grayscale), etc.
I think the "Color model" must be "Gray" or "Grayscale"...
Sorry for worry, but seems there is a problem with -info with grayscale images. That is some results:
"j:\for_Nata\sample1.jpg : Success
Format : JPEG Grayscale (v1.2)
Name : jpeg
Compression : JPEG
Width : 1024
Height : 768
Components per pixel : 1
Bits per component : 8
Depth : 8
# colors : 256
Color model : RGB
Bytes Per Plane : 1024
Orientation : Top Left
Xdpi : 180
Ydpi : 180
Page(s) : 1"
Is this possible? RGB with 256 colors... The same result (=Color model RGB) with other formats - i've tried *.png(grayscale), *.tif(grayscale), etc.
I think the "Color model" must be "Gray" or "Grayscale"...
- Cinemaizer
- Posts: 23
- Joined: Mon Jan 28, 2008 2:22 pm
- Location: Russia
- Cinemaizer
- Posts: 23
- Joined: Mon Jan 28, 2008 2:22 pm
- Location: Russia
Hello Pierre!
Could you implement two new features with -info key...
1) EXIF flag (with yes\no values for ex.)?
2) Filesize (in bytes)
So, I mean the following thing:
Q:\SLIDE-SHOW\BK0157.jpg : Success
Format : JPEG TrueColor (v1.1)
Name : jpeg
Compression : JPEG
Width : 1500
Height : 1200
Components per pixel : 3
Bits per component : 8
Depth : 24
# colors : 16777216
Color model : RGB
Bytes Per Plane : 4500
Orientation : Top Left
Xdpi : Not set
Ydpi : Not set
Page(s) : 1
EXIFdata : Yes
Filesize : 325945
Thanks in advance!
Could you implement two new features with -info key...
1) EXIF flag (with yes\no values for ex.)?
2) Filesize (in bytes)
So, I mean the following thing:
Q:\SLIDE-SHOW\BK0157.jpg : Success
Format : JPEG TrueColor (v1.1)
Name : jpeg
Compression : JPEG
Width : 1500
Height : 1200
Components per pixel : 3
Bits per component : 8
Depth : 24
# colors : 16777216
Color model : RGB
Bytes Per Plane : 4500
Orientation : Top Left
Xdpi : Not set
Ydpi : Not set
Page(s) : 1
EXIFdata : Yes
Filesize : 325945
Thanks in advance!
- Cinemaizer
- Posts: 23
- Joined: Mon Jan 28, 2008 2:22 pm
- Location: Russia
- Cinemaizer
- Posts: 23
- Joined: Mon Jan 28, 2008 2:22 pm
- Location: Russia