PHP-Imagemagick image display

后端 未结 7 824
猫巷女王i
猫巷女王i 2020-12-05 20:36

I have php code which create pdf thumbnail as follows;

setImageFormat(\"png         


        
7条回答
  •  一生所求
    2020-12-05 21:05

    you can try to display the image by this way:

    // start buffering
    ob_start();
    $thumbnail = $im->getImageBlob();
    $contents =  ob_get_contents();
    ob_end_clean();
    
    echo "";
    

提交回复
热议问题