[Typo3] GIFBUILDER quality issue (jpg with rendered text on it)

"Rafael Schär [beYou media]" typo3 at goldkueste.ch
Tue Mar 15 17:06:37 CET 2005


Carlos Chiari wrote:
> Hi Rafael:
> 
> Assuming you have GD > 2.0 and PHP compiled accordingly, you still need to
> extend your typo3 installation, as typo3 don't use the imagecreatetruecolor
> function but just imagecreate.
> 
> The easiest way to do it, in my opinion, without messing the core code, is
> to extend the tslib_cObj class and modify its getImgResource function, using
> the 
> 
> $TYPO3_CONF_VARS["FE"]["XCLASS"]["tslib/class.tslib_content.php"] =
> PATH_typo3conf."class.ux_tslib_content.php";
> 
> method, allowing it to handle your own image rendering code.
> 
> Right now, this function has a SWITCH construct that allows default and
> GIFBUILDER. Put a third option to handle your own option, where you can then
> include your own php image rendering code with true colors handling.
> 
> This is the method I chose until the core code is upgraded to handle true
> colors.
> 
> Hope this helps, best regards,
> 
> 
> Carlos
> 
> 
> 
> 
> -----Mensaje original-----
> De: typo3-english-bounces at lists.netfielders.de
> [mailto:typo3-english-bounces at lists.netfielders.de] En nombre de "Rafael
> Schär [beYou media]"
> Enviado el: Lunes, 14 de Marzo de 2005 12:18 p.m.
> Para: typo3-english at lists.netfielders.de
> Asunto: [Typo3] GIFBUILDER quality issue (jpg with rendered text on it)
> 
> Hi folx
> 
> finally I'm asking again, because, I only found obselete answers 
> concerning this topic.
> 
> Fact:
> 
> JPG Images combined with Text results in a 256 color gif,... 
> back-converted to jpg, but this is not useful at all.
> What to do? Does anybody know, if this will be fixed? Or Is there 
> already a solution?
> 
> I tried it with:
> 
> typo3 version 3.7.0
> typo3 version 3.8.0-dev
> 
> both versions:
> imagemagick 4.2.9 and imagemagick 6.0.6
> 
> 
> Thanx a lot in advance for an answer
> 
> greetinx
> 
> 
> Rafael
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 
> 

thanx a lot, i'll take a look.

greetinx

Rafael



More information about the TYPO3-english mailing list