Search found 10 matches

by pedronac
Wed Mar 02, 2016 3:11 pm
Forum: NConvert
Topic: NConvert : batch rename with step counting
Replies: 9
Views: 2804

Re: NConvert : batch rename with step counting

thanks for that like cday.
I found a post that described a very similar problem.
Hopefully Pierre will see it :)
by pedronac
Wed Mar 02, 2016 3:10 pm
Forum: NConvert
Topic: PDF to PNGs
Replies: 8
Views: 2603

Re: PDF to PNGs

I have tried 2 methods (with and without the -xall switch) (the source PDF has 6 pages):

1.: nconvert.exe -n 1 3 1 -xall -o test_2_####.png -out png sporce_pdf.pdf
Oh sorry right, the page number is added as '#', and -n must not be used here.
I need to add a template for page number...


Hello ...
by pedronac
Tue Mar 01, 2016 5:49 pm
Forum: NConvert
Topic: NConvert : batch rename with step counting
Replies: 9
Views: 2804

Re: NConvert : batch rename with step counting

I did more tests using -n command.
Any combination of figures :
-n 1 553 24
-n 1 24 4
-n 4 4 4
...

Every line gives the same result : numering stating from 0 (test-0.png) until 23 (test-23.png).

You say the problem might come from -xall command ?
So if I convert the pdf to png I may not need to ...
by pedronac
Tue Mar 01, 2016 12:54 pm
Forum: NConvert
Topic: NConvert : batch rename with step counting
Replies: 9
Views: 2804

Re: NConvert : batch rename with step counting

-D command is welcome (it was looping before).
But the step function does not work.

I downloaded BRC.
It seems a very powerful tool.
But some how too complicated.

I searched some options using DOS.
But it requires some level of programming.
By the way, I fund that : http://superuser.com ...
by pedronac
Tue Mar 01, 2016 11:24 am
Forum: NConvert
Topic: NConvert : batch rename with step counting
Replies: 9
Views: 2804

Re: NConvert : batch rename with step counting

I ways use test files and save the originals for use when I'm 100% sure of the process.
I will try to add the -d option and the the BRC and keep you updated.
But I know that XNView has a rename function, that's why I was trying to find the good command.
by pedronac
Tue Mar 01, 2016 7:57 am
Forum: NConvert
Topic: NConvert : batch rename with step counting
Replies: 9
Views: 2804

Re: Nconvert : batch rename with step counting

Hello Mixer,

It is not classified.
For instance there is 2 lines of code.
nconvert -dither -grey 256 -crop 42 250 945 200 -out png -xall -dpi 250 -o test-cropped test.pdf
nconvert -n 1 573 24

The first converts all pages of pdf to png with 256 gray, dpi at 250, crop file and name to test-cropped ...
by pedronac
Mon Feb 29, 2016 10:39 pm
Forum: NConvert
Topic: NConvert : batch rename with step counting
Replies: 9
Views: 2804

NConvert : batch rename with step counting

hi,

I'm seting up a batch file for nconvert (http://newsgroup.xnview.com/viewtopic.php?f=79&t=32800&p=130483#p130483).
But I'm missing some thing with the names of out put files.
I tried the -n command, without success.

Can someone help me to rename files with a step of 24 ?

The standard output ...
by pedronac
Mon Feb 29, 2016 10:19 pm
Forum: XnConvert
Topic: XnConvert : multiple crop from 1 file
Replies: 4
Views: 3706

Re: XnConvert : multiple crop from 1 file

Hi cday,

Yes, -dpi works and -xall also !
Thanks :)

now I need just to have the command line for auto renaming.
But I will do it into the good forum :)
by pedronac
Mon Feb 29, 2016 7:02 pm
Forum: XnConvert
Topic: XnConvert : multiple crop from 1 file
Replies: 4
Views: 3706

Re: XnConvert : multiple crop from 1 file

Thanks cday for your post.

From XnConvert, I tried the script for xnview and .bat for nconvert

With XnView I have error message "format of the file could not be determined", "For display less common format, the following option is available: Option->General->[x] Display all image file types".
I ...
by pedronac
Mon Feb 29, 2016 1:02 pm
Forum: XnConvert
Topic: XnConvert : multiple crop from 1 file
Replies: 4
Views: 3706

XnConvert : multiple crop from 1 file

Hello,

I use Xnconvert.

I have a pdf file with multiple pages.
From each page I need to extract seceral images (same place at each page).
The out put is PNG with 256 colors.
Each extracted image need to respect a numbering order.

For exemple :
file 1 = page1-image1.png
file 2 = page1-image2.png ...