Quantcast
Channel: magick Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1011

Commented Feature: Custom implementation of Magick Script Language [968]

$
0
0
Add a class that can parse a script that can be used to perform batch operations on images. For example:

```
<msl>
<image fileName="input.jpg">
<resize percentage="0.5"/>
<write fileName="output.jpg"/>
</image>
</msl>
```
Comments: ** Comment from web user: dlemstra **

The format will be xml so I can just read it with a xmlreader. I will add an xsd that can be used to check most of the script. That does have a disadvantage because with xsd i cannot check invallid attribute combinations like:
```
<resize width="500" percentage="0.5"/>
```
I have to check that in code while i am reading the script.


Viewing all articles
Browse latest Browse all 1011

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>