NConvert, Canon CRW to Jpeg size problem
Moderators: helmut, XnTriq, xnview
-
- Posts: 5
- Joined: Fri Feb 18, 2005 8:26 pm
- Location: Prince Albert, Canada
- Contact:
NConvert, Canon CRW to Jpeg size problem
I'm new to XnView and need some help with NConvert.
I want to convert my Canon CRW files to Jpegs using a batch file.
When I try this a get a file that is very small 97.88 KB compared to the original 7.08 MB.
I have tried to use XnView and export for NConvert. This file contained nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o
C:\PASS\Scripts\Under construction\image\image\newfiles\converted "C:\PASS\Scripts\Under construction\image\image\newfiles\converted\CRW_0221.CRW"
With this I had to use " as the path name has spaces in it and inculde a output file name.
This still creates a 97.88KB file.
I wrote a batch file, containing:
nconvert.exe -out jpeg "C:\PASS\Scripts\Under
construction\image\image\newfiles\originals\CRW_0220.CRW"
This also creates a 97.88KB file.
What am I doing worng?
Is it possible to convert Canon CRW to Jpeg using NConvert?
Please help
I want to convert my Canon CRW files to Jpegs using a batch file.
When I try this a get a file that is very small 97.88 KB compared to the original 7.08 MB.
I have tried to use XnView and export for NConvert. This file contained nconvert -npcd 2 -size 256x256+0 -ctype grey -corder inter -out jpeg -o
C:\PASS\Scripts\Under construction\image\image\newfiles\converted "C:\PASS\Scripts\Under construction\image\image\newfiles\converted\CRW_0221.CRW"
With this I had to use " as the path name has spaces in it and inculde a output file name.
This still creates a 97.88KB file.
I wrote a batch file, containing:
nconvert.exe -out jpeg "C:\PASS\Scripts\Under
construction\image\image\newfiles\originals\CRW_0220.CRW"
This also creates a 97.88KB file.
What am I doing worng?
Is it possible to convert Canon CRW to Jpeg using NConvert?
Please help
-
- Posts: 5
- Joined: Fri Feb 18, 2005 8:26 pm
- Location: Prince Albert, Canada
- Contact:
Update: More information
I've run this batch with the -v on and piped the output to a file.
I still get the small file produced.
Taken from output file:
C:\Images\Test>C:\Progra~1\xnview\nconvert.exe -npcd 2 -v -size 256x256+0 -ctype grey -corder inter -out jpeg -o C:\Images\Test\TEST.jpg "C:\Images\Test\CRW_0370.CRW"
** NCONVERT v4.25 (c) 1991-2004 Pierre-E Gougelet (Oct 8 2004/15:42:00) **
Version for Windows NT/9x/2000 (All rights reserved)
** This is a freeware software (for non commercial use)
A Canon PowerShot (RGB) - JPEG was recognized : C:\Images\Test\CRW_0370.CRW
Width:640 Height:480 with 16777216 colors
Nplanes : 1 Bitscount : 24
Bytes Per Plane : 1920
xdpi : 1 ydpi : 1
Taken from output in DOs window:
A Jpeg was writen : C:\Images\Test\TEST.jpg
Width:640 Height:480 with 16777216 colors
Conversion of C:\Images\Test\CRW_0370.CRW into C:\Images\Test\TEST.jpg OK
Also when I click the "Save Script" button itjust saves a 0 byte sized file.
I have also noticed that when I view the CRW files properties in XnView it shows the corect files size but the image dimensions are 640 x 480, for jpegs is shows the correct dimensions. Is this normal?
I still get the small file produced.
Taken from output file:
C:\Images\Test>C:\Progra~1\xnview\nconvert.exe -npcd 2 -v -size 256x256+0 -ctype grey -corder inter -out jpeg -o C:\Images\Test\TEST.jpg "C:\Images\Test\CRW_0370.CRW"
** NCONVERT v4.25 (c) 1991-2004 Pierre-E Gougelet (Oct 8 2004/15:42:00) **
Version for Windows NT/9x/2000 (All rights reserved)
** This is a freeware software (for non commercial use)
A Canon PowerShot (RGB) - JPEG was recognized : C:\Images\Test\CRW_0370.CRW
Width:640 Height:480 with 16777216 colors
Nplanes : 1 Bitscount : 24
Bytes Per Plane : 1920
xdpi : 1 ydpi : 1
Taken from output in DOs window:
A Jpeg was writen : C:\Images\Test\TEST.jpg
Width:640 Height:480 with 16777216 colors
Conversion of C:\Images\Test\CRW_0370.CRW into C:\Images\Test\TEST.jpg OK
Also when I click the "Save Script" button itjust saves a 0 byte sized file.
I have also noticed that when I view the CRW files properties in XnView it shows the corect files size but the image dimensions are 640 x 480, for jpegs is shows the correct dimensions. Is this normal?
Re: Update: More information
Do you have tried options/Read/CRW/High resolution in XnView, and -high_res for NConvert?mr_munchie wrote:I have also noticed that when I view the CRW files properties in XnView it shows the corect files size but the image dimensions are 640 x 480, for jpegs is shows the correct dimensions. Is this normal?
Pierre.
-
- Posts: 5
- Joined: Fri Feb 18, 2005 8:26 pm
- Location: Prince Albert, Canada
- Contact:
Update: Size problem fixed, now have a colour problem
The -high_res option fixed the size problem.
Now I have a new problem, the wite balance. The picture turns orange.
I had this p[roblem with XnView. Turning on automatic white balance fixed this.
I can't find a use automatic white balance option for NConvert.
Is there one?
Now I have a new problem, the wite balance. The picture turns orange.
I had this p[roblem with XnView. Turning on automatic white balance fixed this.
I can't find a use automatic white balance option for NConvert.
Is there one?
Re: Update: Size problem fixed, now have a colour problem
I'll add it in NConvert.mr_munchie wrote:The -high_res option fixed the size problem.
Now I have a new problem, the wite balance. The picture turns orange.
I had this p[roblem with XnView. Turning on automatic white balance fixed this.
I can't find a use automatic white balance option for NConvert.
Is there one?
Pierre.
-
- Posts: 5
- Joined: Fri Feb 18, 2005 8:26 pm
- Location: Prince Albert, Canada
- Contact:
Thanks
Thanks for all your help. I like XnView and NConvert. I think they are great programs and very useful.
I shall wait patiently for the next release.
I shall wait patiently for the next release.
wrong size when converting RAW
I seem to have the same problem as reported above. Using the -high_res or not doesn't make a difference. NCONVERT seems to recognize the file as being 980x1308x16 while it's not. Opening the CRW file in XnView gives me the correct size of 1960x2616x24.
Somebody any idea on what I could try ?
[/code]
Somebody any idea on what I could try ?
Code: Select all
>nconvert.exe -v -high_res -o test_%.png -out png -32bits CRW_0582.crw
** NCONVERT v4.78 (c) 1991-2005 Pierre-E Gougelet (Mar 14 2007/08:54:56) **
Version for Windows NT/9x/2000 (All rights reserved)
** This is a freeware software (for non commercial use)
Loading Canon PowerShot S60 image from CRW_0582.crw...
Write image...
A PowerShot S60 (RGB) was recognized : CRW_0582.crw
Width:980 Height:1308 with 16777216 colors
Nplanes : 1 Bitscount : 24
Bytes Per Plane : 2940
xdpi : 0 ydpi : 0
Converting in 32bits...
Conversion of CRW_0582.crw into test_CRW_0582.png OK
Re: wrong size when converting RAW
Could you send me the CRW please?wiffel wrote:I seem to have the same problem as reported above. Using the -high_res or not doesn't make a difference. NCONVERT seems to recognize the file as being 980x1308x16 while it's not. Opening the CRW file in XnView gives me the correct size of 1960x2616x24.
Somebody any idea on what I could try ?
[/code]Code: Select all
>nconvert.exe -v -high_res -o test_%.png -out png -32bits CRW_0582.crw ** NCONVERT v4.78 (c) 1991-2005 Pierre-E Gougelet (Mar 14 2007/08:54:56) ** Version for Windows NT/9x/2000 (All rights reserved) ** This is a freeware software (for non commercial use) Loading Canon PowerShot S60 image from CRW_0582.crw... Write image... A PowerShot S60 (RGB) was recognized : CRW_0582.crw Width:980 Height:1308 with 16777216 colors Nplanes : 1 Bitscount : 24 Bytes Per Plane : 2940 xdpi : 0 ydpi : 0 Converting in 32bits... Conversion of CRW_0582.crw into test_CRW_0582.png OK
Pierre.
Re: wrong size when converting RAW
Hi,Could you send me the CRW please?
You can find the raw image at http://www.tilient.net/images/CRW_0582.CRW.
It works OK if I use XnView with the right options. So I do have a workaround. But it would be nice if I could use NConvert for it.
Thanks for putting your time into this.
Re: wrong size when converting RAW
Ok, i'll update a version!wiffel wrote:Hi,Could you send me the CRW please?
You can find the raw image at http://www.tilient.net/images/CRW_0582.CRW.
It works OK if I use XnView with the right options. So I do have a workaround. But it would be nice if I could use NConvert for it.
Thanks for putting your time into this.
Pierre.
Re: wrong size when converting RAW
Hi Pierre,xnview wrote:Ok, i'll update a version!
I did see something strange in XnView that could be related to this. Maybe it can help you, maybe not ...
I noticed that the RAW files show the correct size info in the info bar (at the bottom of the screen) in XnView. But if you click on them (the thumbnail) in the browser window, incorrect size is shown in the info bar. Maybe it's just luck (or unluck in this case) but it is this size that a conversion with NConvert gives as a result.
Wilfried
PS: By the way, I do have the same kind of error when converting PEF files of my GX-1S camera. If it helps you, you can find an example file at http://www.tilient.net/images/SG1S5767.PEF