This project has moved. For the latest updates, please go here.

Density with Script

Jul 23, 2015 at 6:22 PM
Hi,

How can i set the output image density with MagickScript ?

Best regards,
Coordinator
Jul 23, 2015 at 7:46 PM
Edited Jul 23, 2015 at 7:46 PM
You can do that with the density tag:
<msl xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\YourFolder\MagickScript.xsd">
    <read fileName="input.jpg">
        <density value="300"/>
        <write fileName="output.jpg"/>
    </read>
</msl>
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.