[TYPO3-dev] Gifbuilder image quality problem

Christopher bedlamhotel at gmail.com
Fri Feb 24 20:19:46 CET 2006


On 2/24/06, Antonio Willybiro <keiser_soze at hotmail.com> wrote:
> I did all the settings from the wiki page.
> Can anyone help me with this menu:
> http://www.actuariacnam.org/index.php?id=24
>
> lib.menu_1.1.NO {
> allWrap= <div id="title"><span class="title-icon"><img
> src="fileadmin/actuariacnam/images/menu_title_icon.jpg"></span><span
> class="nv-menu-title"> | </span></div>
> XY = 80,30
> transparentBackground = 1
>   10 = TEXT
>   10.text.field = title
>   10.fontSize = 14px
>   10.niceText = 1
>   10.offset = 0,28
>   10.fontFile = fileadmin/fonts/tahoma.ttf
>   10.fontColor = #000000
>   10.shadow.offset = 1,1
>   10.shadow.blur = 10
>   10.shadow.opacity = 10
>   10.shadow.intensity = 100
> }
>
> I have [GFX][gdlib_png]=1
>
> I would like to get the background transparent or reduce the size of that
> blank box around the title 5if i cant get a transparent background)
>

What are you talking about? Those images--in the left column,
right?--HAVE transparent backgrounds. That's why you can see little
specks of the blue through them.

The problem is that you've specificed no background colour--if you
don't do this, your shadow effects get applied over a white
background. You need to specify a background colour whether or not the
background is supposed to be transparent.

Try one of:

a) using a blue from the background gradient as the background colour
b) using a slice of that background gradient as the background for
each menu item. This is--*ahem*--documented very nicely in the TS By
Example manual [1], [2]


-Christopher

[1] http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/current/view/7/6/
[2] http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/current/view/7/8/




More information about the TYPO3-dev mailing list