[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[IDV #ZYN-499864]: Scripting
- Subject: [IDV #ZYN-499864]: Scripting
- Date: Mon, 14 Dec 2009 07:48:40 -0700
Hi Bob,
>
> I seem to be having issues using the resize tag in an isl file. The isl
> initially runs fine then hits the resize tag resulting in an
> "resize: unknown tag" error or something to that effect.
>
> I have pasted the isl/xml content below, perhaps I am doing something
> wrong, however I have following the workshop manual samples regarding
> resizing an image - or at least I think I have!!!
>
The resize tag is an operator on the image and needs to be inside the image tag.
e.g.:
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <isl debug="true" loop="1" offscreen="true" sleep="60.0minutes">
> <bundle clear="true" file="${islpath}/gfsurface.xidv" wait="true"/>
> <image file="${islpath}/gfsurface.png">
<resize width="800"/>
</image>
Also, you probably don't need to do the second resize:
> <resize height="600"/>
As the first resize will set the height so as to maintain the aspect ratio of
the image.
-Jeff
Ticket Details
===================
Ticket ID: ZYN-499864
Department: Support IDV
Priority: Normal
Status: Closed