O'Reilly logo

ImageMagick Tricks by Sohail Salehi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What are the Valid Key-Value Pairs for MSL files?

Based on the current version of ImageMagick (it is 6.2.5 at the time of writing this chapter) there is a limit to the number of keys and values that we can use in MSL files.

Due to using XML notation in MSL, every element consists of a structure that starts with<element name>, content appears after that, and ends with</element name>. The table given overleaf summarizes them:

Element

Attribute name

Description

Usage

<image> </image>

background, color, id, size

Use this key for defining a new object. Every other key that will be placed between the start and end of this one will act on the current image object. We can use multiple nested<image> keys for implementing multi-layer or multi-paged ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required