Search found 12 matches

by Arvind
Tue Jul 06, 2010 1:36 pm
Forum: NConvert
Topic: NConvert process returns exit code -2
Replies: 11
Views: 3527

Re: NConvert process returns exit code -2

Hi,
I put try-catch block surrounding Runtime.exec() code. It shows the correct error.

got the exception-->java.io.IOException: Cannot run program ""//data/stacks/nConvert/NConvert/nconvert"" : java.io.IOException: error=2, No such file or directory

The code was trying to run this command ...
by Arvind
Wed Jun 02, 2010 11:07 am
Forum: NConvert
Topic: NConvert process returns exit code -2
Replies: 11
Views: 3527

Re: NCovert process returns exit code

I am trying to run nconvert on Linux programmatically.

The subprocess returned with exit code 254.

What does this mean?

The file was not generated.
by Arvind
Wed Jun 02, 2010 5:42 am
Forum: NConvert
Topic: Improving nConvert performance
Replies: 8
Views: 2379

Re: Improving nConvert performance

I tried by removing double quotes in the filepath.
It could read all files in the input directory but only one generated file is created. The target file name is not having the same name as input file. IT is being generated as %%.jpg

"C:/XnView/nconvert" -out jpeg -truecolors -bgcolor 255 255 255 ...
by Arvind
Tue Jun 01, 2010 11:24 am
Forum: NConvert
Topic: Improving nConvert performance
Replies: 8
Views: 2379

Re: Improving nConvert performance

I tried batch conversion using below command from command-line. It failed.
The files to be converted do not have any pattern in their names; they colud be random file names. SO, i need a generic way of reading all of them & applying nconvert on each one.

"C:/XnView/nconvert" -out jpeg -truecolors ...
by Arvind
Wed May 26, 2010 6:11 am
Forum: NConvert
Topic: Improving nConvert performance
Replies: 8
Views: 2379

Re: Improving nConvert performance

Files differ in every use case i use. But stiil, I can share few sample files. Please let me know how should I send them. I could not find Upload Attachment option anywhere. Can i send by email directly to you? If yes, please give the mail id.

nconvert -help : this just gives the possible command ...
by Arvind
Fri May 21, 2010 4:12 am
Forum: NConvert
Topic: Improving nConvert performance
Replies: 8
Views: 2379

Re: Improving nConvert performance

Sorry.
That was a wrong example.

Cosnider this:
"C:\XnView\nconvert" -out jpeg -truecolors -bgcolor 255 255 255 -ratio -resize 42 42 -canvas 42 42 center -o "E:\mxThumbnail Image\B_W_Sketch_Front_B_W.jpg" "E:\B_W_Sketch_Front_B_W.jpg"

Also, is there any documentation to explain what each of these ...
by Arvind
Thu May 20, 2010 9:51 am
Forum: NConvert
Topic: Improving nConvert performance
Replies: 8
Views: 2379

Improving nConvert performance

Hi,
I am using nconvert to transform a given file to another file of different dimensions.
Input File size: 541 kb
Command used: "C:\XnView\nconvert" -out jpeg -truecolors -bgcolor 255 255 255 -ratio -resize 0 0 -canvas 0 0 center -o "E:\mxImage\Color_Way_A.jpg" "E:\Color_Way_A.jpg"
This is taking ...
by Arvind
Tue May 18, 2010 10:03 am
Forum: NConvert
Topic: performance: Whats the fastest way to resize and resample?
Replies: 6
Views: 4283

Re: performance: Whats the fastest way to resize and resampl

Hi,
Is this thumb size option implemented in higher versions of nConvert?
If yes, how do you use it?
Could you explain with an example?

Thanks
arvind
by Arvind
Mon May 10, 2010 8:05 am
Forum: NConvert
Topic: Is nconvert processing parallel in case of multiple threads?
Replies: 1
Views: 1222

Is nconvert processing parallel in case of multiple threads?

Hi,
Is nConvert multi-threaded?
I want to know if multiple threads running nConvert command (to convert given AI file to JPEG) are started at the same time, will they run in parallel?
How can i concretely prove that this indeed occurs in parallel?
Will all threads complete conversion at the same ...
by Arvind
Thu Apr 22, 2010 4:10 am
Forum: NConvert
Topic: NConvert process returns exit code -2
Replies: 11
Views: 3527

Re: NCovert process returns exit code -2

Yes, the conversion failed.
by Arvind
Wed Apr 21, 2010 10:32 am
Forum: NConvert
Topic: nConvert on AIX 6.1
Replies: 2
Views: 983

Re: nConvert on AIX 6.1

Hi,
Is there any plan to support AIX6.1 in the future?

If not, what is the alternative?

thanks
arvind
by Arvind
Wed Apr 21, 2010 9:22 am
Forum: NConvert
Topic: NConvert process returns exit code -2
Replies: 11
Views: 3527

NConvert process returns exit code -2

Hi,
I am trying to run nConvert command on a input file to convert it into a JPG.
This is being done from a Java program using Runtime class.
Code snippet is as below:
Runtime app = Runtime.getRuntime();
Process proc;
try
{
proc = app.exec(cmd.toString(), null, workingDirectory);
}

int ...