Page 1 of 1

[SOLVED] MSL: What attributes has <read> and <write> ?

Posted: 2014-02-18T07:14:23-07:00
by magmical
Hello everyone!

Can somebody give me a hint what attributes has the <write> command (Magick Scripting Language)?

Code: Select all

<write filename="image.png" />
I found out that also a quality attribute works:

Code: Select all

<write filename="image.png" quality="70%" />
Any more attributes?

Thanks.

Re: MSL: What attributes has <write> ?

Posted: 2014-02-18T08:10:47-07:00
by magick
See http://www.imagemagick.org/script/perl- ... -attribute. Any PerlMagick attribute should be support by MSL. If not, let us know and we will add support in the next point release of ImageMagick.

Re: MSL: What attributes has <write> ?

Posted: 2014-02-19T06:58:53-07:00
by magmical
Thanks. Thats what I needed. :)

Another question:

Is filename the only attribute of <read> ?

Code: Select all

<read filename="image.gif" />

Re: MSL: What attributes has <read> and <write> ?

Posted: 2014-02-19T07:44:58-07:00
by magick
It should accept the same attributes as the write element. If you find differently, let us know and we will make sure the attribute is supported in the next point release of ImageMagick.

Re: [SOLVED] MSL: What attributes has <read> and <write> ?

Posted: 2014-02-20T08:00:04-07:00
by magmical
Thanks again! :)