<?php require_once "class.imagebmp.php"; $img = imagecreatefrompng("bild01frombmp.png"); header('Content-Type: image/bmp'); header('Content-Disposition: inline; filename=test.bmp'); imagebmp::imagebmp($img); imagedestroy($img); unset($img); ?>