Page 1 of 1

Start Batch processing with fixed file

Posted: Mon Apr 04, 2016 6:24 am
by TomTom1
Hello Together,

I' am a newbie and registered me. Hope to find some answers to a problem with the XnV batch processing.

I generate with an Access database a gif file day by day. A part of this gif file is unnecessary and I want to cut this area. My database can't cut this area because it's part of a diagram and content transparent.

So, my plan is to use XnV after creation to cut the finished gif file with a Batch. Cut and save afterwards the file it's not a problem for me.

But is there a possibility to tell the Batch processing to use always the same file? And I believe the next step would be to tell XnV to start processing.

Note: Gif is located on my computer in a fix folder and with a fix name.

I tested to give the Batch file in advance the name of the gif like

Code: Select all

"C:\Program Files (x86)\XnView\xnview.exe"  C:\MyFile\Temp\Tacho1.gif
But it doesn't happened with the Batch.

Any recommendations for me? Would be great to get feedback.

Cheers, Tom

Re: Start Batch processing with fix file

Posted: Mon Apr 04, 2016 7:06 am
by cday
I'm not exactly sure what you want to do, or whether it is possible using XnView, but you might look at whether the XnConvert 'Hot folder' input option could provide a good solution: when a file arrives in the 'hot' (or 'watched') folder it is automatically converted with the set actions and output with the set filename, which could include a time stamp, for example.

Alternatively, the NConvert command line utility could be used to create a simple batch file .bat which when run could perform the conversion on the input file and then output the result. Simply double-clicking on the batch file when the new gif is in the input file would then perform the conversion.

[Note that the XnConvert 'Export for NConvert' option (or the equivalent option in XnView) only outputs the image processing actions set, not the full NConvert code required.]

Re: Start Batch processing with fixed file

Posted: Mon Apr 04, 2016 1:07 pm
by TomTom1
Hi, Thank you for your proposal. Well, it works for me. I tested it with the solution "Hot folder". In the meantime I found also a report setting in my database which helps to cut the picture. I try to avoid too many 3rd party software in my database so I will not use XnV in current function. But have other two, three ideas to use it!

Thanks, again and Regards from Bremen/Germany

Tom