This project has moved and is read-only. For the latest updates, please go here.

Density with Script

Jul 23, 2015 at 7:22 PM

How can i set the output image density with MagickScript ?

Best regards,
Jul 23, 2015 at 8:46 PM
Edited Jul 23, 2015 at 8:46 PM
You can do that with the density tag:
<msl xmlns:xsi="" xsi:noNamespaceSchemaLocation="C:\YourFolder\MagickScript.xsd">
    <read fileName="input.jpg">
        <density value="300"/>
        <write fileName="output.jpg"/>
You will get code completion in Visual Studio if you set 'xsi:noNamespaceSchemaLocation' to the location of MagickScript.xsd. This file is included in the zip file of the release.