Page 1 of 1

XnConvert, scripts incompatible with XnView?

Posted: Mon Jan 31, 2011 9:50 pm
by colin_e
XnConvert: 0.95 Beta
XnView: 1.97.8

As per this posting- http://newsgroup.xnview.com/viewtopic.php?f=35&t=21754 I was hoping to try XnConvert to allow me to complate a task in one pass that currently needs two steps in XnView- scaling and renaming a batch of files.

Observations-
  1. XnConvert does not seem to be compatible with existing XnView script files. Although it offers to open ".xbs" files, if I load my existing simple 2-step XnView script file, no transformations are shown in XnConvert.
  2. The transformations that worked in XnView produce different results in XnConvert (see image below) if I set up the same sequence in the XvConvert UI. The aim is to take a list of incoming images of any size and fit them, undistorted in the centre of a 1024x576 black canvas.
Perhaps XnConvert script command are not expected to be compatible with XnView. In which case-
  1. It would be useful if the program gave a useful error message, or even better offered to upgrade XnView scripts to the XnConvert syntax.
  2. Option naming etc. in the UI needs some work. I have been fiddling with this for a while but I haven't worked out how to set up XnConvert to achieve the desired result as it doesn't seem to have the same options for expanding a canvas without resizing the image at the same time.
Batch conversion differnces betwenn XnView and XnConvert.
Batch conversion differnces betwenn XnView and XnConvert.
XnConvert script issue.jpg (37.25 KiB) Viewed 2635 times

Re: XnConvert, scripts incompatible with XnView?

Posted: Tue Feb 01, 2011 1:09 pm
by xnview
Right for the "resize fit", not the same result.
And yes, currently no way to load xbs script, i'll add the support...

Re: XnConvert, scripts incompatible with XnView?

Posted: Wed Feb 02, 2011 12:14 am
by colin_e
xnview wrote:Right for the "resize fit", not the same result.
And yes, currently no way to load xbs script, i'll add the support...
Script import compatibility would be great, thanks. I don't understand the other point though.

If "Resize fit" behaves differently now, how can I find out what sequence of commands I need to use in XnConvert to achieve the "fit a scaled image in the centre of a fixed-size canvas" result?

Regards: colin_e

Re: XnConvert, scripts incompatible with XnView?

Posted: Wed Feb 02, 2011 9:23 am
by xnview
colin_e wrote: If "Resize fit" behaves differently now, how can I find out what sequence of commands I need to use in XnConvert to achieve the "fit a scaled image in the centre of a fixed-size canvas" result?
I'll fix it...

Re: XnConvert, scripts incompatible with XnView?

Posted: Thu Feb 03, 2011 6:58 pm
by colin_e
xnview wrote:
colin_e wrote: If "Resize fit" behaves differently now, how can I find out what sequence of commands I need to use in XnConvert to achieve the "fit a scaled image in the centre of a fixed-size canvas" result?
I'll fix it...
Ok great thanks. In the previous posting I wasn't sure if you were saying this was a bug, or whether I was just using XnConvert incorrectly.