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

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
magmical
Posts: 30
Joined: 2013-05-03T05:31:05-07:00
Authentication code: 6789

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

Post 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.
Last edited by magmical on 2014-02-20T07:58:50-07:00, edited 4 times in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MSL: What attributes has <write> ?

Post 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.
magmical
Posts: 30
Joined: 2013-05-03T05:31:05-07:00
Authentication code: 6789

Re: MSL: What attributes has <write> ?

Post by magmical »

Thanks. Thats what I needed. :)

Another question:

Is filename the only attribute of <read> ?

Code: Select all

<read filename="image.gif" />
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
magmical
Posts: 30
Joined: 2013-05-03T05:31:05-07:00
Authentication code: 6789

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

Post by magmical »

Thanks again! :)
Post Reply