Hello !
It is my second try with nconvert to automate eps to png conversion.
The first time, I had problem with the transparent colors in the EPS not being converted to white in the PNG, buit to a more or less gray color.
I want to give this a second try (imagemagick's mogrify is just too sloooooow), but now I just can't find a way to specify the DPI for the output !
Inputs are in EPS format, so outputting without a DPI value doesn't make sense !
I tried :
nconvert -out png -dpi 150 toto.eps
nconvert -out ong -dpi 10 toto.eps
nconvert -out png toto.eps
and all with the same result ! The dpi value doesn't change the size of my PNG !
What am I doing wrong ?
Thanks a lot !
Arnaud
NConvert EPS->PNG : DPI question
Moderators: XnTriq, helmut, xnview
-
- Posts: 25
- Joined: Fri Sep 10, 2004 7:00 am
OK I have some hints !
The eps is recognized as a tiff I think
The eps is recognized as a tiff I think
When I try to force input to eps :C:\temp>nconvert -v -out png -dpi 50 toto.eps
** NCONVERT v4.22 (c) 1991-2004 Pierre-E Gougelet (Jul 7 2004/09:58:01) **
Version for Windows NT/9x/2000 (All rights reserved)
** This is a freeware software (for non commercial use)
A TIFF (RGB) - Rle was recognized : toto.eps
Width:1192 Height:1875 with 16777216 colors
Nplanes : 1 Bitscount : 24
Bytes Per Plane : 3576
xdpi : 36 ydpi : 36
A PiNG was writen : toto.png
Width:1192 Height:1875 with 16777216 colors
Conversion of toto.eps into toto.png OK
I am quite puzzled now ....C:\>nconvert -v -out png -in eps -dpi 50 toto.eps
** NCONVERT v4.22 (c) 1991-2004 Pierre-E Gougelet (Jul 7 2004/09:58:01) **
Version for Windows NT/9x/2000 (All rights reserved)
** This is a freeware software (for non commercial use)
Error: Don't know how to read this picture (toto.eps)
-
- Author of XnView
- Posts: 44473
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Yes, it is an EPS with a TIFF preview.xnview wrote:Yes, your file seems to be a TIFF file. Are you sure that it's an EPS?Bingo wrote:OK I have some hints !
The eps is recognized as a tiff I think
Or EPS with TIFF preview??
Pierre.
But I think I can't help that ! It is generated automatically by another software...
NB : I used the same EPS, when I first tried nconvert, and this did not happen...
-
- Posts: 25
- Joined: Fri Sep 10, 2004 7:00 am
-
- Author of XnView
- Posts: 44473
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 25
- Joined: Fri Sep 10, 2004 7:00 am
-
- Author of XnView
- Posts: 44473
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 25
- Joined: Fri Sep 10, 2004 7:00 am
-
- Author of XnView
- Posts: 44473
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
i have tested, and here is my result with NConvert v4.22Bingo wrote:Pierre, did you find something special with my file ?
nconvert -dpi 10 -out jpeg -o test.jpg test.eps
The result file is 330x520
nconvert -dpi 50 -out jpeg -o test.jpg test.eps
The result file is 1654x2603
Code: Select all
** NCONVERT v4.22 (c) 1991-2004 Pierre-E Gougelet (Jul 7 2004/09:58:01) **
Version for Windows NT/9x/2000 (All rights reserved)
** This is a freeware software (for non commercial use)
A Encapsuled Postscript (RGB) was recognized : toto.eps
Width:330 Height:520 with 16777216 colors
Nplanes : 1 Bitscount : 24
Bytes Per Plane : 990
xdpi : 10 ydpi : 10
A Jpeg was writen : test.jpg
Width:330 Height:520 with 16777216 colors
Could you try again, please?
Pierre.
-
- Posts: 25
- Joined: Fri Sep 10, 2004 7:00 am