Batch Processing incorrectly parses some script files

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
TheEvilHammer
Posts: 55
Joined: Mon Sep 12, 2005 8:08 pm

Batch Processing incorrectly parses some script files

Post by TheEvilHammer »

Using the XnView GUI, I created a new batch processing script with the following transformations:
  • Resize
  • Add Text
  • Add Watermark
  • Resize
I saved the list of transformations as a script (.xbs file), which looks like this (actual settings removed):

Code: Select all

resize( ... )
text( ... )
watermark( ...)
resize( ... )
settings( ... )
output_path( ... )
output( ... )
However, if I try to open this script in the Batch Processing dialog in XnView, the script file is not parsed correctly: the last transformation (the second resize) is missing from the list of transformations. Not surprisingly, if I run the batch processing task, the last resize operation is not performed.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Processing incorrectly parses some script files

Post by xnview »

With 1.95??
Pierre.
TheEvilHammer
Posts: 55
Joined: Mon Sep 12, 2005 8:08 pm

Post by TheEvilHammer »

XnView version 1.94.2
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Could you try with 1.95? And send me the xbs?
Pierre.
TheEvilHammer
Posts: 55
Joined: Mon Sep 12, 2005 8:08 pm

Post by TheEvilHammer »

Yup, still a problem with 1.95. I will PM you the script file.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Ok, the problem is xbs save, add a space before ) for watermark
Pierre.
TheEvilHammer
Posts: 55
Joined: Mon Sep 12, 2005 8:08 pm

Post by TheEvilHammer »

Yup, that fixed it. Will this be fixed in the next version?
Post Reply