1<?php 2 3$conf[ 'output' ] = 'iframe'; 4$conf[ 'mw_format' ] = ''; 5$conf[ 'im_format' ] = ''; 6 7// check for optional extension methods: 8if( extension_loaded( 'magickwand' ) ) // MagickWand 9{ 10 $conf[ 'output' ] = 'magickwand'; 11 12 $conf[ 'mw_format' ] = 'PNG'; 13} 14 15if( extension_loaded( 'imagick' ) ) 16{ 17 $conf[ 'output' ] = 'imagick'; 18 19 $conf[ 'im_format' ] = 'PNG'; 20} 21 22?> 23