RE: [PEAR] Spreadsheet_Excel_Writer picture in header

From: Date: Tue, 20 Apr 2004 01:04:32 +0000
Subject: RE: [PEAR] Spreadsheet_Excel_Writer picture in header
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11958@lists.php.net to get a copy of this message
Hi! > Because images don't appear stretched any more. OK - that is pretty obvious :-) Over here - this image: http://www.daniu.de/php/images/zs_teilnehmerliste_ck.bmp produces this output: http://www.daniu.de/php/excel2.php Could you check that? Is the imagefile somehow wrong? If so - how could it be created correct? This is the script: require_once 'Spreadsheet/Excel/Writer.php'; $workbook = new Spreadsheet_Excel_Writer(); $workbook->send('test.xls'); $worksheet =& $workbook->addWorksheet('Teilnehmerliste'); $worksheet->insertBitmap(0,0,'images/zs_teilnehmerliste_ck.bmp'); // 835*33 $worksheet->setRow(0,48); $workbook->close(); I am using the newest CVS Spreadsheet - as far as I know ... thanks Daniel

« previous php.pear.general (#11958) next »