XnConvert, scripts incompatible with XnView?

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

colin_e
Posts: 7
Joined: Fri Jan 18, 2008 2:04 pm

XnConvert, scripts incompatible with XnView?

Post 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.
XnConvert script issue.jpg
You do not have the required permissions to view the files attached to this post.
Regards: Colin
User avatar
xnview
Author of XnView
Posts: 40598
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnConvert, scripts incompatible with XnView?

Post 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...
Pierre.
colin_e
Posts: 7
Joined: Fri Jan 18, 2008 2:04 pm

Re: XnConvert, scripts incompatible with XnView?

Post 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
Regards: Colin
User avatar
xnview
Author of XnView
Posts: 40598
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnConvert, scripts incompatible with XnView?

Post 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...
Pierre.
colin_e
Posts: 7
Joined: Fri Jan 18, 2008 2:04 pm

Re: XnConvert, scripts incompatible with XnView?

Post 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.
Regards: Colin