Check the install too for settings regarding PNG generation. Ries On Sep 24, 2009, at 7:47 AM, Bert Hiddink wrote:
> Hi Bernd, > > Thanks for your reply. > bernd wilke wrote: >> Am Thu, 24 Sep 2009 11:56:18 +0200 schrieb Bert Hiddink: >> >>> Hello! >>> >>> I have the following: >>> >>> ... >>> $iconConf = array( >>> 'file' => $imgpath.$image, >>> 'file.' => array( >>> 'width' => '36', >>> 'format' => 'png', >>> ), >>> ); >>> >>> $img= $this->cObj->IMG_RESOURCE($iconConf); ... >>> >>> However, this still gives me a resized .jpg instead of a .png. >>> >>> I know I can do that with the GIFBUILDER-object but could I not >>> just add >>> this param to the array $iconConf??? >>> >> >> what should be png? the included file or the result? > > The result > >> >> I think you set the format at the wrong level >> try it like this: >> >> $iconConf = array( >> 'file' => $imgpath.$image, >> 'file.' => array( >> 'width' => '36', >> ), >> 'format' => 'png', >> ); > > I tried that as well but this did not work either...any further ideas? > > Thanks! > > -brt > > > -- > Vriendelijke groeten, > Bert Hiddink > > --------------------- > BENDOO e-work solutions > Harterinkdijk 8 > 7065 AR SINDEREN > The Netherlands > Tel. 0315 244525 > http://www.bendoo.nl > hidd...@bendoo.nl > --------------------- > _______________________________________________ > TYPO3-english mailing list > TYPO3-english@lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english regards, Ries van Twisk ------------------------------------------------------------------------------------------------- tags: Freelance TYPO3 Glassfish JasperReports JasperETL Flex Blaze-DS WebORB PostgreSQL DB-Architect email: r...@vantwisk.nl web: http://www.rvantwisk.nl/ skype: callto://r.vantwisk Phone: +1-810-476-4196 Cell: +593 9901 7694 SIP: +1-747-690-5133 _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english