[Typo3] Problems with png

Daniel Doesburg danieldoesburg at hotmail.com
Wed Feb 23 03:35:36 CET 2005


Thanks a lot for your answer Bernhard,

But . . .

The output is:
Input: 'uploads/pics/AEXWEEKTRADER_01.PNG[0]'
Output: 'typo3temp/pics/39ddd2c3d8.png'
Params: '-geometry 600x299! -colors 64 '

What does this mean?

I've added the same picture twice on the page. Now with quality "Don't 
change"
http://aexcyclus.doesburg.biz/index.php?id=11
And it is shown very well. So the picture on itself is good, no grey, not 
transparent or b/w.
But I like it a little (much) smaller.

Some other options/ideas/hints?

Regards,

Daniel



"Kraft Bernhard" <kraftb at gmx.net> schreef in bericht 
news:mailman.1.1109090888.5928.typo3-english at lists.netfielders.de...
> Daniel Doesburg wrote:
>> Look at: http://aexcyclus.doesburg.biz/index.php?id=11
>
> The image shown here is converted to greyscale ... and is completly 
> transparent ...
>
> If you want to debug where the problem lies you could edit
> t3lib/class.t3lib_stdgraphic.php
>
> And modifiy the function "imageMagickExec" (line 2372)
> so that it looks like this:
>
>    function imageMagickExec($input,$output,$params)   {
>       echo "Input: '$input'<br>\n";
>       echo "Output: '$output'<br>\n";
>       echo "Params: '$params'<br><br>\n";
>       if (!$this->NO_IMAGE_MAGICK)  {
>          $cmd = $this->imageMagickPath.'convert '.$params.' 
> '.$this->wrapFileName($input).' '.$this->wrapFileName($output);
>          $this->IM_commands[] = Array ($output,$cmd);
>          return exec($cmd);
>       }
>    }
>
> Just add the 3 "echo" Statements at the beginning of the function ....
>
> Then clear your cache and delete the generated images (the one on page 11) 
> and visit
> page 11 again ...
>
> On the top of the page the debug output should show when the image was 
> converted to grayscale ...
>
> If you find a part "-gray" (-grey?) in on of the params string you know 
> where your image gets
> converted to grayscale ...
>
>
> Pherhaps the problem is that you uploaded your images as grayscale and 
> GDLib (or Typo3?)
> can't handle them properly ...
>
>
> greets,
> Bernhard
> -- 
> Kraft Bernhard
> MOKKA Medienagentur <http://www.mokka.at>
> T: +43 - 1 - 895 33 33 - 50 





More information about the TYPO3-english mailing list